mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 19:34:29 +01:00
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:
1 parent
b022764a36
commit
260a5054c3
9 files changed
+126
-11
No files matched your search
@@ -185,7 +185,8 @@ if (import.meta.main) {
|
||||
const files = intArg(argv, '--files', 5), sinceDays = intArg(argv, '--since-days', 30);
|
||||
const budgetMs = intArg(argv, '--file-budget-min', 55) * 60_000, concurrency = intArg(argv, '--concurrency', 4);
|
||||
process.chdir(git(['rev-parse', '--show-toplevel']).trim());
|
||||
if (git(['status', '--porcelain', '--untracked-files=no']).trim()) fail('the checkout has uncommitted changes; use a clean disposable checkout');
|
||||
const dirty = git(['status', '--porcelain', '--untracked-files=no']).split('\n').filter(Boolean).map(l => l.slice(3));
|
||||
if (dirty.length) fail(`the checkout has uncommitted changes (${dirty.slice(0, 10).join(', ')}${dirty.length > 10 ? `, and ${dirty.length - 10} more` : ''}); use a clean disposable checkout`);
|
||||
const resolvedOut = path.resolve(outDir);
|
||||
const rel = path.relative(process.cwd(), resolvedOut);
|
||||
if (!path.isAbsolute(rel) && rel !== '..' && !rel.startsWith('..' + path.sep)) fail('--out-dir must be outside the checkout');
|
||||
|
||||
Reference in new issue
Block a user