Skip to content

fix(cloud-connection): never present env_local/proj_local as cloud environment ids#1786

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/local-env-sentinel
Jun 12, 2026
Merged

fix(cloud-connection): never present env_local/proj_local as cloud environment ids#1786
xuyushun441-sys merged 1 commit into
mainfrom
fix/local-env-sentinel

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Found during the runtime-identity-binding E2E: objectstack dev exports OS_ENVIRONMENT_ID=env_local (a local-kernel identifier), which the cloud-connection plugin treated as a cloud environment id — the bind then 404s against a non-existent env, resurrecting exactly the phantom-environment confusion the ADR removes. Filter the two CLI sentinels in resolveEnvironmentId; such runtimes read as cleanly unbound and bind environment-less.

+1 test; 41/41 green.

🤖 Generated with Claude Code

…vironment ids

The CLI's dev/serve default OS_ENVIRONMENT_ID=env_local names the LOCAL
kernel, not a control-plane environment. Presenting it to the cloud 404s
the bind and resurrects the phantom-environment confusion that ADR
runtime-identity-binding removes. Filter the sentinels in
resolveEnvironmentId — such runtimes are simply unbound until the
device-code registration completes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 12, 2026 12:46pm

Request Review

@xuyushun441-sys
xuyushun441-sys merged commit 9b4e870 into main Jun 12, 2026
7 of 8 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the fix/local-env-sentinel branch June 12, 2026 12:46
@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants