Isolate smoke-test dry-run state#783
Open
SS-42 wants to merge 1 commit into
Open
Conversation
1a541d7 to
8cb7ed7
Compare
Signed-off-by: SS-42 <noreply@incogni.to>
8cb7ed7 to
9e57c6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This isolates smoke-test dry-run subcommands from the developer's real home directory and cache.
Phase 6 now runs
install --dry-run,uninstall --dry-run,update --dry-run, and the config set/get/reset round trip under a temporaryHOME,XDG_CONFIG_HOME,APPDATA,LOCALAPPDATA,CBM_CACHE_DIR, and privatePATH. The temporary tree is removed by the existing cleanup trap.Observed environment: macOS 26.5.2 (25F84), Darwin 25.5.0 arm64, Apple clang 21.0.0. The isolation is shell/environment based and should apply across supported platforms.
Test plan
make -f Makefile.cbm build/c/codebase-memory-mcp CC=clang CXX=clang++scripts/smoke-test.sh build/c/codebase-memory-mcp