2 Commits

Author SHA1 Message Date
HAL9000 9d5128c265 fix(cleanup): fix CI failures and address review feedback (#7527)
- Remove unused typing.Any import from dirs_cache.py (ruff lint)
- Collapse multiline expressions without trailing commas (ruff format)
- Rename ambiguous behave step "the result should be {True,False}" to
  "the dir membership result should be {True,False}" — resolves conflict
  with existing step @then('the result should be {expected}') in
  cli_steps.py that caused all 31 feature workers to crash on load
- Add self._sandbox_dirs_cache = None invalidation to
  CleanupService._purge_sandboxes() — the actual fix for issue #7527;
  without this, subsequent scan() calls return stale deleted paths
- Fix CONTRIBUTORS.md PR reference from #10989 to #11091

ISSUES CLOSED: #7527
2026-06-12 12:08:13 -04:00
HAL9000 9801d34cad fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527)
Adds SandboxDirsCache to track filesystem paths of sandbox-created directories indexed by plan_id. Cache is purged in cleanup_all(), cleanup_abandoned(), clear_sandbox_dirs_cache(), and the at-exit handler matching the existing clear_boundary_cache() invalidation.
2026-06-12 12:08:13 -04:00