Commit b5b7489
[ci-scan] Add Hard Rule 10 for early exit on no scannable build (#7654)
* ci-scan: add Hard Rule 10 for explicit early exit on no scannable build
95 consecutive ci-scan runs have skipped at Step 1 selection time
(stale build window >14d) while consuming 350-470K effective tokens on
the build-list fetch, instruction read, and reasoning. The 'and stop'
sentence in Step 1 was a prose instruction; Hard Rule 10 elevates the
no-scannable-build exit to the same level as the issue-cap and label
rules — an inviolable invariant.
When Step 1 determines no scannable build exists, the scanner must:
- append the outcome line to MachineLearning-CI.txt
- print | 0 | 0 | 0 | 1 | as the Step 7 tally (honest: 1 skipped)
- emit noop and stop immediately
- NOT fetch AzDO timeline, task logs, or Helix work items
Updates Step 1's trailing sentence to reference Hard Rule 10 directly.
Triggering signal: 14 prior ci-scan-feedback runs proposed this edit;
git push failed each time, producing misfiled fallback issues #7627,
#7630, #7636, #7637, #7639, #7640, #7641, #7642, #7643, #7644, #7645,
#7646, #7648, #7650.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address review: use documented coverage-line format and print full Step 7 table
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Trigger report-green pipeline
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 291283e commit b5b7489
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments