You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_the_per_tool_call_path_is_not_touched silently self-skips on every pull_request run, so the byte-pin guard has never run during review #442
Found by lane 440 and independently by its audit spawn, both confirmed against real CI job logs. Not fixed there: closing it needs a CI checkout decision, not a test change.
Symptom
tests/test_case_divergence_298.py::test_the_per_tool_call_path_is_not_touched prints origin/main not available (tests/test_case_divergence_298.py:684) and skips on every pull_request-triggered run. It executes only on push runs against main.
So the guard that exists to catch an unsanctioned change to the per-tool-call path has never once run while a change was reviewable. It runs after the merge, when the only remedy left is another pull request.
Location
tests/test_case_divergence_298.py:684, the origin/main not available self-skip, and whatever fetch-depth / ref configuration .github/workflows/tests.yml gives actions/checkout.
Mechanism
actions/checkout fetches differently for push and pull_request events. On a pull request it checks out a merge ref without an origin/main branch ref, so the guard cannot resolve its comparison base and skips itself rather than failing.
The skip is honest in isolation -- it says it could not compare. The defect is what that produces in aggregate: a green pull request whose most consequential guard was never exercised, indistinguishable from one where it passed.
Observed, not reasoned -- two instances read directly from job logs:
push run #33230677556 on 6a5f5ca: the guard actually executed, and failed
That asymmetry is exactly how #429's sanctioned-divergence allowance (PR #436) reached main and turned it red: the guard that would have caught it was skipping in the only place it could still have been caught cheaply.
What would settle it
Either give the workflow enough history for origin/main to resolve on pull_request runs -- a fetch-depth change, or an explicit git fetch origin main step -- or make the unavailable-base case fail rather than skip, so a guard that cannot do its job says so loudly.
The second is closer to this repository's own convention (a check that cannot run must not render as one that passed), but it will break every pull request until the first is done, so the order matters: fetch first, then tighten.
Worth checking at the same time whether any other guard in the suite resolves origin/main and shares this exposure -- a grep for the ref name across tests/ answers it.
Activity
fix: origin/main is now fetched on pull_request runs, and the #442 gu…
fix: #467's username guard skips on CI instead of chasing runner acco…
Re-sanitise leaked home path in Codex fixture; fix Codex manifest ver…