Repository navigation
fix(ci): qualify the current installed daemon probe - #200530
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 17, 2026 09:28
vincentkoc
enabled auto-merge (squash)
November 17, 2026 09:34
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 18, 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.
Related: #200503
What Problem This Solves
Installed-terminal recovery validation rejects the current generated daemon probe because its reviewed source hash still points to the previous process manifest. This also fails the observer contract test before it launches the current probe.
User Impact
No user-visible behavior changes. Recovery validation can recognize the current probe while retaining the existing launch and lifetime checks.
Why This Change Was Made
Update only the observer's current-probe pin and its independent test expectation to
35bf3310aa0df86c646b04ea2df44ed2d4fa92093ccc8be80875888373dd3fa8.Commit
51452add9d790cd8ec1f1796ed07af4024fd955cin the related PR added exactly 199 bytes for thebrowserProfileFilesystemprocess registration to the decoded generated source (26,225 → 26,424 bytes). Historical published pins, source-tampering rejection, environment validation, and successful native settlement before handoff remain unchanged.Evidence
ERR_INVALID_ARG_TYPEversusERR_OUT_OF_RANGE). CI's Node 24 result remains pending.git diff --checkpass. Fresh independent P0–P3 review found no actionable findings.Hosted exact-head CI passed. The installed-terminal-observer suite ran under Bun in job 133946390472: all 30 tests passed in 17.945s, including current and historical pre-handoff qualification. This is hosted Bun evidence, not a Node26 compatibility result.