[TEC-432] Pin the Vercel project's Node version and document removing a protected prod resource #33
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.50) × (1 − Review Confidence (0.32)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 620 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 59% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.385
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #33"
general
weight: 0.35
coderabbitai[bot]
Summary
A new Vercel project now runs the Node version the toolkit declares, and the README gives the exact steps to remove a protected prod resource. Part of TEC-432.
What changed
VercelProject'ssharedproject now pins Node.project.nodeVersionis typedNodeVersion, which is'18.x' | '20.x' | '22.x' | '24.x': exactly the values@pulumiverse/vercel5.21.1 accepts. The default is24.x, the toolkit's own Node. Before this, the project set no Node version, so Vercel gave each new project its own default, which need not match the Node the product declares. It is a typed option, so products no longer need a transformation.1.
pulumi state unprotect2.
pulumi state delete3. Release the change.
4.
vercel env rm … --project <product>-web --scope <team id>. The command names the project, so it cannot act on whatever project the directory is linked to.Prod and shared children stay protected and retained.
24.xdefault reaches an existing project on its nextsharedup. It is an in-place update, and it takes effect with the next deployment._vercelTXT record Vercel may ask for is still a hand step after the firststagingorprodrelease that binds the domain.@pebbletech/infra.Moved out
_vercelTXT record: moved to its own card. Vercel stops listing the challenge once it has verified the hostname, and the provider's id for a domain is its hostname. Over three review rounds, each way of keeping a protected prod record stable hit a new edge case: verification, re-creation after a refresh, a new challenge on an unchanged domain, and a preview while the domain updates in place. That needs a design decision of its own, so this PR ships the hand step instead.sharedstack will create a placeholder production deployment, so products do nothing.What consumers see on upgrade
infra/srctype-check against this branch.shared's nextupsetsnodeVersion: 24.x. If Vercel already has 24.x, nothing changes. Otherwise it is an in-place update of the project, and running deployments keep their Node until the next deployment.pinNodeVersiontransformation, or keep it, since it sends the same value.Checks
CI=true DATABASE_URL=… pnpm verifyagainst a local PostgreSQL 18, withoutPGOPTIONS: 25 files, 515 passed, 4 skipped (config fidelity, which needsBASE_APP_DIR).- The three Node tests fail with assertions.
- Typecheck fails on the missing
NodeVersionexport and option, and on the unused@ts-expect-errorfor'26.x'and'24'.- The README steps are documentation, so no test observes them.
Related PRs
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Vercel projects now default to Node.js 24.x. You can choose Node.js 18.x, 20.x, 22.x, or 24.x instead.
Documentation
Added guidance for upgrading existing projects, verifying domains, and removing protected production resources.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->