Skip to content

Add post-deploy smoke tests with automatic rollback - #61

Draft
dddictionary wants to merge 1 commit into
deploy-extract-deploy-logic-into-shell-scriptfrom
deploy-add-smoke-tests-and-auto-rollback
Draft

Add post-deploy smoke tests with automatic rollback#61
dddictionary wants to merge 1 commit into
deploy-extract-deploy-logic-into-shell-scriptfrom
deploy-add-smoke-tests-and-auto-rollback

Conversation

@dddictionary

Copy link
Copy Markdown
Owner

After deploying, the deploy script now runs smoke-test.sh which
hits all critical routes on the live site. If any check fails,
it automatically rolls back to the previous commit SHA and
redeploys the old version.

Smoke tests cover all page routes, the timeline API, and the
metrics endpoint. Includes retry logic to wait for the app to
become reachable after deploy.

After deploying, the deploy script now runs smoke-test.sh which
hits all critical routes on the live site. If any check fails,
it automatically rolls back to the previous commit SHA and
redeploys the old version.

Smoke tests cover all page routes, the timeline API, and the
metrics endpoint. Includes retry logic to wait for the app to
become reachable after deploy.

Copy link
Copy Markdown
Owner Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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