Repository navigation
fix(ci): recognize the current installed runtime probe - #200980
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
vincentkoc
marked this pull request as ready for review
November 18, 2026 04:13
vincentkoc
enabled auto-merge (squash)
November 18, 2026 04:18
vincentkoc
deleted the
fix-test-installed-terminal-probe-pin-20261118
branch
November 18, 2026 04:25
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 19, 2026
obviyus
added a commit
that referenced
this pull request
Nov 22, 2026
## What Problem This Solves `checks-node-compact-small-22` is red on `main` (scheduled run [44980759580](https://github.com/openclaw/openclaw/actions/runs/44980759580/job/137080868461)). `test/scripts/installed-terminal-observer.test.ts` "qualifies only successful package-owned pre-handoff Node entries (historical=false)" fails its pin on the current daemon runtime probe: expected `ed25993c…`, received `a33dc774…`. ## User Impact No user-visible change. The upgrade-survivor installed terminal observer recognizes the probe that current builds launch again, and the tooling CI shard is green. ## Why This Change Was Made #203177 (`fix: restore macOS setup detection with bundled Bun`) extracted `readPublishedSqliteLibrarySelection()` in `src/infra/bun-sqlite-library.ts`. That module is bundled into `DAEMON_RUNTIME_PROBE_SOURCE`, so the generator regenerated `src/infra/daemon-runtime-probe.generated.mjs` with new bytes. The observer qualifies only reviewed probe bytes (`currentProbeSha256` in `scripts/e2e/lib/upgrade-survivor/installed-terminal-observer.mjs`), and the test pins the same hash; neither was updated. The probe change was deliberate (a behavior-neutral helper extraction regenerated by the owning script; `pnpm runtime:scripts:check` passes), so this follows the established pin-update pattern from #200980, #200530 and #199839: update the reviewed hash in the observer and its test. ## Evidence - Hash of `DAEMON_RUNTIME_PROBE_SOURCE` at `9b0e696264b5^`: `ed25993c…`; at `9b0e696264b5` (#203177) and current `main`: `a33dc774…`. No other commit touched the generated probe since #200980. - Base (`origin/main` 7bf1c3e): `ocx test test/scripts/installed-terminal-observer.test.ts` → `1 failed | 22 passed | 7 skipped`, `Expected: "ed25993c…" Received: "a33dc774…"`. - Head: same command → `23 passed | 7 skipped`. - `pnpm runtime:scripts:check` passes (generated probe matches its generator); `oxfmt --check` clean. Merge danger: two-way door (test/CI pin only); blast radius limited to the upgrade-survivor observer. Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 23, 2026
…aw#203415) ## What Problem This Solves `checks-node-compact-small-22` is red on `main` (scheduled run [44980759580](https://github.com/openclaw/openclaw/actions/runs/44980759580/job/137080868461)). `test/scripts/installed-terminal-observer.test.ts` "qualifies only successful package-owned pre-handoff Node entries (historical=false)" fails its pin on the current daemon runtime probe: expected `ed25993c…`, received `a33dc774…`. ## User Impact No user-visible change. The upgrade-survivor installed terminal observer recognizes the probe that current builds launch again, and the tooling CI shard is green. ## Why This Change Was Made openclaw#203177 (`fix: restore macOS setup detection with bundled Bun`) extracted `readPublishedSqliteLibrarySelection()` in `src/infra/bun-sqlite-library.ts`. That module is bundled into `DAEMON_RUNTIME_PROBE_SOURCE`, so the generator regenerated `src/infra/daemon-runtime-probe.generated.mjs` with new bytes. The observer qualifies only reviewed probe bytes (`currentProbeSha256` in `scripts/e2e/lib/upgrade-survivor/installed-terminal-observer.mjs`), and the test pins the same hash; neither was updated. The probe change was deliberate (a behavior-neutral helper extraction regenerated by the owning script; `pnpm runtime:scripts:check` passes), so this follows the established pin-update pattern from openclaw#200980, openclaw#200530 and openclaw#199839: update the reviewed hash in the observer and its test. ## Evidence - Hash of `DAEMON_RUNTIME_PROBE_SOURCE` at `6bde5cc9f716^`: `ed25993c…`; at `6bde5cc9f716` (openclaw#203177) and current `main`: `a33dc774…`. No other commit touched the generated probe since openclaw#200980. - Base (`origin/main` e5aa81b): `ocx test test/scripts/installed-terminal-observer.test.ts` → `1 failed | 22 passed | 7 skipped`, `Expected: "ed25993c…" Received: "a33dc774…"`. - Head: same command → `23 passed | 7 skipped`. - `pnpm runtime:scripts:check` passes (generated probe matches its generator); `oxfmt --check` clean. Merge danger: two-way door (test/CI pin only); blast radius limited to the upgrade-survivor observer. Co-authored-by: Ayaan Zaidi <[email protected]>
obviyus
added a commit
that referenced
this pull request
Nov 24, 2026
…204315) ## Result `test/scripts/installed-terminal-observer.test.ts` "qualifies only successful package-owned pre-handoff Node entries (historical=false)" passes again. The upgrade-survivor observer recognizes the daemon runtime probe that current builds launch. ## Cause #201712 (`6af45b657fdb`, "preserve managed GitHub exec on packaged Windows") regenerated `src/infra/daemon-runtime-probe.generated.mjs` through its owning generator. The probe source hash changed from `a33dc774…` to `747c79c4…`. The observer accepts only reviewed probe bytes (`currentProbeSha256` in `scripts/e2e/lib/upgrade-survivor/installed-terminal-observer.mjs`), and the test pins the same hash. Neither was updated. The probe change is deliberate: it is a generator output, not a hand edit. This PR updates both pins, the same way #203415, #200980 and #200530 did. ## Evidence - `DAEMON_RUNTIME_PROBE_SOURCE` hash: `a33dc774…` at `6af45b657fdb^`; `747c79c4…` at `6af45b657fdb` and on current `main`. - Scheduled run 45288712101 (small-30): `expected '747c79c4…' to be 'a33dc774…'`. The same failure reproduces locally on `main`. - Head: `installed-terminal-observer.test.ts` 23 passed, 7 skipped. CI green on the head; local ClawSweeper: patch is correct, no findings. Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 24, 2026
…01712 (openclaw#204315) ## Result `test/scripts/installed-terminal-observer.test.ts` "qualifies only successful package-owned pre-handoff Node entries (historical=false)" passes again. The upgrade-survivor observer recognizes the daemon runtime probe that current builds launch. ## Cause openclaw#201712 (`9c832cceeee5`, "preserve managed GitHub exec on packaged Windows") regenerated `src/infra/daemon-runtime-probe.generated.mjs` through its owning generator. The probe source hash changed from `a33dc774…` to `747c79c4…`. The observer accepts only reviewed probe bytes (`currentProbeSha256` in `scripts/e2e/lib/upgrade-survivor/installed-terminal-observer.mjs`), and the test pins the same hash. Neither was updated. The probe change is deliberate: it is a generator output, not a hand edit. This PR updates both pins, the same way openclaw#203415, openclaw#200980 and openclaw#200530 did. ## Evidence - `DAEMON_RUNTIME_PROBE_SOURCE` hash: `a33dc774…` at `9c832cceeee5^`; `747c79c4…` at `9c832cceeee5` and on current `main`. - Scheduled run 45288712101 (small-30): `expected '747c79c4…' to be 'a33dc774…'`. The same failure reproduces locally on `main`. - Head: `installed-terminal-observer.test.ts` 23 passed, 7 skipped. CI green on the head; local ClawSweeper: patch is correct, no findings. Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot
pushed a commit
that referenced
this pull request
Nov 24, 2026
…204315) ## Result `test/scripts/installed-terminal-observer.test.ts` "qualifies only successful package-owned pre-handoff Node entries (historical=false)" passes again. The upgrade-survivor observer recognizes the daemon runtime probe that current builds launch. ## Cause #201712 (`6af45b657fdb`, "preserve managed GitHub exec on packaged Windows") regenerated `src/infra/daemon-runtime-probe.generated.mjs` through its owning generator. The probe source hash changed from `a33dc774…` to `747c79c4…`. The observer accepts only reviewed probe bytes (`currentProbeSha256` in `scripts/e2e/lib/upgrade-survivor/installed-terminal-observer.mjs`), and the test pins the same hash. Neither was updated. The probe change is deliberate: it is a generator output, not a hand edit. This PR updates both pins, the same way #203415, #200980 and #200530 did. ## Evidence - `DAEMON_RUNTIME_PROBE_SOURCE` hash: `a33dc774…` at `6af45b657fdb^`; `747c79c4…` at `6af45b657fdb` and on current `main`. - Scheduled run 45288712101 (small-30): `expected '747c79c4…' to be 'a33dc774…'`. The same failure reproduces locally on `main`. - Head: `installed-terminal-observer.test.ts` 23 passed, 7 skipped. CI green on the head; local ClawSweeper: patch is correct, no findings. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 665c286) Co-authored-by: RomneyDa <[email protected]>
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
The installed-terminal observer rejects the current generated Node runtime probe after the web-readability worker was added to the runtime manifest. Full main validation fails its package-owned pre-handoff Node entry test.
User Impact
This repairs internal upgrade-validation coverage. There is no user-visible runtime change.
Why This Change Was Made
Refresh the current probe digest in the observer and its regression test to match the existing generated bytes. Historical package digests, altered-source rejection, and all other qualification checks remain intact.
Related: #200925
Evidence
Hosted Linux CI passed the complete observer file in 15.468s, including current and historical probe qualification: https://github.com/openclaw/openclaw/actions/runs/44235775710/job/134572326417.
Main failure: https://github.com/openclaw/openclaw/actions/runs/44230690636/job/134555263977. The same current-probe digest assertion fails on frozen baseline
4a44f2031e86; historical qualification passes (3.23s).Candidate
cb56912a59de, pinned Bun with CI-version Node 24.22.1 children: complete file passes, 23 passed, 7 skipped, 8.34s. Current/historical qualification, altered-source/hash rejection, and unsafe-launch controls pass.The same file with Node 26.13.0 children has 22 passed, 7 skipped, 1 unrelated failure; 11.75s.
The remaining failure is the unchanged synchronous-spawn assertion at line 580: Node 26.13.0 returns
ERR_INVALID_ARG_TYPE, while the test expectsERR_OUT_OF_RANGE. The exact case also fails on the frozen baseline (0.638s). Plain/observed output parity passes; this is queued for a separate repair. The Node 26 full-file result is not green.Targeted test-root-scripts typecheck, type-aware lint, formatting, JavaScript syntax, and whitespace checks pass.
Local ClawSweeper completed the full
4a44f2031e866e7ee430d01ece41340cefddac5e..cb56912a59defe15664ba60f06b8a224991d4fdecommitted range: no correctness or security findings, confidence 0.97.The checked-in 26,653-byte probe hashes to
ed25993c504b1a383e6b152164c854e170972579cb8ebe547df568aff5435188. This change adds no tests or production behavior; full installed-upgrade execution was not run.