Repository navigation
[2026.10.10-beta.5] fix(gateway,subagents): repair backport regressions in gateway lane FRV tests - #187589
Merged
Conversation
…or projection The #181247 backport (08ee066) adapted the main change for the release branch's legacy sessionFile locator by projecting json_extract(entry_json, '$.sessionFile') on every selected row. SQLite raises 'malformed JSON' for an unreadable entry_json before parseSessionEntryJson can apply its skip/reject policy, so ordinary selected listings and gateway lookups failed with a raw SQLite error. Project the locator only for transcript selections and only for valid JSON rows. Release-only: main retired the sessionFile locator.
(cherry picked from commit 40806cf)
…backport 9b8ee9c (#181373 backport) adopts timed sessions_send children into the requester turn and changes the inline wait to waitForAgentRunReply. The backport dropped a8a3680's matching fixture changes, so the test spied on the old SessionFollowupCompletion.take and waited forever. Apply main's fixture hunk (observe waitForAgentRunReply and registry persistence). The release branch has no session-controller liveness check (#175837), so a claimed result is handed back only by the requester run's settlement; the synthetic original run now performs the settleRequesterRun call its embedded runner makes on completion. Adapted from a8a3680
…med-cohort backport The 2f7589a backport of #181260 filters delivered child findings from settle wakes (needsRequesterSettleFindings). On main, #178104 moved the shared makeSettledChild default to pending delivery; the release fixture still defaults to delivered, so this case lost every finding. Mark its children pending, as the backport did for its other undelivered fixtures.
…181260 backport Backport 2f7589a filters delivered child findings from settle wakes. On main, #178104 moved the shared fixture default to pending and renamed these cases to pending pairs; the release fixture still defaults to delivered, so the private marker was filtered. Mark the children pending.
…tody The release adaptation 4643f86 of #181373 started capturing the operator continuation context for every spawn so collectors also record their original requester source. It dropped the collect guard on binding completion authority, so a queued collector retained an operator source hold after its parent completed or stopped. Main binds only non-collect runs (authority && !registerParams.collect); restore that guard here and keep completionAuthorityRequired aligned with it.
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. |
The added retireRequesterFollowupAuthority export changed the grandfathered factory hash. Name the isolation reason and prune the stale baseline entry.
Member
Author
|
CI follow-up on b9b2bd1:
|
This was referenced Oct 29, 2026
[2026.10.10-beta.5] fix(tooling): repair FRV tooling tests and Knip deadcode after backports
#187570
Merged
sectrgt
pushed a commit
to sectrgt/openclaw
that referenced
this pull request
Nov 2, 2026
…openclaw#181260 backport 2f7589a (backport of openclaw#181260) drops already-delivered findings from settle wakes. The same-human completion-custody fixture marked its child delivered, so the wake had nothing to deliver and returned false. Keep the finding pending, as for the other settle fixtures realigned in openclaw#187589. Release-only: main has no copy of this fixture.
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.
Problem
Provisional Full Release Validation run 40845145475 (normalCi child run 40846102753, release head f488276) failed these gateway and subagent tests. All of them pass on
v2026.10.10-beta.4.src/gateway/managed-image-attachments.test.ts: "does not let a valid fallback mask an unreadable exact row" (malformed JSON)src/gateway/session-utils-store-lookup.test.ts: "rejects an unreadable canonical candidate instead of returning its alias" (malformed JSON)src/config/sessions/session-accessor.sqlite-schema-probes.test.ts: "selected readonly listing > returns the ordered selected metadata…" (malformed JSON)src/gateway/server.logs-tail.test.ts: "logs.tail preserves ambiguous and long PEM prefix context at a byte cursor"src/gateway/server.sessions-send-owner-continuation.test.ts: all 5 cases time out after 120 ssubagent-announce.requester-settle-results.test.ts: "includes all six child outcomes…"server.subagent-settle-replay.harness.test.ts: "recovers public work once through a sibling and reconciles its progress only"subagent-announce.requester-settle-wake.private.test.ts: 4 "preserves the admitted reply policy" casessubagent-registry-lifecycle-wake.retry.test.ts: "preserves retry ownership after the originating scope drains"subagent-spawn.production-boundary.test.ts: "keeps queued collector effects with their original parent when it is operator-completed / operator-stopped"Root causes and fixes
malformed JSONfrom SQLite. Release-only product fix.sessionFilelocator. The release adaptation instead projectsjson_extract(entry_json, '$.sessionFile')on every selected row, including ordinary listings that make no transcript selection.malformed JSONfor an unreadableentry_jsonrow beforeparseSessionEntryJsoncan apply its own skip or reject policy.json_valid(entry_json)holds.fix(sessions): keep malformed rows out of the legacy transcript locator projection.-x.sessions_sendchildren into the requester turn, and the inline wait now goes throughwaitForAgentRunReply.SessionFollowupCompletion.takeand waited forever.settleRequesterRun, the same call the embedded runner makes when a run ends.makeSettledChildstill defaults children to delivered. Main changed that default to pending in fix(agents): avoid repeating delivered child results on settle #178104.retireRequesterFollowupAuthority.requester-cron-authority.jsin this test lacked that export, so each wake threw.authority && !registerParams.collectguard.completionAuthorityRequiredaligned with it.Not changed (classified)
src/sessions/background-session-result.test.ts("commits during active source work…"): flake.vi.waitFor.src/gateway/setup-inference.first-signin.integration.test.ts: flake. It passes 3/3 alone at head. In CI the activation failed with "OpenClaw state database lifecycle is retired", the cross-generation guard from 62f0c60, while the test was sharing a gateway-database-workers process with other files. That points to a module generation retired by a neighboring file in the shared worker, not to the code under test. This needs a follow-up in the sqlite test lifecycle if it recurs.Evidence
Local runs use Node 24.22.1. The branch is rebased on release head 6db0c14.
Touched-file suites also pass:
combined-store-gateway.worker,session-entry-read.worker, and the memory-coresession-search-visibilitysuites: 65/65Other checks:
pnpm tsgo:coreclean; oxfmt and oxlint clean on changed files.