Repository navigation
test(openshell): deduplicate sandbox fixtures - #129258
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 25, 2026 11:05
Contributor
Author
|
Merged via squash.
|
Rorqualx
pushed a commit
to Rorqualx/cortex
that referenced
this pull request
Aug 25, 2026
… advance 80) Resolution (13 raw conflicts; 12 ui resolved by fork-ownership policy): - pnpm-lock.yaml: regenerated via pnpm install (derived file). - extensions/openshell/src/openshell-core.test.ts (merge=ours drift): ADOPT-UPSTREAM openclaw#129258 fixture dedup + openclaw#120996 tempWorkspace migration + openclaw#126828 canonical-owner test (fork's makeTempDir shape + missing test were stale freezes of older upstream code, not fork intent). Grafted fork's one genuine delta: required SandboxConfig.osSandbox block into createOpenShellBackendSandboxConfig. - src/agents/cli-runner.reliability.test.ts (merge=ours drift): clean 3-way merge-file. Kept fork tests + upstream openclaw#125085 (codex->agent-cli literals, watchdog resume tuning test; math verified against merged reliability.ts). - src/agents/embedded-agent-runner/run/incomplete-turn-recovery.ts: ADOPT-UPSTREAM (preflight tsgo-core=1 catch: upstream consumer openclaw#128970 imports resolveSettledToolBatchEvidence which merge churn had dropped from the fork provider; export surface differs by exactly this extraction; fork toolMetas type carries toolCallId?/terminate?/isError?). - ui/src/ui/markdown.ts: explicit param types on the linkify www plugin callbacks (validate/normalize). @types/markdown-it 14.1.2->14.2.0 (upstream dep bump) dropped contextual typing for them; the fork-owned ui copy now types them inline per linkify-it's Validate/Match signatures (upstream adapted its own ui tree the same way). Only ui file needed it; tsgo:test:ui 3->0 locally. Note: ui tree-hash invariant vs main intentionally broken by this one adaptation — main's ui does not compile against the new lockfile (baseline 0 was measured with @types 14.1.2). No product-collision: no codex/** residuals.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 26, 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
Removes duplicated OpenShell sandbox fixtures that repeated setup and assertions across lifecycle, mount, and policy scenarios without adding independent coverage.
Why This Change Was Made
The suite now expresses shared sandbox state through canonical fixtures while preserving the security-sensitive mount, cleanup, and time-of-check/time-of-use assertions at the owning boundary.
Production LOC: +0/-0 (net 0) | Tests: +70/-345 (net -275)
User Impact
There is no user-visible behavior change. The OpenShell sandbox suite is smaller and easier to extend while retaining its lifecycle and isolation guarantees.
Evidence