Skip to content

fix: move test cache under workspace target#533

Merged
DorianZheng merged 1 commit into
boxlite-ai:mainfrom
uran0sH:fix/test-cache-bases-leak
May 15, 2026
Merged

fix: move test cache under workspace target#533
DorianZheng merged 1 commit into
boxlite-ai:mainfrom
uran0sH:fix/test-cache-bases-leak

Conversation

@uran0sH

@uran0sH uran0sH commented May 15, 2026

Copy link
Copy Markdown
Contributor

The test cache was stored under src/target/boxlite-test, outside Cargo's workspace target directory. cargo clean therefore missed it, so large integration-test artifacts could remain after normal cleanup.

Compute the cache path from the repository root and store it under target/boxlite-test. Update the cache_dir unit test to assert the workspace target location explicitly.

The test cache was stored under src/target/boxlite-test, outside
Cargo's workspace target directory. cargo clean therefore missed it,
so large integration-test artifacts could remain after normal cleanup.

Compute the cache path from the repository root and store it under
target/boxlite-test. Update the cache_dir unit test to assert the
workspace target location explicitly.

Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com>
@uran0sH uran0sH force-pushed the fix/test-cache-bases-leak branch from 43556e7 to 4778527 Compare May 15, 2026 15:50
@uran0sH uran0sH changed the title Fix: Move test cache under workspace target fix: move test cache under workspace target May 15, 2026
@DorianZheng

Copy link
Copy Markdown
Member

Good catch!

@DorianZheng DorianZheng merged commit 5e7ec62 into boxlite-ai:main May 15, 2026
11 checks passed
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