You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): deploy the dashboard agent dormant, drop the reviewer gate, add a ref input
The agent deploys with --skip-promotion, so a deploy lands dormant and nothing
goes live until DASHBOARD_AGENT_VERSION is flipped. The per-environment reviewer
gate therefore bought nothing but a pile-up: every agent-path merge queued a
staging+prod deploy that sat pending on an approval nobody granted, and the runs
cancelled each other while the actual deploy only ever happened via a manual
dispatch + approval.
Remove the gate by dropping the required-reviewers rule on the dashboard-agent-*
environments (a repo-settings change; the environment: key stays so the scoped
deploy token still resolves), and add a workflow_dispatch ref input to deploy a
specific commit, branch, or tag when needed.
The ref must be an ancestor of main: the deploy token runs the checked-out build
and trigger.config.ts, so only reviewed, merged code may run with it. A push is
always main's tip; a dispatched ref is checked before deploy. Concurrency keeps
cancel-in-progress: false, because cancelling the runner wouldn't stop the remote
build and a superseding concurrent deploy would race the same project's indexer;
with the gate gone deploys are short, so queueing can't pile up.
0 commit comments