Repository navigation
fix(claws): restore bootstrap export tests on macOS - #120644
Merged
Merged
Conversation
Member
Author
|
@clawsweeper review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 9, 2026
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.
What Problem This Solves
Fixes an issue where the Claw export test fixture created a non-canonical package bootstrap snapshot on macOS, causing four pending-bootstrap export tests to fail after bootstrap seeding correctly rejected the
/varversus/private/varpath mismatch.Why This Change Was Made
The production reader records
ClawWorkspaceSourceSnapshot.realPathas a canonical filesystem path. The export fixture now does the same instead of fabricating the snapshot from the logical temp-directory spelling. This preserves the productioninstall_incompleteguard and tests the real reader contract.User Impact
No runtime behavior changes. The pending package-bootstrap export coverage is reliable on macOS again.
Evidence
node scripts/run-vitest.mjs src/claws/export.test.tsfailed 4 of 19 tests withinstall_incomplete; tracing the add result showedbootstrap_source_escapefrom the/varand/private/varalias mismatch.node scripts/run-vitest.mjs src/claws/export.test.tspassed 19 of 19 tests.node scripts/run-vitest.mjs src/claws/bootstrap.test.tspassed 14 of 14 tests.pnpm format src/claws/export.test.tsgit diff --check