fix(mutation-ci): skip harness on zero-anchor diffs - #168
Merged
Conversation
…ct the diff (#166) A docs-only PR (#167) selected 0/77 mutations but still fell through to mutation_check.main(), running the full baseline suite — pure waste, and on the hosted runner the baseline happens to be RED, so an unrelated environment failure was pinned on the PR. Apply the same explicit-skip principle the empty-CHANGED-list branch already uses to an empty SELECTION: nothing to judge means no harness run, rc=0. The runner baseline-RED itself is tracked separately. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013i2thbPR32hdh1y6cwzVF9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #167에서 실측된 advisory mutation-pr 노이즈 수정: 교차 앵커 0건인 diff(문서 전용 PR 등)가 하네스 baseline(전체 스위트)으로 떨어져, 러너 환경의 무관한 baseline-RED가 PR에 뒤집어씌워졌다. 빈 CHANGED 목록의 명시적 스킵 원칙을 빈 SELECTION에도 적용 — 판정 대상 0건이면 하네스 무실행 rc=0.
러너 baseline-RED 자체(주간 잡도 동일 러너에서 fail-closed로 걸릴 환경 불일치)는 별도 이슈로 추적.
검증: test_mutation_scope_select(신규 MainEmptySelectionTest — 하네스 main 호출 시 AssertionError 나는 스파이) + test_mutation_workflow green, 라이브 스모크 rc=0.
🤖 Generated with Claude Code
https://claude.ai/code/session_013i2thbPR32hdh1y6cwzVF9