feat: enhanced permissions — error codes, plan mode & enhanced deploy response#350
feat: enhanced permissions — error codes, plan mode & enhanced deploy response#350victorseara wants to merge 3 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add plan mode (ZE_PLAN=true) that intercepts upload_assets early, displays a structured deploy plan, and returns without uploading. Includes new API route constants (deploy_plan, deploy_pre_check), DeployPlanResult type, and displayPlan console output function. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ents display Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
1 similar comment
|
|
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx affected -t build --skipRemoteCache |
❌ Failed | 1m 7s | View ↗ |
nx affected -t test |
✅ Succeeded | 2m 1s | View ↗ |
nx affected --exclude=!libs/** -t build --skipR... |
✅ Succeeded | 19s | View ↗ |
nx affected -t lint |
✅ Succeeded | 8s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-02-08 18:28:45 UTC

Changes
G-09: Error Codes — 5 new codes (
ERR_PERMISSION_DENIED_ENVIRONMENT,_TAG,ERR_APPROVAL_REQUIRED,_REJECTED,ERR_DEPLOYMENT_PLAN_ONLY). Enhanced 403 handling inhttp-request.tswith structured body parsing.G-10: Plan Mode —
ZE_PLAN=true/dryRunoption callsPOST /v2/deploy/planinstead of deploying. Formatted terminal display viadisplay-plan.ts.G-11: Enhanced Deploy Response —
build_finished()now displays impacted tags and environments.DeploymentInfotype extended. All plugin libs updated (webpack, vite, rspack, rolldown, metro, astro, rollup).Review focus
Build: Pass (19 projects). Tests: 118/118 pass.
🤖 Generated with Claude Code