Skip to content

fix(web): setup gate keys on Myra's live deployment, push tokens are per-attempt (CL-8424) - #862

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8424-gate-on-deployment
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8424-gate-on-deployment

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Stock mints a deployment's workflow principal only at its first run, so the principal-based "Myra live" check re-ran setup on every page load. The first-login gate and the converge now key on the tenant's deployments list anchored to the myra-deploy-source workflow asset.

Also: git push tokens get a unique name per attempt (active token names are unique per user, so concurrent attempts 500'd), and the installing effect reuses its in-flight converge under StrictMode so Myra is not deployed twice.

Tests pinning the principal-based check are deleted rather than adapted.

…per-attempt (CL-8424)

Stock mints a deployment's workflow principal only at its first run, so
a principal-based check re-ran setup on every load. The gate and the
converge now read the tenant's deployments list against the workflow
asset instead. Git push tokens get a unique name per attempt (active
names are unique per user), and the installing effect reuses its
in-flight converge under StrictMode so Myra is not deployed twice.
Tests that pinned the principal-based check are deleted.
@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8424

@TheGreatAxios
TheGreatAxios merged commit 7bdc0c8 into main Sep 18, 2026
3 of 4 checks passed
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