Skip to content

fix(build): avoid the duplicate preview when staging is promoted - #557

Merged
bashybaranaba merged 1 commit into
stagingfrom
fix/vercel-staging-preview
Oct 22, 2026
Merged

bashybaranaba merged 1 commit into
stagingfrom
fix/vercel-staging-preview

Conversation

@bashybaranaba

Copy link
Copy Markdown
Member

Opening the staging → main release PR created a second Agent Commons build for the same commit: one in the custom staging environment and another in ordinary Preview. The custom environment already owns staging.agentcommons.io.

Skip only ordinary Preview deployments of the staging branch for the verified Agent Commons Vercel project. Keep its custom staging environment, main/production, other apps, forks, and explicit build overrides working.

Validation: build-selection tests cover these environment boundaries. The preceding cost-policy PR passed CI and the full Desktop workflow, and all three staging apps built successfully on Basic machines. This follow-up changes only the Vercel build-selection script and its tests.

@bashybaranaba bashybaranaba mentioned this pull request Oct 22, 2026
@bashybaranaba
bashybaranaba merged commit 4bc1ffe into staging Oct 22, 2026
1 check passed
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