Repository navigation
Commit e65e60e
committed
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.1 parent a302f65 commit e65e60e
1 file changed
Lines changed: 42 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | 20 | | |
11 | 21 | | |
| |||
14 | 24 | | |
15 | 25 | | |
16 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
17 | 32 | | |
18 | 33 | | |
19 | 34 | | |
| |||
27 | 42 | | |
28 | 43 | | |
29 | 44 | | |
30 | | - | |
| 45 | + | |
| 46 | + | |
31 | 47 | | |
32 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
33 | 54 | | |
34 | 55 | | |
35 | 56 | | |
| |||
41 | 62 | | |
42 | 63 | | |
43 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
44 | 70 | | |
45 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
46 | 84 | | |
47 | 85 | | |
48 | 86 | | |
| |||
0 commit comments