Repository navigation
Commit 641349a
ci: dispatch-only post-runner capability canary (fleet-post-capability.yml) (#520)
* ci: add dispatch-only post-runner capability canary (fleet-post-capability.yml)
New post VMs (pf-gcp-post-4/5/6) must pass this canary before laneboss
promotes them into the pf-gcp-post pool. workflow_dispatch only (no push,
pull_request or schedule trigger), permissions: {}, runs only on the
holding label pf-gcp-vm-<vm>; it builds nothing and runs no engine suite.
File installed verbatim from laneboss evidence (sha256 2e0e3e6b6497bc9f...).
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* ci: run the post canary on the pf-gcp-post label (holding runner group)
The engine preflight pins every post-reachable job to
[self-hosted, pf-gcp-post]. The new VMs keep that label but sit in the
holding runner group pf-gcp-post-hold, whose restricted_to_workflows is
exactly this file on main, so real post jobs cannot reach them before the
canary passes (laneboss read-back + idle-under-queue proof). The file's
hostname and runner-name guards still pin the run to the chosen VM.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* ci: spell the canary runs-on exactly as the preflight pin compares it
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* tests: teach test_ci_preflight.py about the dispatch-only post-fleet canary workflow (#520)
fleet-post-capability.yml adds a 19th GCP-routed workflow job. The full
preflight (not the PR-CI preflight stage) failed in
test_gcp_sites_reject_cross_class_routes: len(sites) 19 != 18, and the exact
(workflow, job) pair comparison was stale by the same job.
The canary is recorded in its own DISPATCH_ONLY_CANARY_JOB_IDS, not in
FLEET_JOB_IDS: that table also drives test_gcp_sites_require_every_routed_job
(a deleted job must yield "is missing job X"), a finding scripts/ci_preflight.py
only produces for workflows with a pinned-job entry, which the canary
deliberately does not have. The count becomes 19 and the pair comparison stays
exact (FLEET minus LIGHT plus the canary pair).
New test_gcp_sites_pin_canary_to_the_dispatch_fleet (green on the base by
design, a preservation control): the canary's sites are exactly
[('capability', 'post')], the finding text is the post rule's, and routing the
job to the PR fleet yields that finding.
Known gap: no control fails if the canary's job is deleted (the checker has no
required-job entry for it).
Not run on the author's machine; the lab preflight run is the evidence.
---------
Co-authored-by: CORE-TOP <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: ci-cx <ci-cx@invalid>1 parent 2446e86 commit 641349a
2 files changed
Lines changed: 198 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
3381 | 3387 | | |
3382 | 3388 | | |
3383 | 3389 | | |
3384 | | - | |
| 3390 | + | |
3385 | 3391 | | |
3386 | 3392 | | |
3387 | | - | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
3388 | 3396 | | |
3389 | 3397 | | |
3390 | 3398 | | |
| |||
3401 | 3409 | | |
3402 | 3410 | | |
3403 | 3411 | | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
3404 | 3422 | | |
3405 | 3423 | | |
3406 | 3424 | | |
| |||
0 commit comments