Repository navigation
fix: unblock macOS release validation - #119110
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 3:02 AM ET / 07:02 UTC. ClawSweeper reviewWhat this changesThe PR makes macOS validation tests and remote sandbox filesystem operations work through case-insensitive or symlink-aliased paths while retaining mount-escape protections. Merge readinessNo actionable exact-head defect found. This maintainer-authored PR remains necessary because current main lacks the canonical-root handling; it needs normal maintainer review after its behind-main refresh. Priority: P2 Review scores
Verification
How this fits togetherRelease validation runs OpenClaw’s test suites, while the remote sandbox bridge maps agent file actions into mounted workspaces. The bridge validates the logical mount path, then performs pinned filesystem operations against its canonical root. flowchart LR
A[Agent file action] --> B[Logical workspace mount]
B --> C[Mount policy validation]
C --> D[Canonical root resolution]
D --> E[Pinned file operation]
E --> F[Remote workspace files]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +99, Tests +186. Total +285 across 22 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase onto current main, rerun the focused linked-root sandbox proof on that exact head, and land the shared canonical-root implementation if it remains clean. Do we have a high-confidence way to reproduce the issue? Yes: the exact-head regression creates a symlinked workspace root, verifies read/create/mkdirp through it, and verifies an escape remains rejected. Is this the best way to solve the issue? Yes: a shared canonical-path resolver at the remote bridge boundary is preferable to operation-specific symlink exceptions because it preserves one logical-policy and pinned-operation flow. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3ac70832135b. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
858bc4c to
d4d0ef2
Compare
d4d0ef2 to
00f55f3
Compare
00f55f3 to
3850c20
Compare
|
@clawsweeper re-review Exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper rank-up move reviewed: skipping the requested rebase. Native The focused linked-root regression, 609-test Testbox run, |
|
Merged via squash.
|
* origin/main: fix(test): isolate shared state between test files (#118781) fix(telegram): use monotonic polling liveness fix(setup): keep compatible Claude wrappers selectable fix(agents): gate Claude live session protocol fix(agents): preserve Claude fork successor on stalls fix(agents): preserve Claude follow-up replies after background tasks fix: unblock macOS release validation (#119110) improve(qa): cover vision channel offload (#118862) test(qa): cover sandboxed exec behavior (#119053) fix(ai): preserve Google simple completion sanitation fix(macos): keep setup activation within app checks fix(tts): use prepared completion transport fix(ai): prefer provider-owned completion streams test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
* fix(test): guard split-memory tests on case-insensitive filesystems * fix(sandbox): canonicalize aliased mount roots * fix(claws): canonicalize aliased manifest paths * test: isolate release validation from host state
* origin/main: fix(test): isolate shared state between test files (openclaw#118781) fix(telegram): use monotonic polling liveness fix(setup): keep compatible Claude wrappers selectable fix(agents): gate Claude live session protocol fix(agents): preserve Claude fork successor on stalls fix(agents): preserve Claude follow-up replies after background tasks fix: unblock macOS release validation (openclaw#119110) improve(qa): cover vision channel offload (openclaw#118862) test(qa): cover sandboxed exec behavior (openclaw#119053) fix(ai): preserve Google simple completion sanitation fix(macos): keep setup activation within app checks fix(tts): use prepared completion transport fix(ai): prefer provider-owned completion streams test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
What Problem This Solves
Fixes an issue where macOS release validation could fail when temporary workspaces used case-insensitive or symlink-aliased paths, while tests also inherited maintainer-machine credentials and path spellings.
The same alias mismatch could make remote sandbox reads, directory creation, and mutations fail through a valid symlinked workspace root.
Why This Change Was Made
The release tests now skip only split-memory assertions that require case-distinct filenames and explicitly isolate credential-sensitive expectations from ambient host state.
Sandbox and Claw workspace paths are canonicalized through their nearest existing ancestor. Remote sandbox policy remains evaluated in the logical mount namespace, while pinned filesystem operations use the canonical root so all operations retain no-follow and mount-escape protections.
User Impact
Maintainers can run the Beta 8 native release-preparation gate on macOS without host-specific false failures.
Remote sandbox users can read, create directories, and mutate files through a valid symlinked workspace root; paths that escape the canonical mount remain rejected. No config, protocol, or persisted-data contract changes.
Evidence
3850c2037d651e21d24b784750c24a646ce20d7be0799199b30fda0ee7268c8fed7e195cb6f5251bpnpm check:changed -- <22 touched paths>: passed, including core/test typechecks, lint, dead-code, database-first, schema-version, import-cycle, and security guards.