The stable release no longer skips a tested commit because a report-only workflow failed (#4865)

The daily stable release now ignores failures from workflows that are
documented as never blocking, starting with the weekly mutation report
that held back v1.104.2.0, and the mutation report runs again.

Why: stable releases should ship every fully tested commit, and today's
cut of 778934c0 was refused only because a report-only check failed on
it. Nothing to do after merge; the next daily run can cut v1.104.2.0.

Issue: GST-4095
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/outside-voice#3 reader=outside-voice
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-28 08:09:25 +00:00
1 parent b022764a36
commit 260a5054c3
9 files changed
+126 -11

No files matched your search

+15 -4
View File
@@ -23,8 +23,10 @@
* workflow produced itself (CUT_WORKFLOW: the jobs of a workflow run whose path
* is that file; a job's id is its check run's id) are set aside, running or
* finished: a cut lands its own job on main's head, the commit it may cut.
* Check runs from NEVER_GATING_WORKFLOWS (the nightly Windows free suite, which
* docs/support-tiers.md says never blocks) are set aside the same way.
* Check runs from NEVER_GATING_WORKFLOWS (workflows whose own header says they
* never block: the nightly Windows free suite, the weekly mutation report, the
* Trunk flaky-test upload, the marathon evals and the eval sweep) are set aside
* the same way.
* Matching by job, not check suite, keeps check runs other workflows create
* through the API, which GitHub files under any github-actions suite on the
* commit. When the workflow runs cannot be read, nothing is set aside.
@@ -84,8 +86,17 @@ export const REQUIRED_CHECK = 'free-tests';
export const BACKSTOP_CHECK = 'main-backstop';
export const NOTES_REF = 'refs/notes/gstack-trains';
export const CUT_WORKFLOW = '.github/workflows/weekly-release.yml';
/** Workflows documented as never gating (docs/support-tiers.md): their check runs are set aside like the cut's own, matched the same way. */
export const NEVER_GATING_WORKFLOWS: readonly string[] = ['.github/workflows/windows-free-tests.yml'];
/**
* Workflows documented as never gating, each in its own header: their check runs are set aside like the cut's own, matched the same way.
* crew/test/release-cut.test.ts checks every entry exists, never runs on pull requests or pushes, and says so in its header.
*/
export const NEVER_GATING_WORKFLOWS: readonly string[] = [
'.github/workflows/windows-free-tests.yml', // nightly Windows suite; minimal support never blocks (docs/support-tiers.md)
'.github/workflows/mutation-report.yml', // weekly report-only mutation trial; not a required check
'.github/workflows/trunk-flaky-tests.yml', // detection only: uploads Free Tests JUnit to Trunk, nothing reads its result
'.github/workflows/evals-marathon.yml', // non-blocking marathon lane; a red run reports through its own issue
'.github/workflows/eval-sweep.yml', // weekly diagnostic sweep: no verdict, no pass-rate history
];
const NOTES_LOCAL = 'refs/notes/gstack-trains-release';
const RED = new Set(['failure', 'timed_out', 'cancelled', 'action_required', 'startup_failure', 'stale']);
export const WINDOW_DAYS = 7;
+1 -1
View File
@@ -113,7 +113,7 @@ export function changeLine(text: string): string {
return lead.replace(/\*\*/g, '')
.replace(/\s*\((?!CVE-|GHSA-)[A-Z][A-Z0-9]*-\d+(?:(?:,\s*|\s+and\s+)(?!CVE-|GHSA-)[A-Z][A-Z0-9]*-\d+)*\)/g, '')
.replace(/\b([Oo])utside voice/g, (_, o: string) => (o === 'O' ? 'S' : 's') + 'econd-model review')
.replace(/\s+/g, ' ').replace(/\s+([.,;:!?])/g, '$1').trim();
.replace(/\s+/g, ' ').replace(/\s+([.,;:!?])/g, '$1').trim().replace(/[,;]+$/, '');
}
function prOf(subject: string): number | null {