Skip to content

fix(cache): isolate and clean up instance-owned disk cache - #1602

Closed
WANDY666 wants to merge 1 commit into
mainfrom
fix/disk-cache-instance-lifecycle
Closed

WANDY666 wants to merge 1 commit into
mainfrom
fix/disk-cache-instance-lifecycle

Conversation

@WANDY666

Copy link
Copy Markdown
Contributor

Treat --disk_cache_dir as a base directory and pass one instance-specific subdirectory from the launcher to the disk worker. Remove only that directory, after all tracked workers have exited.

This prevents server instances from sharing cache files and avoids abandoned cache storage after shutdown, without deleting the configured base directory or another instance's data. Unrelated subprocess-management changes are excluded.

Tests: isolated cleanup, live-worker protection, worker path propagation and startup regressions (18 passed).

@WANDY666 WANDY666 closed this Sep 30, 2026
@WANDY666
WANDY666 deleted the fix/disk-cache-instance-lifecycle branch September 30, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants