Skip to content

fix: dispatch dev/master deploys to split sysblokbot-testing/prod services#465

Merged
alexeyqu merged 1 commit into
devfrom
fix/split-sysblokbot-deploy-services
Jul 17, 2026
Merged

fix: dispatch dev/master deploys to split sysblokbot-testing/prod services#465
alexeyqu merged 1 commit into
devfrom
fix/split-sysblokbot-deploy-services

Conversation

@alexeyqu

Copy link
Copy Markdown
Collaborator

Summary

  • publish_dev.yml and publish_master.yml both dispatched {"service": "sysblokbot"} to sysblok-infra regardless of branch, and that repo's deploy.yml force-recreates every container in the sysblokbot Compose project on every deploy — so a dev-only push (testing image only) was restarting the live prod bot too.
  • publish_dev.yml now dispatches service: sysblokbot-testing; publish_master.yml now dispatches service: sysblokbot-prod, matching the split done in sysblok/sysblok-infra#32.

⚠️ Do not merge yet

Depends on sysblok/sysblok-infra#32, which itself needs a one-time manual data migration on the Hetzner host before it's deployed. Merging this first would make the next dev/master push dispatch to a service directory that doesn't exist yet on the infra side. Merge only after that PR is merged, the host migration is done, and both bots are confirmed healthy at their new /srv/sysblokbot-prod / /srv/sysblokbot-testing paths.

Test plan

  • sysblok-infra PR dev to master deploy test #32 merged and host migration completed
  • Push a trivial commit to dev after merging, confirm only sysblokbot-testing restarts (check container uptime/logs), sysblokbot-prod unaffected

🤖 Generated with Claude Code

…vices

sysblok-infra now treats sysblokbot-prod and sysblokbot-testing as
independent deploy targets (separate Compose projects) instead of one
shared project that got force-recreated on every deploy, restarting
prod on dev-only pushes. Point each workflow's repository_dispatch at
its own service name to match.

Do not merge until the sysblok-infra side (branch
fix/split-sysblokbot-deploy-services there) is deployed and the
one-time data migration to the new /srv/sysblokbot-prod and
/srv/sysblokbot-testing paths is done -- merging first would dispatch
deploys to service directories that don't exist yet on the host.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@alexeyqu
alexeyqu merged commit fb2392a into dev Jul 17, 2026
1 of 2 checks passed
@alexeyqu
alexeyqu deleted the fix/split-sysblokbot-deploy-services branch July 17, 2026 13:20
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