Skip to content

fix(ci): repair beta qualification boundaries - #200313

Merged
RomneyDa merged 10 commits into
mainfrom
fix/beta-2026-11-10-qualification
Nov 17, 2026
Merged

RomneyDa merged 10 commits into
mainfrom
fix/beta-2026-11-10-qualification

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Repair required release-qualification failures without adding release features.

  • Remove unused private helpers and stale re-exports; retain test-consumed boundaries explicitly in the existing deadcode configuration.
  • Repair check-limits advisory logging, inherited release-context isolation, and the checklist fixture's canonical TypeScript loader.
  • Reconcile the SDK surface budget with individually attributed existing exports; replace the wildcard service export with explicit names and move unchanged outbound routing into its owning module to preserve the line limit and public surface.
  • Correct beta-sensitive update fixture channel selection and await asynchronous raw-stream diagnostic writes in the Incognito fixture.
  • Keep read-only transcript preparation on shared navigation without pulling host logging/Gateway lifecycle into its graph. Preserve the public JSONL parser export.
  • Shorten the remote-ingress fixture root without changing its request or authorization assertions.

Evidence

  • Unmodified main SDK surface gate reproduced four budget/wildcard failures; repaired gate passes. Public export names preserved; wildcard count zero.

  • Targeted main tests: three shards passed (20 + 388 + 12 tests). Required main build passed.

  • Selected release-cut deadcode checks passed all three scopes. Newer main has two unrelated unused exports (parseRfbVersionBanner and openBrowserRequestApproval), intentionally untouched; they are not caused by this change.

  • Beta config convergence: baseline reproduced failure, fixed 14/14.

  • Incognito diagnostic fixture: baseline regular-mode failure reproduced; corrected fixture plus real raw-stream sibling 6/6.

  • Targeted type-aware lint clean, including the two fixture changes; diff check clean.

  • Main advanced across disjoint template/state/locale changes during preparation; only this repair branch was rebased. The release's selected product baseline was not changed.

  • Shorten the history membership fixture root via its existing prefix option; CI job 133683538969 reported an overlong nested Unix socket path (EINVAL). Unchanged local fixture also passes, so this is a CI-path correction, not a claimed local red/green reproduction. Corrected fixture passes 2/2, targeted format and type-aware lint clean.

Follow-up repair evidence

  • On the pinned release candidate, the transcript graph regression failed before the navigation repair; graph/navigation/replay suites passed 48 tests afterward, and the full build passed.

  • Canonical local package integrity, isolated installation/lifecycle scripts, installed-tree inventory and CLI startup passed after the graph repair: 46,827 entries versus the unchanged 47,500 limit (5,401 fewer). This is local repaired-tree evidence, not new exact-SHA remote release qualification.

  • Remote-ingress fixture passed 12 tests with the shortened path; targeted lint passed.

  • Main advanced and produced an equivalent Knip callback conflict. The prior auto-merge request was explicitly retired before repair; the resolution preserves both the reviewed callback and the upstream batch entry. Only the main repair branch was integrated; the release baseline remains pinned. New-head focused proof passed 60 distinct tests across graph, bounded navigation, replay storage, and remote ingress. This is tracked separately from the earlier head’s evidence.

  • Simplification pass: one shared navigation owner replaces the preparation worker’s dependency on the writable host manager; JSONL warning emission stays host-owned with its existing public export. No new runtime policy, state store, compatibility branch, or retry was introduced. The added tests cover bounded/opaque ancestry and the static host-logging boundary, not a file-count quota.

  • Corrected the bounded-navigation regression fixture to use the contract’s Map fields (not iterable arrays), resolving CI job 133724905350’s three TS2740 errors. The exact core test typecheck leaf, both navigation tests, formatting, and type-aware lint pass.

  • Removed the redundant JSONL type assertion exposed by CI job 133728740785 and reduced the former codec allowance from 5 to 4; no baseline allowance was increased. Exact assertion-safety ratchet passes (2,364 files), JSONL replay passes 3/3, and targeted type-aware lint is clean at commit 56829b6.

  • Resolved overlap with current main at 687dc6c, including fix(sessions): shipped updaters refuse the next release because the transcript worker re-emits the Gateway graph #200321: retained its host-only hydration layer and this PR’s shared navigation/host-only JSONL boundary. Conflict resolution passes the complete graph/navigation/replay selection, 40 hydration/ownership tests, and four-file type-aware lint. The release branch and selected beta baseline were not changed. Merge commit: 49bd7a5.

Scope and review

Independent review was explicitly waived by the requesting maintainer for this session; all qualification gates remain required. Direct main publication was attempted under the red-main repair workflow and rejected by the repository's PR requirement; this is the prescribed PR fallback. No beta has been published by this change. A release-only capacity fixture correction remains on the release branch and is not included here.

RomneyDa and others added 2 commits November 16, 2026 23:58
Reconcile the exact accepted SDK export inventory, replace the accidental service-type wildcard, and retain one outbound routing owner. Repair inherited release-context test state, advisory summary writes, the checklist loader, and deadcode exports.

Proof: main SDK baseline red on four limits; repaired SDK check green with unchanged public names. Targeted tests and pnpm build pass. Two pre-existing newer-main deadcode exports remain outside this repair; selected release cut deadcode passes all three scopes. Independent review waived by Dallin for this session.

Co-authored-by: RomneyDa <[email protected]>
Beta config convergence: baseline failure reproduced; repaired suite 14/14. Incognito diagnostics: baseline regular-mode race reproduced; explicit mkdir completion preserves 5 regular writes and zero Incognito writes; sibling raw-stream tests 6/6. Targeted type-aware lint passes. Independent review waived by Dallin for this session.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review blocked

Automated review did not run, so no review verdict was produced.

Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here.

Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update.

Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added channel: msteams Channel integration: msteams app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts commands Command implementations agents Agent runtime and tooling size: XL labels Nov 16, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) November 17, 2026 00:05
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@RomneyDa
RomneyDa disabled auto-merge November 17, 2026 00:30
RomneyDa and others added 7 commits November 17, 2026 00:31
Resolve only the equivalent Knip callback conflict, preserving upstream batch entry registration. Release baseline is unchanged.

Co-authored-by: RomneyDa <[email protected]>
Move the unchanged legacy JSONL parser and its diagnostics to a host-owned module while preserving the public session-manager export. Keep standalone navigation workers free of the logger dependency.

The import-boundary regression fails on the prior head and passes with the repair; 48 focused tests, the production build, and targeted type-aware lint pass. The repaired package also passes tarball integrity and the local installed-tree budget at 46,827 entries.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 24a3e16)
Use a short explicit temporary prefix instead of the default diagnostic label. The label only selected that default prefix; runtime assertions and state layout are unchanged. All 12 ingress integration cases pass.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit aaa9221)
Share canonical transcript navigation between host managers and read-only preparation workers without importing Gateway lifecycle code. Preserve bounded ancestry, first-kept ranges, migrations, and opaque entries.

Proof: original runtime graph regression failed on the candidate; final graph 39/39, bounded navigation 2/2, real hydration/compaction worker 13/13. Targeted type-aware lint passes. Independent review waived by Dallin for this release session.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit c7bbf51)
Drop the erased parser assertion and shrink its former codec allowance; keep the assertion-safety ratchet strict.

Co-authored-by: RomneyDa <[email protected]>
Integrate main 687dc6c into PR #200313 only. Preserve #200321 host hydration ownership while retaining shared read-only navigation and the host-only JSONL parser. Keep the beta release baseline unchanged.

Co-authored-by: RomneyDa <[email protected]>
@RomneyDa
RomneyDa merged commit da3ac01 into main Nov 17, 2026
178 checks passed
@RomneyDa
RomneyDa deleted the fix/beta-2026-11-10-qualification branch November 17, 2026 01:38
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Use the repository loader for checklist subprocesses and preserve the SQLite
fixture-owned temp root. Adapt the canonical repairs from
da3ac01 (#200313) and
5962eee (#200020).

Preload the real lazy model-picker module for retained-settings assertions,
import the Google request transport through its existing narrow SDK owner,
and synchronize the cron fixture with callback rather than mock-payload
settlement. No test deadlines, production cancellation semantics, or
assertions are weakened.

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Backport the remaining validated repair paths from #200313 (main commit da3ac01). Preserve the pinned release baseline, existing graph/ingress repair commits, and four explicitly requested follow-up backports.

49 of 51 file contents match the landed commit exactly. The Knip entries omit later-main-only scripts; package-release-slot retains the release implementation while removing the same unused export. Reuse the recorded targeted tests, lint, full build, and installed-package proofs; exact candidate remote qualification remains required.

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Complete the two assertion-ratchet hunks from #200313 (main merge da3ac01) missed by release backport 8772990. Remove the redundant JSONL assertion and shrink the codec allowance; no runtime behavior or allowance expansion.

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
* fix(ci): repair release qualification boundaries

Reconcile the exact accepted SDK export inventory, replace the accidental service-type wildcard, and retain one outbound routing owner. Repair inherited release-context test state, advisory summary writes, the checklist loader, and deadcode exports.

Proof: main SDK baseline red on four limits; repaired SDK check green with unchanged public names. Targeted tests and pnpm build pass. Two pre-existing newer-main deadcode exports remain outside this repair; selected release cut deadcode passes all three scopes. Independent review waived by Dallin for this session.

Co-authored-by: RomneyDa <[email protected]>

* test: fix beta channel and asynchronous diagnostic fixtures

Beta config convergence: baseline failure reproduced; repaired suite 14/14. Incognito diagnostics: baseline regular-mode race reproduced; explicit mkdir completion preserves 5 regular writes and zero Incognito writes; sibling raw-stream tests 6/6. Targeted type-aware lint passes. Independent review waived by Dallin for this session.

Co-authored-by: RomneyDa <[email protected]>

* test: shorten history membership socket fixture path

Co-authored-by: RomneyDa <[email protected]>

* fix(sessions): keep host logging out of transcript navigation

Move the unchanged legacy JSONL parser and its diagnostics to a host-owned module while preserving the public session-manager export. Keep standalone navigation workers free of the logger dependency.

The import-boundary regression fails on the prior head and passes with the repair; 48 focused tests, the production build, and targeted type-aware lint pass. The repaired package also passes tarball integrity and the local installed-tree budget at 46,827 entries.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 24a3e16)

* test(gateway): keep remote ingress sockets within Unix path limits

Use a short explicit temporary prefix instead of the default diagnostic label. The label only selected that default prefix; runtime assertions and state layout are unchanged. All 12 ingress integration cases pass.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit aaa9221)

* fix(sessions): isolate transcript preparation navigation

Share canonical transcript navigation between host managers and read-only preparation workers without importing Gateway lifecycle code. Preserve bounded ancestry, first-kept ranges, migrations, and opaque entries.

Proof: original runtime graph regression failed on the candidate; final graph 39/39, bounded navigation 2/2, real hydration/compaction worker 13/13. Targeted type-aware lint passes. Independent review waived by Dallin for this release session.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit c7bbf51)

* test: use typed maps for bounded navigation fixture

Co-authored-by: RomneyDa <[email protected]>

* fix(sessions): remove redundant JSONL assertion

Drop the erased parser assertion and shrink its former codec allowance; keep the assertion-safety ratchet strict.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
MoerAI added a commit to MoerAI/openclaw that referenced this pull request Nov 18, 2026
Main's coverage consolidation (openclaw#198936) deleted
schtasks.startup-fallback.test.ts. This branch had split that file, and
its schtasks.startup-fallback-lifecycle.test.ts held 14 cases that are
byte-identical moves of the deleted ones, so they go too. The shared
fixture support keeps only what the activation-provenance regressions
import.

Main's deadcode repair (openclaw#200313) then removed Scheduled Task fixture
helpers that had no remaining main callers. The provenance regressions
still use them, so restore those helpers verbatim
(createSchtasksNativeFixture, the task snapshot builders,
isProcessSnapshotQuery, writeNodeScript, and the probe/response types).

The settlement budget case added in openclaw#199951 asserts that restart ends
exactly at the stop budget. With this branch, restart then waits out the
15s post-/Run activation window before refusing an unverified
activation, so the restart variant now expects the stop budget plus
15s. The stop-only variants are unchanged.

Focused daemon suites: 12 files, 242 tests pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: msteams Channel integration: msteams clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. cli CLI command changes commands Command implementations gateway Gateway runtime scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant