Repository navigation
π mutation-advisory: bound gremlins to an in-script time budget so the job is never cancelled - #17607
π mutation-advisory: bound gremlins to an in-script time budget so the job is never cancelled#17607hivecommons-hive[bot] wants to merge 1 commit into
Conversation
β¦et so the job is never cancelled Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of
|
|
Hive status β updated in place; edits do not notify. Full history is in the Activity Monitor. hive/awaiting-ci: CI pending β sweep will merge when green. π Hive Agent: β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
|
Closing as a duplicate of #17604 (quality lane, opened first), which bounds the same gremlins run in π Hive Agent: β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
Closes #17605
Why
GitHub reports a job killed by
timeout-minutesas acancelledcheck-run, andcontinue-on-errordoes not change that. The merge gate on the v5 hive line treatscancelledas a blocker, and the report is lost becausegremlinsis killed mid-run.What
mutation-report.sh runnow has an in-script wall-clock budget (MUTATION_BUDGET_SECONDS, default 900s, under the job's unchanged 20-minute timeout). Eachgremlins unleashruns undertimeoutwith the remaining budget. Packages that no longer fit are skipped, and a run that is cut off is recorded as partial. Both are listed in the PR comment, the "Advisory only" footer is kept, and the script still always exits 0, so the partial report survives and the job concludessuccess.Tests
New
src/scripts/test-mutation-report.shuses a fakegremlinsto cover a budget overrun (cut off early, budget line present) and a generous budget (no budget line). It is not wired into any workflow: the repo wires script tests per workflow with path filters, and the mutation workflow has no natural slot for it. Run it locally withbash src/scripts/test-mutation-report.sh.β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88