Fixed Preview and Production Releases: Prove Which Version Is Actually Running
Suppose my research site has a stable preview hostname. I push two changes, open preview and sign in. Am I looking at the first successful build, the second candidate, or an older deployment still bound to the hostname? An accessible page is not acceptance.
Three independently checkable identities
| Identity | Evidence |
|---|---|
| Source | Full Git SHA and build inputs |
| Artifact or deployment | Immutable archive hash, image digest or platform deployment ID |
| Runtime environment | Actual database, identity issuer, background switches and hostname binding |
On a Linux host, staging and production can use one immutable artifact with separate environment bindings. Unpack candidates into new directories rather than overwriting the active path. Obtain digests from controlled CI, not merely a text file downloaded beside the archive.
A stable Vercel hostname is not a pinned commit
Vercel Environments documents separate configuration for Preview, Production and Custom Environments on supported plans. Select a fixed preview branch or configure a supported staging environment and hostname, keeping databases, identity and notification targets isolated.
In an authorized linked test project, start with read-only commands:
vercel list --status READY
# Replace with the actual authorized candidate deployment URL:
vercel inspect <deployment-url>Replace the placeholder with the actual candidate. Inspect target environment, source and deployment ID, then read back the fixed hostname binding. For manual builds, record a unique release identity and resolve its actual deployment rather than guessing by list order. Git write permission and Vercel Git integration access are separate.
Do not describe Preview testing as necessarily promoting identical bytes. Vercel deployment promotion distinguishes preview promotion, which can rebuild with production configuration, promotion of an already staged production build without rebuilding, and rollback of an existing production deployment. Choose the supported workflow and record actual artifacts and environments. Keep real customers and private data out of candidate testing.
Acceptance records must identify the running deployment
| Check | Evidence |
|---|---|
| Build | Full SHA, artifact digest or deployment ID |
| Environment | Database identity, required migrations, controlled configuration identity |
| Web | Actual hostname, authentication and report readback |
| Worker | Claim, result commit and schedule state in the same environment |
| External messages | Controlled test destinations and channel receipts |
Keep the last healthy deployment's compatibility conditions. Code rollback does not undo database migrations, external messages or model calls. Incompatible schema changes require a compatible migration, roll-forward or separate data recovery strategy.
This is a release design, not a claim of actual Vercel configuration changes or cloud deployment. See minimal deployment and recovery, database readiness, and the Open ETF Agent application roadmap.