Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: replace real filesystem tests with vfs crate - #28

Merged
ADD-SP merged 1 commit into
mainfrom
add_sp/refactor-use-vfs
Feb 15, 2026
Merged

refactor: replace real filesystem tests with vfs crate#28
ADD-SP merged 1 commit into
mainfrom
add_sp/refactor-use-vfs

Conversation

@ADD-SP

@ADD-SP ADD-SP commented Feb 15, 2026

Copy link
Copy Markdown
Collaborator

Use the vfs crate's MemoryFS to eliminate real filesystem side effects from unit tests in process.rs and onboard.rs. Tests that previously required sudo/root access (writing to /run/clawshell/, /var/log/clawshell/) or left temp file artifacts now run entirely in-memory.

Use the `vfs` crate's MemoryFS to eliminate real filesystem side effects
from unit tests in process.rs and onboard.rs. Tests that previously
required sudo/root access (writing to `/run/clawshell/`, `/var/log/clawshell/`)
or left temp file artifacts now run entirely in-memory.
@ADD-SP
ADD-SP enabled auto-merge February 15, 2026 08:59
@ADD-SP
ADD-SP added this pull request to the merge queue Feb 15, 2026
Merged via the queue into main with commit 9fbe003 Feb 15, 2026
3 checks passed
@ADD-SP
ADD-SP deleted the add_sp/refactor-use-vfs branch February 15, 2026 09:19
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.

1 participant