Skip to content

fix(ci): qualify the current installed daemon probe - #200530

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-current-daemon-probe-pin-20261117
Nov 17, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-current-daemon-probe-pin-20261117

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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 51452add9d790cd8ec1f1796ed07af4024fd955c in the related PR added exactly 199 bytes for the browserProfileFilesystem process 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

  • Original failure: CI job 133937134859.
  • Exact local baseline reproduces the current-probe hash mismatch; the historical case passes. With this change, both current and historical cases pass.
  • Containing observer file: 22 passed, 7 skipped, 1 unrelated failure. The unchanged baseline reproduces that same Node 26.13.0 error-code mismatch at line 580 (ERR_INVALID_ARG_TYPE versus ERR_OUT_OF_RANGE). CI's Node 24 result remains pending.
  • Targeted formatting, script/test lint, and git diff --check pass. Fresh independent P0–P3 review found no actionable findings.
  • Proof used matching frozen dependency inputs and source overlays in a qualified native checkout; all overlays were restored afterward. No dependency or generated-source changes are included.

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.

@vincentkoc vincentkoc self-assigned this Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 17, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 17, 2026 09:28
@vincentkoc
vincentkoc enabled auto-merge (squash) November 17, 2026 09:34
@vincentkoc
vincentkoc merged commit 8565bb0 into main Nov 17, 2026
168 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-current-daemon-probe-pin-20261117 branch November 17, 2026 09:39
@vincentkoc

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant