Skip to content

fix(cd): remote_deploy.sh never deployed the worker - #340

Merged
Opselon merged 1 commit into
masterfrom
fix/deploy-worker
Nov 5, 2026
Merged

Opselon merged 1 commit into
masterfrom
fix/deploy-worker

Conversation

@Opselon

@Opselon Opselon commented Nov 5, 2026

Copy link
Copy Markdown
Owner

The deployment gap

Post-merge verification of #339 found the Go Worker running a pre-#339 build (91da93c) while the other four services were at the merge tip (bbb4bbf).

Root cause: scripts/remote_deploy.sh — the CD runner — had the service list redis logger core api web in all four steps (pull, teardown, up, health-verify). The worker was in none of them, so every CD run since the worker joined the stack reported full success while silently leaving whatever worker container was already running (or a locally-built one) in place. The health-verify step could not even detect it: the worker was outside its service list.

Fix

The worker is added to all four lists. It already has an image: mapping in docker-compose.ghcr.yml and publishes on every Publish run, so CD now pulls, restarts, and health-verifies it exactly like the other services.

Note

This is what caused the stale worker in the #339 post-merge verification; without it, #339's worker-side fixes (reconciler, extension staging, media-rejection fallback) would have stayed undeployed indefinitely while CI and the deploy pipeline read green.

The pull / teardown / up / health-verify service lists all read
'redis logger core api web' — the Go Worker was in none of them, so every
CD run since the worker joined the stack reported full success while
silently leaving the previously-running worker container (or a locally
built one) in place. That is how the worker drifted to a pre-#339 build
while the other four services were at the merge tip.

The worker is added to all four lists. It has an image: mapping in
docker-compose.ghcr.yml and publishes on every Publish run, so CD now
pulls, restarts, and health-verifies it exactly like the other services.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T20:29:23.572238Z
We couldn’t complete this review. Comment @codex review to try again.
8249940 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Opselon
Opselon merged commit fcc0dc1 into master Nov 5, 2026
16 checks passed
@Opselon
Opselon deleted the fix/deploy-worker branch November 5, 2026 20:42
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