Repository navigation
Show deploys as they run: live statuses on commits and a summary on each run - #414
Merged
Merged
Conversation
…ach run A branch deploy now shows Deploying, then Deployed or failed, in the pull request's checks, linking the run and then staging. Merged commits get deploy/staging and deploy/production statuses the same way. Each deploy writes its release, previous release, migrations, host setup and startup time to the run page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018r2AXjCexMfNqKFCgC53LU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018r2AXjCexMfNqKFCgC53LU
Contributor
Author
|
Tested on staging. Pushed this branch to The first try (run 38422640405) deployed fine but failed the job: the summary script isn't on |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Deploys were only visible in the Actions log and GitHub's Deployments list. Pull requests now show a deploy as it runs, the way hosting previews do.
deploy-staging): the PR'sstagingcheck shows Deploying to staging… with a link to the run, then Deployed with a link to staging, or failed with a link to the log. A smallresolvejob finds the commit first. The jobs that post statuses run none of the branch's code, as before.deploy): the merged commit getsdeploy/staginganddeploy/productionstatuses, each going deploying → deployed / failed. A paused production deploy (PROD_AUTO_DEPLOY=false) shows as an error status, "Paused because PROD_AUTO_DEPLOY is false". Production only reports once its guard has passed..github/scripts/deploy-summary.sh).activate_release.shnow prints how long startup took after the restart began.Verification
actionlintpasses ondeploy.yml,deploy-staging.ymlandstaging-check.yml.Tested on staging
Pushed this branch to
staging; that run uses this branch'sdeploy-staging.yml, so it shows the new statuses on this PR. The run's result is posted on this PR. Thedeploy.ymlchanges take effect on the first merge after this one.🤖 Generated with Claude Code
https://claude.ai/code/session_018r2AXjCexMfNqKFCgC53LU