test: drain the fixture-git-isolation grandfathered baseline - #3089
Conversation
Add the CREDIT-required unset (GIT_DIR, GIT_WORK_TREE, GIT_CONFIG) to the 33 remaining fixture-building suites and delete the empty baseline. Closes #2872 Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @kyle-sexton's task in 1m 42s —— View job Security review complete
No security issues found. This PR is a mechanical hardening change: it adds Notes:
|
Published-version reuse forbids editing shipped plugin files under an already-published number. Test-only isolation for #2872. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Last security-reviewed head: |
|
Claude finished @cursor[bot]'s task in 3m 7s —— View job Code review:
|
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
Refresh overlapping .github/workflows/ci.yml after #3089 landed. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Closes #2872
Summary
Drain the 33 remaining grandfathered fixture-building suites so every suite that builds a git fixture clears the inherited git environment, including
GIT_CONFIG. The baseline file is deleted because the gate treats a missing file as empty.Fix
Add the CREDIT-required clear near the top of each remaining suite:
That matches the current gate (
NREQis 3 after #3086). Suites that already source an isolating harness were not in this list.scripts/fixture-git-isolation-baseline.txtis deleted — the gate already allows a missing baseline (if [[ -f "$BASELINE" ]]). The CI job comment no longer claims grandfathered debt.Touched plugins take a patch bump (published-version reuse): actionlint 0.8.17, bash-format 0.7.19, biome-format 0.6.18, claude-config 0.38.9, claude-ops 0.35.3, code-tidying 0.13.2, desktop-notification 0.6.16, docs-hygiene 0.18.3, eol-normalizer 0.6.17, go-format 0.3.19, guardrails 0.29.6, markdown-format 0.11.25, mcp-tools 0.3.1, powershell-format 0.7.18, repo-fleet-hygiene 0.23.8, review 0.26.5, ruff-format 0.6.19, source-control 0.54.16, testing 0.7.3, typos-format 0.6.22, work-items 0.39.12.
No gate logic change.
Verification
From
/tmp/wt-2872oncursor/2872-fixture-baseline-drain-cfcf:scripts/check-fixture-git-isolation.sh --check—fixture git isolation: OK (87 isolated, 0 baselined)scripts/check-fixture-git-isolation.sh --list—87 isolated, 0 baselined, 0 violatingbash scripts/check-fixture-git-isolation.test.sh— ALL PASS (live corpus included)bash scripts/test-git-helpers.test.sh— passscripts/check-changelog-parity.sh --check/--check-order/--check-bump origin/main/--check-preserved origin/main— passorigin/mainin this environment (ruff-formatpath-relativity vs current Ruff output;claude-observabilitywhenCLAUDE_PROJECT_DIRpoints at another checkout). UnsettingCLAUDE_PROJECT_DIRmakes observability 33/33 on both this branch and main.Related
git -Cdoes not survive an exported GIT_DIR #2840 (the gate and the leak)GIT_CONFIG; this PR only drains)