| name | deploy-checks |
| description | Validate staging deployments for the lantern project. Use when the user asks about deploy readiness, pre-flight checks, staging validation, or deployment checklists. |
Deploy Checks
Pre-deploy checklist
Before promoting a staging build to production, verify all of the following:
cargo test --all-features passes with zero failures.
cargo clippy --all-features -- -D warnings produces no diagnostics.
- The
CHANGELOG.md entry for the release version exists and is non-empty.
- Environment variable
LANTERN_ENV is set to staging on the staging host.
- The health endpoint (
GET /healthz) returns HTTP 200 within 5 seconds.
Rollback procedure
If any check fails after deploy:
- Revert to the previous container image tag.
- Run the health endpoint check again.
- File an incident in the
#lantern-ops Slack channel with the failing check name.
Staging-specific notes
- Staging uses the database
lantern_staging on host db-staging.internal.
- Secrets are loaded from AWS SSM parameter store under
/lantern/staging/.
- Rate limiting is disabled in staging to simplify load testing.