fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527) #8257

Merged
HAL9000 merged 3 commits from fix/cleanup-service-sandbox-cache-invalidation into master 2026-06-13 14:29:30 +00:00

3 Commits

Author SHA1 Message Date
controller-ci-rerun e764166c9a chore: re-trigger CI [controller]
CI / push-validation (pull_request) Successful in 29s
CI / build (pull_request) Successful in 53s
CI / helm (pull_request) Successful in 56s
CI / lint (pull_request) Successful in 58s
CI / quality (pull_request) Successful in 58s
CI / typecheck (pull_request) Successful in 1m20s
CI / security (pull_request) Successful in 1m34s
CI / unit_tests (pull_request) Successful in 5m59s
CI / integration_tests (pull_request) Successful in 12m17s
CI / docker (pull_request) Successful in 2m35s
CI / coverage (pull_request) Successful in 16m24s
CI / status-check (pull_request) Successful in 1s
2026-06-13 09:30:27 -04:00
CleverAgents Bot 7034b90c92 ci: stop master workflow on PR updates
Remove the stale pull_request trigger from master.yml so PR branch commits do not launch the master workflow.

Maintenance patch for PR #8257.
2026-06-13 09:30:27 -04:00
HAL9000 8f6dc11cc6 fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527)
Implemented cache invalidation for CleanupService to fix stale sandbox paths
being reported after purge() completes. The _sandbox_dirs_cache is now
invalidated after _purge_sandboxes() so subsequent scan() calls re-read the
filesystem instead of returning already-deleted paths.

Changes:
- Added self._sandbox_dirs_cache = None at end of _purge_sandboxes()
- Updated docstring to document cache invalidation behavior
- Created comprehensive BDD test coverage with 5 scenarios under new
  features/cleanup_service_cache_invalidation.feature and step definitions
- Updated CHANGELOG.md with bug fix entry
- Updated CONTRIBUTORS.md with PR #8257

ISSUES CLOSED: #7527
2026-06-13 09:29:11 -04:00