Skip to content

ci: Scale staging only for deploys and always rebuild on deploy - #87

Merged
howaskew merged 1 commit into
masterfrom
ci/scale-staging-for-deploy
Oct 19, 2026
Merged

howaskew merged 1 commit into
masterfrom
ci/scale-staging-for-deploy

Conversation

@howaskew

Copy link
Copy Markdown
Contributor

Staging is kept at zero dynos between deploys to save cost. Production auto-deploys from GitHub have been switched off in Heroku, so this workflow is again the only route to production (staging, smoke test, promote).

  • Scale staging to one dyno before deploying, and wait for it to respond before the Lost Pixel smoke test.
  • Scale staging back to zero in a final job that also runs when the deploy, smoke test or promotion fails.
  • Push an empty commit to Heroku (not GitHub) on each deploy. A dependency update via repository_dispatch leaves master unchanged, so pushing master alone did not rebuild, and promotion copied the old build to production.
  • Update actions/setup-node from v1 (Node 12 runtime) to v4.

Staging is kept at zero dynos between deploys to save cost. Production
auto-deploys from GitHub have been switched off in Heroku, so this
workflow is again the only route to production (staging, smoke test,
promote).

- Scale staging to one dyno before deploying, and wait for it to
  respond before the Lost Pixel smoke test.
- Scale staging back to zero in a final job that also runs when the
  deploy, smoke test or promotion fails.
- Push an empty commit to Heroku (not GitHub) on each deploy. A
  dependency update via repository_dispatch leaves master unchanged, so
  pushing master alone did not rebuild, and promotion copied the old
  build to production.
- Update actions/setup-node from v1 (Node 12 runtime) to v4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@openactive-bot
openactive-bot temporarily deployed to openactive-validator-pr-87 October 19, 2026 10:35 Inactive
@howaskew
howaskew requested a review from hkir-dev October 19, 2026 10:46
@howaskew
howaskew merged commit b305072 into master Oct 19, 2026
5 checks passed
@howaskew
howaskew deleted the ci/scale-staging-for-deploy branch October 19, 2026 14:02

This branch was previously deployed

1 inactive deployment
openactive-validator-pr-87 — e5defafb Deployed Oct 19, 2026 by openactive-bot
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.

3 participants