Skip to content
Directory
GitHub Star
Evidence, tags & source code

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 ​

IdentityEvidence
SourceFull Git SHA and build inputs
Artifact or deploymentImmutable archive hash, image digest or platform deployment ID
Runtime environmentActual 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:

sh
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 ​

CheckEvidence
BuildFull SHA, artifact digest or deployment ID
EnvironmentDatabase identity, required migrations, controlled configuration identity
WebActual hostname, authentication and report readback
WorkerClaim, result commit and schedule state in the same environment
External messagesControlled 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.

Engineering notes, evidence and boundaries. · Contact: hpoenixf@foxmail.com · WeChat: hpoenixf0510