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
Detector 1 of the #467 home-path guard enumerates tests/fixtures non-recursively, and its positive control cannot notice a missed subtree #480
Found by the v0.24.0 gate 3 round-2 release audit (strategy B, ranked misreports). Not blocking;
carried forward. This is a scope hole in the guard, not a live leak -- the tree is verified clean
(see below) and tests/fixtures/ has no subdirectories today.
tests/test_no_real_home_paths_467.py:191-192 enumerates with
which is non-recursive. Its positive control at :195-203 asserts len(files) >= 2; with 4 tracked
fixture files today, that assertion cannot detect a fixture arriving in a subdirectory, which would be
invisible to the path detector at any depth.
Detector 2 (the tree-wide git ls-files username scan) would still catch a username there -- but it
is skipped on CI by design (_username_check_should_run, :263-277). So on CI, a home path in tests/fixtures/<subdir>/ is unguarded by either detector.
That matters more than its own row suggests: the class this guard exists to detect is ships-local-state, which the ranking table marks blocking, and #467/#474 are two instances of it
already reaching a tag. A hole in a blocking-class guard is worth closing even when nothing is in it.
Verified clean at the time of the audit (d3bf69f): git grep -I -c "floriandavid" returns no
matches; git grep -n -E "/Users/|/home/" -- tests/fixtures/ returns only sanitized-user segments; pytest tests/test_no_real_home_paths_467.py -q -rs gives 8 passed, 0 skipped, including both positive
controls, so the detectors fired rather than matching nothing.
Fix:rglob("*") instead of iterdir(), plus a control that would actually notice a missed
subtree -- the current >= 2 cannot.
Activity
chore(release): 0.24.0
fix: #480 Detector 1 of the #467 home-path guard enumerated tests/fix…