Auto-start monica_site dj-queue worker on adama #18

Merged
westfarn merged 1 commits from issue-17-monica-dj-queue-worker into master 2026-08-08 12:01:19 -07:00
Owner

Summary

  • Closes #17.
  • Django deploy passes optional host_apps.compose_profiles as COMPOSE_PROFILES so compose profiles survive up -d --remove-orphans.
  • Adama monica_site beta+prod set compose_profiles: [worker] (dj-queue singleton). Roslin / ai-server-4080 stay web-only.

Why

Real campaign sends enqueue dj-queue tasks; without the worker they stay Queued. Test email worked because it is synchronous SMTP.

Test plan

  • Merge + deploy monica_site beta (and/or prod) via deploy.sh
  • On adama, confirm worker container up for monica_site_beta / monica_site_prod
  • On roslin / ai-server-4080, confirm no worker
  • Portal: send campaign → recipient leaves Queued → Sent
## Summary - Closes [#17](https://git.aimloperations.com/ai_ml_operations/server-infra/issues/17). - Django deploy passes optional `host_apps.compose_profiles` as `COMPOSE_PROFILES` so compose profiles survive `up -d --remove-orphans`. - Adama `monica_site` beta+prod set `compose_profiles: [worker]` (dj-queue singleton). Roslin / ai-server-4080 stay web-only. ## Why Real campaign sends enqueue dj-queue tasks; without the worker they stay **Queued**. Test email worked because it is synchronous SMTP. ## Test plan - [ ] Merge + deploy `monica_site` beta (and/or prod) via `deploy.sh` - [ ] On **adama**, confirm worker container up for `monica_site_beta` / `monica_site_prod` - [ ] On roslin / ai-server-4080, confirm **no** worker - [ ] Portal: send campaign → recipient leaves Queued → Sent
westfarn added 1 commit 2026-08-08 11:59:30 -07:00
Auto-start monica_site dj-queue worker on adama deploy.
Sync runner checkout / sync (pull_request) Successful in 6s
9a0cbf80d9
Campaign sends stay Queued without the worker; wire compose_profiles into
django deploy so adama brings up the singleton with web (closes #17).
westfarn merged commit b07e8cb4c3 into master 2026-08-08 12:01:19 -07:00
westfarn deleted branch issue-17-monica-dj-queue-worker 2026-08-08 12:01:19 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/server-infra#18