Skip to content

Add Feature/asynq worker#412

Closed
noxymon-mekari wants to merge 4 commits intoMelkeydev:mainfrom
noxymon-mekari:feature/asynq-worker
Closed

Add Feature/asynq worker#412
noxymon-mekari wants to merge 4 commits intoMelkeydev:mainfrom
noxymon-mekari:feature/asynq-worker

Conversation

@noxymon-mekari
Copy link

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Problem/Feature

This pull request introduces a new "Worker" feature to the project, allowing users to add background worker functionality using Asynq with Redis. The changes include updates to the feature flag system, the project creation process, and the addition of extensive tests for the new functionality.

Description of Changes:

  • Added a new Worker constant and included it in the AllowedAdvancedFeatures list in cmd/flags/advancedFeatures.go.
  • Updated the project creation logic to handle the "Worker" feature, including generating worker-related files (main.go, hello_world_task.go) and directories (cmd/worker, cmd/worker/tasks) in cmd/program/program.go.
  • Modified the environment file generation to include worker-specific environment variables when the "Worker" feature is enabled.
  • Added a new option for the "Worker" feature in the advanced step configuration in cmd/steps/steps.go.

Checklist

@noxymon-mekari noxymon-mekari closed this by deleting the head repository Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant