Hello Vercel team,
I am reporting a reproducible deployment-target issue.
Expected behavior: A deployment created with --target=preview should be classified as Preview and should not receive the Production project alias.
Actual behavior: Vercel created a Production deployment even when the command explicitly specified --target=preview. The deployment was marked as Ready and received the Production project alias.
Environment:
- Team: vertex-learning
- Project: vertex-crm-preview-uat
- Project ID: prj_1qQxgjtPX3k4H7YSf73OFoNHUE5W
- Production Branch: main
- Working branch: preview/vercel-uat-run-004
- Approved commit: 2704097
Reproduction history:
Attempt 1:
- No --prod or explicit Production target was used.
- Deployment ID: dpl_ESG2GVWK5oz8zCkEpMjuaYyxvGtw
- Resolved target: production
Attempt 2:
- The command explicitly used --target=preview exactly once.
- Deployment ID: dpl_8V5JKYUSqXzZUcZsxnNoZL6TGuCJ
- Resolved target: production
- The Production project alias was assigned.
Both deployments were immediately removed. No deployment currently remains.
We verified:
- The Production Branch is main.
- The working branch was not configured as Production.
- Local project and team linkage were correct.
- The deployable source exactly matched commit 2704097.
- No --prod, --target=production, --prebuilt, deploy hook, Git-triggered duplicate, package-script override, or VERCEL_TARGET=production injection was present.
- Production environment variables were empty.
- The Neon integration was assigned to Preview only.
No application request, database connection, migration, seed, reset, configuration change, or secret disclosure occurred.
Could the Vercel team please investigate:
- Why was the explicit --target=preview request resolved as production?
- What requested target and resolved target were recorded server-side?
- Does this project have any hidden, legacy, or custom environment mapping?
- What corrective action will guarantee Preview classification without creating another Production deployment?
- Can you confirm whether any Production-scoped resources were executed?
We will not attempt another deployment until the cause and corrective action are confirmed.
Thank you.