Skip to content

feat: enhanced permissions — error codes, plan mode & enhanced deploy response#350

Draft
victorseara wants to merge 3 commits intomainfrom
feature/enhanced-permissions
Draft

feat: enhanced permissions — error codes, plan mode & enhanced deploy response#350
victorseara wants to merge 3 commits intomainfrom
feature/enhanced-permissions

Conversation

@victorseara
Copy link

Changes

G-09: Error Codes — 5 new codes (ERR_PERMISSION_DENIED_ENVIRONMENT, _TAG, ERR_APPROVAL_REQUIRED, _REJECTED, ERR_DEPLOYMENT_PLAN_ONLY). Enhanced 403 handling in http-request.ts with structured body parsing.

G-10: Plan ModeZE_PLAN=true / dryRun option calls POST /v2/deploy/plan instead of deploying. Formatted terminal display via display-plan.ts.

G-11: Enhanced Deploy Responsebuild_finished() now displays impacted tags and environments. DeploymentInfo type extended. All plugin libs updated (webpack, vite, rspack, rolldown, metro, astro, rollup).

Review focus

  • Error code format (ZE category system) and backward compat with generic 403
  • Plan mode: no side effects guarantee (no uploads, no edge URL changes)
  • Plugin lib consistency (all 7 plugins updated identically)

Build: Pass (19 projects). Tests: 118/118 pass.

🤖 Generated with Claude Code

victorseara and others added 3 commits February 8, 2026 09:50
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>
@cla-assistant
Copy link

cla-assistant bot commented Feb 8, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@cla-assistant
Copy link

cla-assistant bot commented Feb 8, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nx-cloud
Copy link

nx-cloud bot commented Feb 8, 2026

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit aa92255

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

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