Skip to content

Make send report message from discord a celery task.#3089

Merged
andreaskoepf merged 10 commits into
LAION-AI:mainfrom
espoirMur:espoir-playground
Jun 14, 2023
Merged

Make send report message from discord a celery task.#3089
andreaskoepf merged 10 commits into
LAION-AI:mainfrom
espoirMur:espoir-playground

Conversation

@espoirMur

Copy link
Copy Markdown
Contributor

Fixes #2992

@espoirMur
espoirMur marked this pull request as draft May 8, 2023 13:50
@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@espoirMur

Copy link
Copy Markdown
Contributor Author

I have done most of what was required for the ticket.. the next step will be how to test if this is working.

If anyone has idea on how to test this, please do let me know.. @olliestanley

@olliestanley

Copy link
Copy Markdown
Collaborator

I have done most of what was required for the ticket.. the next step will be how to test if this is working.

If anyone has idea on how to test this, please do let me know.. @olliestanley

If you run docker compose --profile ci up --build --attach-dependencies it will run the backend and website locally including the changes you have made. You can use this for testing. Alternatively you could run the services separately

@espoirMur
espoirMur marked this pull request as ready for review May 8, 2023 18:05
@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

Comment thread .python-version Outdated
Comment thread README.md Outdated
Comment thread backend/oasst_backend/prompt_repository.py Outdated
Comment thread backend/oasst_backend/scheduled_tasks.py Outdated
Comment thread backend/requirements.txt
Comment thread backend/requirements_worker.txt
Comment thread docker-compose.yaml
dockerfile: docker/Dockerfile.backend-worker
context: .
command: celery -A oasst_backend.celery_worker worker -l info
command: celery -A oasst_backend.celery_worker worker -l info -E

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the -E flag for here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -E flag hel to list all the task in the worker

Comment thread backend/oasst_backend/prompt_repository.py
Comment thread backend/.env.example
@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@andreaskoepf

Copy link
Copy Markdown
Collaborator

@espoirMur could you resolve the conflicts please?

@andreaskoepf andreaskoepf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, also for cleanup of readme! :-)

@andreaskoepf
andreaskoepf merged commit 5e51e7b into LAION-AI:main Jun 14, 2023
@espoirMur
espoirMur deleted the espoir-playground branch June 15, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate flagged message Discord notifications to Celery task

3 participants