feat: add worker_beat container for Celery Beat scheduling#107
Open
WinterYukky wants to merge 2 commits intoaws-samples:mainfrom
Open
feat: add worker_beat container for Celery Beat scheduling#107WinterYukky wants to merge 2 commits intoaws-samples:mainfrom
WinterYukky wants to merge 2 commits intoaws-samples:mainfrom
Conversation
Add a WorkerBeat sidecar container to the Fargate task definition to support Dify's Schedule Trigger feature (added in v1.13.0) and plugin auto-upgrade functionality. The worker_beat container runs Celery Beat (MODE=beat) which schedules periodic tasks such as schedule_poller, schedule_executor, and triggered_workflow_dispatcher queues that are consumed by the worker. Changes: - Add 'worker_beat' to DifyContainerTypes for additionalEnvironmentVariables support - Add WorkerBeat container with DB and Redis connectivity - Update snapshot tests Closes aws-samples#86
aa32467 to
b1ebfe5
Compare
Contributor
|
コントリビューションありがとうございます。 Dify の Dockerイメージに v1.13.0 が必要になるので、以下の順序を考えております。
|
Contributor
|
main ブランチを Dify v1.13.0, Daemon v0.5.3-local にあげました。 -- I've updated the main branch to Dify v1.13.0 and Daemon v0.5.3-local. |
… resolve package-lock.json conflict
Contributor
Author
|
Thank you for your review! @yhiroaky |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #86, if available:
Closes #86
Description of changes:
Summary
Adds a
WorkerBeatcontainer (Celery Beat) to the ECS task definition, enabling the Schedule Trigger feature (Dify v1.13.0+) and plugin auto-upgrade.Closes #86
Changes
lib/constructs/dify-services/api.ts: AddedWorkerBeatcontainer withMODE: beatlib/environment-props.ts: Addedworker_beattoDifyContainerTypesVerified
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.