Skip to content

πŸ› mutation-advisory: bound gremlins to an in-script time budget so the job is never cancelled - #17607

Closed
hivecommons-hive[bot] wants to merge 1 commit into
v6from
scanner/fix-17605
Closed

hivecommons-hive[bot] wants to merge 1 commit into
v6from
scanner/fix-17605

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Closes #17605

Why

GitHub reports a job killed by timeout-minutes as a cancelled check-run, and continue-on-error does not change that. The merge gate on the v5 hive line treats cancelled as a blocker, and the report is lost because gremlins is killed mid-run.

What

mutation-report.sh run now has an in-script wall-clock budget (MUTATION_BUDGET_SECONDS, default 900s, under the job's unchanged 20-minute timeout). Each gremlins unleash runs under timeout with 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 concludes success.

Tests

New src/scripts/test-mutation-report.sh uses a fake gremlins to 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 with bash src/scripts/test-mutation-report.sh.

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

…et so the job is never cancelled

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nicholasjackson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v6

Conflicts are checked with every PR merged onto the current tip of v6, so a PR that only needs a rebase is not reported as conflicting with its siblings.

PR Title Relation Files
#17604 🌱 ci: mutation report keeps its own time budget and says when it is partial CONFLICT src/scripts/mutation-report.sh (conflict)
src/scripts/test-mutation-report.sh (conflict)

@github-actions github-actions Bot added the conflicts-with-open-pr Open PR has a merge conflict with another open PR label Nov 10, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

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: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot closed this Nov 10, 2026
@hivecommons-hive
hivecommons-hive Bot deleted the scanner/fix-17605 branch November 10, 2026 23:09
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Closing as a duplicate of #17604 (quality lane, opened first), which bounds the same gremlins run in src/scripts/mutation-report.sh and adds the same test. Tracking issue: #17605.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR conflicts-with-open-pr Open PR has a merge conflict with another open PR copilot dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) size/L Denotes a PR that changes 100-499 lines, ignoring generated files. stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scanner] πŸ› mutation-advisory: job exceeds timeout-minutes and is reported cancelled, losing the report and blocking the merge gate

0 participants