From merge to money
Shipping code to a default branch is not the same as shipping value to customers. Static hosts, serverless functions, and container registries each impose environment contracts: variables must exist at build time or runtime, regions must match data residency expectations, and preview deployments must not accidentally become canonical URLs for payments.
Failure classes observed in practice
Secret and configuration gaps cause builds or runtime handlers to fail when variables referenced in code are absent in the hosting dashboard. Workflow selection errors occur when the branch that agents push does not match the branch configured to deploy production. Test brittleness blocks merges when end-to-end tests depend on timing or third-party sandboxes. Artifact skew appears when the repository state does not match what the CDN serves because a deploy step was skipped or cached.
Why agents amplify the risk
Agents can touch many files quickly, increasing the chance that a configuration file drifts from infrastructure reality. Without a checklist that ties repository settings to hosting settings, reviews focus on code style while the pipeline remains red or deploys a broken bundle.
Mitigations
Treat the pipeline as part of the product: document required variables, add smoke checks post-deploy, and ensure rollback paths exist. Separate merge criteria from release criteria so teams do not confuse GitHub green with business readiness.
Disclaimer
Examples are generalized from common DevOps practice. Specific platforms differ in how secrets and previews behave; always consult current vendor documentation for the environments you use.