Skip to content

Run release mutation testing before local pushes - #68

Open
EllAchE wants to merge 1 commit into
mainfrom
local-mutation-pre-push
Open

EllAchE wants to merge 1 commit into
mainfrom
local-mutation-pre-push

Conversation

@EllAchE

@EllAchE EllAchE commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Why

A weak test for release signature checks can let an update verification regression slip through. Running the mutation report before a push gives CLI contributors a chance to see which faults the tests missed.

Summary

  • Run the release package mutation report from a local Git pre-push hook. The README shows the one-time setup for each clone.
  • Print a warning and continue the push if the report cannot run. GitHub Actions keeps its existing test jobs.

Risks and tradeoffs

Each push from an enabled clone takes longer. The release report took 6.8 seconds in the local push test.

Test plan

  • Pushed to a temporary local Git remote from a subdirectory and saw the report. Gremlins killed 41 mutations, 2 survived, and 4 were uncovered.
  • Simulated a Gremlins error and confirmed the warning printed and the push reached the remote.
  • Ran go build ./..., go test ./..., go vet ./..., syntax checks, and ShellCheck on the hook.
  • Confirmed the diff contains no GitHub Actions changes.

Use a tracked pre-push hook to report missed release-package mutations.
Warn and continue if the report cannot run.
@EllAchE EllAchE added codex PR primarily authored by Codex merge:independent No known unmerged PR prerequisite. Checks, reviews, rollout approvals and holds still apply. labels Nov 23, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T08:52:55.714557Z cf14db5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex PR primarily authored by Codex merge:independent No known unmerged PR prerequisite. Checks, reviews, rollout approvals and holds still apply.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant