Skip to content

feat: use bundled Bun in the Linux companion - #164401

Merged
steipete merged 19 commits into
mainfrom
feat/w101-tauri-embedded-bun
Oct 3, 2026
Merged

steipete merged 19 commits into
mainfrom
feat/w101-tauri-embedded-bun

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Linux companion needs an embedded, verified Bun runtime without replacing an operator’s Gateway runtime when the app starts or updates.

User Impact

Fresh Linux setup installs the Gateway on bundled OpenClaw Bun. Existing services remain unchanged until the user chooses Use bundled runtime…, sees the current runtime, and confirms. This covers Node, an older bundled Bun, and operator-selected runtimes. A paused service must be started first.

Every runtime installation uses the canonical CLI and the runtime-pin/service-definition observation captured for that action. Changed observations refuse. A failed health check reports the error and the CLI command to return to the previous runtime; there is no automatic rollback. Returning to Node is an explicit terminal action: openclaw gateway install --force --runtime node.

This feature is Linux-only. Tauri on macOS retains its existing behavior; the native macOS app remains its own owner. Windows is deferred until a signed OpenClaw Bun fork build is available; unsigned dry-run artifacts are not shippable. FreeBSD retains system Node.

Why This Change Was Made

The shared pin and stager serve CI, native macOS, and Linux. Linux packaging keeps the verified Bun bytes in the OPENCLAW-BUN-RUNTIME-V1 resource envelope so linuxdeploy cannot rewrite them, then materializes immutable runtime directories. All published runtime directories are retained, including any still referenced by a service or CLI launcher.

The launcher marker is informational. Automatic migration, pending recovery, Node backups, restoration menus, retained-Node qualification, and health rollback are removed. Startup, reconnects, and app updates only observe the Linux Gateway. The canonical CLI continues to own installation and service mutation.

The shared e167 pin retains both repin gates: CI paired Node/Bun replay plus the Node-hidden Bun-only smoke, and native macOS probes plus the two-binary gate. Failure of either blocks pin advancement for every consumer. These contracts are documented in the CI pipeline and macOS development setup docs.

Production LOC comparison Before After Change
Runtime owner, physical lines 1,224 550 −674
Whole feature production/build/CI net addition against each main merge base +2,134 +1,495 −639

Counts include blank/comment lines, exclude tests and docs, and identify embedded Rust test blocks separately. The direct feature-path rewrite against e76eb74 is +867/−1,505 (net −638), excluding unrelated changes brought in by the rebase. The one-line difference comes from the base change.

Evidence

Candidate: bda9182b343f30d8dac8abeb64a59592285c6ddc.

Gate Result
Initial focused Node 24.21.0 350 passed, 30 skipped; 217.69s
Initial focused suites on staged e167 Bun 350 passed, 30 skipped; 256.13s
Status gather sibling, Node / Bun 68/68 on each; 16.763s / 18.790s
Shared stager 11/11 within each focused run; published Darwin asset, release metadata and executable hashes verified
Explicit runtime action regressions 20/20 in native Linux Cargo; fresh null-definition guard, changed pin/definition, pause, no rollback, informational marker and launcher replacement
Startup/update/Linux scope 5/5 on Node and e167 Bun; original source fails the intended startup/scope cases
Platform stager 3/3 on Node and Bun; macOS/Windows/FreeBSD excluded
P2 Codex review Full committed branch at this candidate scoped-clean
Canonical CLI / pause guard delta 47/47 on Node 24 and 47/47 on staged e167 Darwin Bun; 242.561s / 146.223s on an isolated Mac; includes 8 new native-lock cases
Changed checks Final full branch-scope replay exits 1 only on the same 3 inherited line-count violations; all core/root typechecks and all 3 Knip scans pass. The 11 later unchanged checks and Madge retain prior passing proof
Linux x64 Cargo / packages / ABI At 9bf (Rust and runtime packaging inputs unchanged by this repair): 346 passed, 9 ignored; AppImage and deb built; packaged smoke passed; 289 ELF files scanned within unchanged ABI floors
Linux ARM Cargo / packages / ABI Exact candidate: Cargo 346 passed/9 ignored; AppImage+deb, e167 decoded bytes, strict FUSE/extracted/UI/media smoke pass; 287 ELF files scanned within unchanged floors, on native ARM with Ubuntu 22 baseline
x64 Node-hidden Bun-only smoke 10/10; zero Node attempts, blockers, stale blockers or failed stages
Native live runtime journeys Fresh UI install → bundled Bun; legacy Node unchanged across startup/quit/signed synthetic update; explicit Node → Bun and previous immutable slot → current Bun pass; paused and reassigned-runtime actions refuse without mutation
Canonical stop/install race Actual app installation queued behind the canonical native lock; canonical stop wins, installation refuses, and the stopped service remains unchanged. All 7 assertions pass
Published CLI compatibility Integrity-verified published 2026.9.5 installation remains byte-for-byte unchanged across startup and signed app update (16 receipt fields); explicit runtime action safely requests a CLI upgrade, without mutation
Current-head CI Run 37150801452: 185 success, 10 skipped, 9 test failures plus aggregate failure, 0 cancelled; inspected main-side attribution prepared for the native admin route
ClawSweeper Completed exact-head revision 11: no code/security findings; native, upgrade and directly inspected visual proof accepted
Native landing scripts/pr merge-run exit 0; exact candidate merged as d9ccc498f15cab42ecd9dca21187c010f163f8b6 through the explicitly authorized inherited-failure admin route

Maintainer disposition: the uploaded after capture shows the connected Gateway with Use bundled runtime… disabled, and the paused capture shows the start-first refusal. Both captures were inspected directly; all three images also render correctly in the actual GitHub page. The native owner admitted all nine failed test jobs and the aggregate through the expressly authorized inherited-failure route, retaining the qualified board/worker uncertainties and failed CI result. It verified security, reviews and exact-head identity before submission; completion receipt. The at-landing audit recorded intervening main movement; those 39 changed paths do not overlap this PR’s 69 paths. The landed production delta against the actual parent remains +1,666/−171, net +1,495.

ClawSweeper correctly identified that an operator stop between the app check and the canonical writer lock preserves pin and definition, allowing the install to restart the service. The repair carries the existing-service running requirement to that writer; fresh absence admission remains separate. The regression queues an install behind a canonical stop with unchanged definition/pin and proves no writer or pin update occurs. Other cases cover running stage/install, unknown/failed/disabled state, and fresh absence. The real native-lock stop/install race now passes on the final CLI. An initial fixture-restoration timeout occurred after the seven race assertions passed; a separately instrumented native Start action captured the actual app-descendant CLI and restored a healthy Node service.

Desktop selection changes preserve already-confirmed explicit operations in queue order; they invalidate stale UI publication. Before the CLI starts, the action verifies that its selection is current. Once the confirmed install starts, the canonical CLI owns its service operation and pin/definition guard. This design intentionally has no retained desktop custody, pending recovery, or rollback owner. The real native confirmation reports modal=true. Tray and Connection Settings navigation were observed behind it, and native cancellation preserved all 14 local-service receipt fields. A final background-Connect attempt was refused by the runner readiness check before remote execution; no real target-change interleaving is claimed. Pre-launch selection invalidation remains covered by the Rust regression and source boundary, not a completed live interleaving.

Current-head CI tested merge 5b60b09c7048ecaffc3e868be9aba3e758798213, with main cd9913f1b1105f9c4e7b96fde8c1431a77e5878d and this candidate as ordered parents. The nine failed test jobs cover seven independently reproduced main-owned fixture groups: schema graph allowlist, Copilot Tool Search ordering, voice-call resource count, Google Meet/Codex worker namespaces, compaction producer metadata, and Codex history producer metadata. The latter two were freshly reproduced on that clean main (compaction on Node and e167; history on Node).

Two additional failures retain uncertainty: board iframe geometry follows main's percentage-height/flex changes, but persistent CSS failure versus readiness is unresolved; foreground worker shared-state cleanup has an unresolved inner cause, and its earlier-main reproduction is historical because main later changed cleanup. Inspected execution paths and all relevant causal inputs exclude Tauri and guarded service installation; neither is called a fixed flake or a new failing-main reproduction. All 49 named inputs match tested main and merge. Both real-Gateway UI shards and the paired-node status job pass. The aggregate CI gate remains failed. Complete failure logs, checkout identities, source comparisons and scoped passing tests are bound to native admin evidence; no rerun was requested.

Earlier PR-owned failures were fixed: a Linux-excluded readiness helper in a Rust test, missing standalone boundary-test registration in Knip, stale recovery UI text, and a parallel Rust fixture executable-write race. The fixture now uses immutable executable bytes and atomic inode replacement without retries or global serialization.

The three inherited local lint cases are src/state/openclaw-state-read.worker.ts (701/700), src/gateway/worker-environments/transcript-commit.test.ts (1,042/1,000), and src/plugins/doctor-contract-registry.ts (707/700); The state worker and doctor registry plus lint inputs still match the newly tested main. The transcript test changed in #164103, so its recorded failure is explicitly old-base-only until new evidence qualifies it. The failed local full check is retained as failed, with no baseline change.

The initial full focused suites are retained; the two affected test files passed again on Node 24/e167 on both Darwin and Linux after the pause repair. Runtime proofs use private 0700 HOME, state and temporary directories. Native x64 Rust/UI/package inputs are byte-identical between the package head and this candidate; the final CLI package is built from this candidate, and all 9,552 installed JavaScript files match it.

The live fixture proves actual native menus, GTK confirmation/refusal dialogs, systemd writers and a signed synthetic A→B app update. The simulated older bundle is a distinct immutable directory containing the same verified e167 bytes; startup/quit preserve all 14 receipt fields and the referenced directory, then explicit adoption selects the current slot. Runtime reassignment while confirmation is open causes a stale-observation refusal with all 14 fields unchanged. Independently installed CLI launchers and legacy marker absence survive adoption. Published 2026.9.5 compatibility is a separate real registry installation (8,079 JavaScript files verified against its integrity-checked tarball), without a candidate CLI upgrade.

ARM smoke first exposed a host/package library mismatch on Ubuntu 26, then a missing FUSE helper in the Ubuntu 22 container. Installing the OS FUSE package and replaying the unchanged packaged scanner on the native ARM baseline passed. The final CLI build initially hit the existing process-group guard; the same build passed with Docker's init enabled, without source or guard changes.

Native runtime selection

The Node Gateway offers the explicit action. After confirmation, the Gateway runs on bundled Bun and the action is disabled. These are actual native captures from the synthetic Linux fixture.

Before: Node After: bundled Bun
Node Gateway offers the runtime action Bundled Bun is current after confirmation

An operator-paused Gateway refuses the action and preserves its service binding:

Paused Gateway refuses runtime selection

Measured focused test costs

Initial feature qualification on macOS Node 24, measured as individual command wall time with one worker through the repository wrapper, before the eight pause cases were added. These are not hosted CI seconds. No persistent worker pin or serial test configuration is introduced.

File Result Wall time
src/cli/command-startup-policy.test.ts 18 passed, 0 skipped 4.366s
src/cli/daemon-cli/install.test.ts 30 passed, 0 skipped 14.695s
src/cli/daemon-cli/register-service-commands.test.ts 46 passed, 0 skipped 15.376s
src/cli/daemon-cli/status.projection.test.ts 1 passed, 0 skipped 3.646s
src/cli/daemon-cli/status.runtime-intent.test.ts 8 passed, 0 skipped 16.008s
src/daemon/runtime-pin-service.test.ts 9 passed, 0 skipped 21.246s
src/daemon/runtime-pin-state.test.ts 3 passed, 0 skipped 17.581s
src/scripts/ci-changed-scope.test.ts 61 passed, 0 skipped 6.895s
test/scripts/ci-linux-git.test.ts 89 passed, 30 skipped 89.569s
test/scripts/ci-platform-checkout.test.ts 74 passed, 0 skipped 87.995s
test/scripts/stage-openclaw-bun.test.ts 11 passed, 0 skipped 5.825s

The final pause-repair replay runs 17 native service cases plus 30 CLI cases. Vitest per-file durations on the isolated proof host are 187.92s / 35.70s on Node 24 and 83.46s / 36.07s on e167 Bun; total command wall times are 242.561s / 146.223s. The first Node run includes a cold worker build; Bun reuses those outputs. These are separate measurements from the initial table.

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review October 3, 2026 16:28
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: macos App: macos gateway Gateway runtime cli CLI command changes scripts Repository scripts app: linux plugin: linux-node size: XL labels Oct 3, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed October 3, 2026, 6:14 PM ET / 22:14 UTC (Revision 11).

ClawSweeper review

What this changes

The Linux companion bundles verified Bun, uses it for fresh local setup, and offers confirmed runtime switching through the canonical CLI while sharing runtime staging with macOS and CI.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This PR remains useful: current main lacks the Linux companion’s bundled-runtime flow. No blocking introduced code or security findings remain, and direct inspection completes the previous visual gate. The selected native landing route still requires admission of the failed CI attempt.

Priority: P2
Reviewed head: bda9182b343f30d8dac8abeb64a59592285c6ddc

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong native and upgrade evidence supports a good implementation with no blocking code findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded native app/systemd journeys exercise fresh installation, confirmed adoption, reassignment refusal, and the final CLI’s locked stop/install race; directly inspected native captures complete the visual gate. Published 2026.9.5 preservation and safe unsupported-contract refusal establish existing-state compatibility. The uncompleted desktop target-change interleaving remains expressly qualified rather than claimed as live proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded native app/systemd journeys exercise fresh installation, confirmed adoption, reassignment refusal, and the final CLI’s locked stop/install race; directly inspected native captures complete the visual gate. Published 2026.9.5 preservation and safe unsupported-contract refusal establish existing-state compatibility. The uncompleted desktop target-change interleaving remains expressly qualified rather than claimed as live proof.
Evidence reviewed 9 items Pinned introduction and continuing necessity: Reviewed the merge-base-to-head introduced delta. Fetched main still uses the previous readiness/installer flow and has no runtime_action module at the corresponding path. The supplied test merge is stale relative to the pinned base and was not used to infer removal of main behavior.
Prior pause-race finding resolved at the writer: Guarded installation now checks effective running state, service definition, and runtime-pin revision inside the canonical native operation lock before invoking the platform writer. The regression queues installation behind a stop and verifies no installation or pin change; fresh installation retains separate absence admission.
Complete captured body recovered: The complete body obtained through GitHub hashes to 8936bde29fc0ec2efb352f5c56b40fa87b28b520fabdf5bcfb1be9ee01cb234a, matching the supplied snapshot. Its omitted tail contains the native screenshot links and measured test costs; no body-context gap remains.
Findings None None.
Security None None.

How this fits together

The Linux companion connects desktop users to a local or remote OpenClaw Gateway. For local runtime changes, it passes the confirmed service observation to the CLI, which owns guarded systemd installation and runtime-pin persistence.

flowchart TD
  A[Verified Bun resources] --> B[Immutable runtime directory]
  C[Fresh setup or confirmed runtime choice] --> D[Desktop runtime action]
  B --> D
  D --> E[Canonical CLI]
  E --> F[Service lock and current-state guards]
  F --> G[Gateway service and runtime pin]
  G --> H[Health result and visible guidance]
Loading

Before merge

  • Complete next step (P2) - Complete the selected native inherited-failure admission for all nine failed test jobs and the aggregate gate, including the qualified board/worker uncertainties, and verify required reviews, security clearance, and exact-head identity before submission.
Agent review details

Security

None.

PR surface

Source +184, Tests +890, Docs +176, Config -9, Other +2104. Total +3345 across 69 files.

View PR surface stats
Area Files Added Removed Net
Source 9 203 19 +184
Tests 22 1101 211 +890
Docs 6 194 18 +176
Config 7 30 39 -9
Generated 0 0 0 0
Other 25 2230 126 +2104
Total 69 3758 413 +3345

Review metrics

Metric Value Why it matters
Production versus test growth production/build/CI +1,495; tests/support +1,674 net lines Growth supplies verified packaging and explicit runtime selection; embedded Rust tests were counted separately from production code.
CLI interoperability surface 1 new hidden install flag The expected-runtime-pin flag carries the desktop observation to the canonical writer without changing ordinary install defaults.

Stored data model

Persistent data-model change detected: migration/backfill/repair: apps/linux/src-tauri/src/runtime_action.rs, serialized state: apps/linux/scripts/stage-runtime.mjs, serialized state: scripts/stage-openclaw-bun.sh, serialized state: scripts/verify-mac-runtime.mjs, unknown-data-model-change: apps/linux/scripts/stage-runtime.mjs, unknown-data-model-change: scripts/stage-openclaw-bun.sh. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Technical review

Best possible solution:

Keep runtime changes explicit, preserve existing services across desktop updates, and retain the canonical CLI as the sole guarded service writer.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a feature request. The earlier pause-race concern now has a writer-boundary regression and recorded real native-lock refusal evidence; this read-only review did not execute target code.

Is this the best way to solve the issue?

Yes. The narrowed Linux adapter reuses the existing service and runtime-pin owners, preserves upgrade behavior, and removes the earlier competing recovery machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 711e57e41b37.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded Linux companion improvement with existing-install preservation evidence and no established urgent user regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): Recorded native app/systemd journeys exercise fresh installation, confirmed adoption, reassignment refusal, and the final CLI’s locked stop/install race; directly inspected native captures complete the visual gate. Published 2026.9.5 preservation and safe unsupported-contract refusal establish existing-state compatibility. The uncompleted desktop target-change interleaving remains expressly qualified rather than claimed as live proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded native app/systemd journeys exercise fresh installation, confirmed adoption, reassignment refusal, and the final CLI’s locked stop/install race; directly inspected native captures complete the visual gate. Published 2026.9.5 preservation and safe unsupported-contract refusal establish existing-state compatibility. The uncompleted desktop target-change interleaving remains expressly qualified rather than claimed as live proof.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-03T16:57:56.974Z sha e76eb74d44af7fd3b7b98837f1c1eb04bf385dc4 :: needs real behavior proof before merge. :: [P1] Admit macOS services through their actual platform contract | [P1] Bind recovery to the service written by this installation | [P1] Preserve operator pauses and superseded selections during recovery | [P2] Record restore intent before replacing the Bun service
  • reviewed 2026-10-03T17:04:53.088Z sha e76eb74d44af7fd3b7b98837f1c1eb04bf385dc4 :: needs real behavior proof before merge. :: [P1] Admit macOS services through their actual platform contract | [P1] Bind recovery to the service written by this installation | [P1] Preserve operator pauses and superseded selections during recovery | [P2] Record restore intent before replacing the Bun service
  • reviewed 2026-10-03T17:43:01.596Z sha d3cd838 :: needs real behavior proof before merge. :: [P1] Preserve intervening pauses under the native installation lock
  • reviewed 2026-10-03T17:56:17.139Z sha 6b15f70 :: needs real behavior proof before merge. :: [P1] [P1] Preserve intervening pauses under the native installation lock
  • reviewed 2026-10-03T18:31:48.318Z sha dabccec :: needs real behavior proof before merge. :: [P1] [P1] Preserve intervening pauses under the native installation lock
  • reviewed 2026-10-03T18:54:47.228Z sha 9bf8782 :: needs real behavior proof before merge. :: [P1] Preserve intervening pauses under the native installation lock
  • reviewed 2026-10-03T20:24:18.130Z sha bda9182 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-03T21:50:15.689Z sha bda9182 :: blocked before merge. :: none

@steipete
steipete marked this pull request as draft October 3, 2026 16:50
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 3, 2026
@clawsweeper clawsweeper Bot removed the rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. label Oct 3, 2026
@steipete steipete self-assigned this Oct 3, 2026
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Please review exact head bda9182b343f30d8dac8abeb64a59592285c6ddc with the completed evidence in the updated body. Final-CLI allowed adoption, stale-runtime refusal, the real canonical-lock intervening-stop race, published 2026.9.5 preservation/unsupported-contract refusal, ARM packages/ABI smoke, and sanitized before/after/paused screenshots are complete. The pre-launch desktop-selection case is explicitly qualified: regression/source coverage and real modal/cancel preservation, without a completed live target-change interleaving. Exact-head CI failures and unresolved main-side test causes remain visible; no green-CI claim or rerun.

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 3, 2026
@steipete
steipete merged commit d9ccc49 into main Oct 3, 2026
303 of 315 checks passed
@steipete
steipete deleted the feat/w101-tauri-embedded-bun branch October 3, 2026 22:24
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

steipete added a commit that referenced this pull request Oct 4, 2026
Linux App CI compiled an empty runtime manifest after #164401, and its relocated onboarding fixture still expected the former installer/Doctor contract.

Stage the verified runtime before compilation, preserve its resources in the private fixture, and exercise canonical launcher binding and explicit runtime activation with real bundled Bun. Register the Python-launched CLI fixture with Knip. Production code and native navigation/authority assertions remain unchanged.

Validation: exact Linux Gateway switching and onboarding commands, 30 Python tests, 13 Node checks, and 346 Rust tests passed (9 pre-existing ignored). Hosted Linux App and exact-head required CI passed; P2 review and ClawSweeper found no actionable issues.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
Embed the shared, verified OpenClaw Bun runtime in the Linux companion without automatically replacing existing Gateway services. Fresh setup and the confirmed Use bundled runtime action delegate to canonical CLI installation with the observed runtime pin and service definition; the writer also preserves an intervening operator pause under its native lock.

Remove automatic migration, pending recovery, rollback and Node restoration ownership. Retain immutable runtime directories, document explicit CLI recovery, and keep Tauri on macOS unchanged.

Proof: dual Node 24/e167 suites and final 47-case writer/CLI replay; P2 scoped-clean branch review; x64/ARM Cargo, AppImage/deb and ABI smoke; Node-hidden Bun-only smoke; native fresh/adoption/update/pause/reassignment/lock-race and published-CLI compatibility flows. Exact-head CI failures are retained and independently attributed through the native admin exception; see the PR evidence for unresolved main-side test causes.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
Linux App CI compiled an empty runtime manifest after openclaw#164401, and its relocated onboarding fixture still expected the former installer/Doctor contract.

Stage the verified runtime before compilation, preserve its resources in the private fixture, and exercise canonical launcher binding and explicit runtime activation with real bundled Bun. Register the Python-launched CLI fixture with Knip. Production code and native navigation/authority assertions remain unchanged.

Validation: exact Linux Gateway switching and onboarding commands, 30 Python tests, 13 Node checks, and 346 Rust tests passed (9 pre-existing ignored). Hosted Linux App and exact-head required CI passed; P2 review and ClawSweeper found no actionable issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: linux app: macos App: macos cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. plugin: linux-node proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant