Skip to content

fix(release): close FRV, fixture, and cold admission gaps - #192586

Merged
RomneyDa merged 6 commits into
mainfrom
openclaw/briny-langoustine
Nov 4, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
openclaw/briny-langoustine

Conversation

@tideclaw-bot

@tideclaw-bot tideclaw-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Preparing the required 2026.11.5-beta.2 backports exposed three source-level gaps: active FRV diagnostic draining was treated as a terminal failure, the Kitchen Sink fixture used a floating npm version without compiled asset closure, and a cold SQLite open could hold the open FIFO while waiting for the turn whose owner needed that FIFO.

Changes

  • Distinguish active diagnostics from success while preserving failed/cancelled parent precedence and retained refs.
  • Resolve the Kitchen Sink fixture from the frozen target's version record, preserve explicit overrides, and include the record in the existing compiled-worker asset owner.
  • Reserve cold database admission before the open FIFO; settle retained bytes and open/client custody when identity inspection throws synchronously.
  • Skip privilege-dependent ELOOP symlink fixtures on Windows, retain deterministic EACCES coverage, and remove redundant script-spelling assertions and their unused read.

No package dependency, schema, permission, or release version changes.

Evidence

  • FRV/prerelease/SDK focused suites: 140 passed.
  • Kitchen Sink focused suites: 94 passed, including the real compiled consumer.
  • SQLite broker/admission suites: 48 passed; final capacity replay after lint correction: 19 passed.
  • Baseline and prerequisite-only failures reproduced for terminal/pending behavior, compiled fixture loading, admission deadlock, and synchronous ELOOP custody leak.
  • Scoped typechecks, lint, formatting, docs sanity, test-line allocations, and diff checks passed.
  • Fresh independent source review completed for the prepared repairs.
  • Local autoreview, OpenClaw engine / openai/gpt-6.1-sol, P0/P1: scoped-clean for the complete local delta from ff8fe07, now commit 1667015. Automated review had diff/new-file context; source-aware review and tests are separate evidence.
  • Review follow-up: 168 tests passed across six affected/owner suites in 47.37 seconds. After the final unused-read deletion, the affected canary passed; final scoped lint, both typechecks, formatting and diff checks passed. Independent review approved the exact three-file correction. ELOOP and EACCES executed on Linux; native Windows execution is not claimed. Resolver and compiled-consumer tests do not replace full Bash/Docker scenario execution. Fresh published-head CI remains required.

Current-head inherited CI failure

At head c9e8228e2da41b1ae492fa9230cd71cd69a636be, check-prompt-snapshots fails in run 41787264286, job 126433234494. The actual CI merge is c7a462859e674b1d2ee1b7b24b40866a64ff3e4e, with first parent 062d5d85481fca84c57014e7c3a128fc4386ea79.

The published PR-head tree passes all six snapshot files. The exact base and actual merge both reproduce the same three failures: the Telegram and Discord Codex dynamic-tool JSON fixtures and the local-Ollama default-tool-surface JSON fixture. The generator and committed fixtures are unchanged between base and merge. Base commit 111ae119613094cdb99fdeebce1b49f77056543b (#192596) stopped formatting JSON snapshots without synchronizing those fixtures; the differences are compact versus multiline arrays, with unchanged JSON values. No snapshot files were changed for this PR.

Local attribution used Node 26.12.1 versus CI Node 24.22.1, with matching formatter 0.74.0 and existing linked dependencies. This records an inherited failure, not a passing CI check or a waiver of remaining gates.

Remaining qualification

No live GitHub FRV, full Docker install, Gateway/model end-to-end, or cross-platform qualification is claimed. PR CI and enforced reviews remain required. This is a main-first preparation repair for the operator-required #191633/#191838 batch, not release publication approval.

Worked on by

tideclaw-bot and others added 2 commits November 4, 2026 06:07
Preserve active FRV diagnostics without masking terminal failure, pin the Kitchen Sink fixture through the compiled asset owner, and reserve cold database admission before the open FIFO while settling synchronous failures.

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

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: d389aec1-6f6c-4f70-903e-d3bc9dc848ff
@clawsweeper

clawsweeper Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts docker Docker and sandbox tooling size: M labels Nov 4, 2026
@tideclaw-bot
tideclaw-bot marked this pull request as ready for review November 4, 2026 06:09
@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. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 4, 2026
@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR corrects FRV pending-state handling, pins Kitchen Sink fixtures with compiled assets, and fixes cold SQLite admission ordering and cleanup.

Example: An FRV parent remains in progress with a validated blocked_diagnostics_running decision.

  • Before: The helper reports failure and exits unsuccessfully.
  • After: The helper reports pending diagnostics, prints the watch command, and retains the workflow ref without claiming verified success.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused production repairs with harness-level evidence, one Windows fixture defect, and implementation-coupled test additions.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored PR is outside the ordinary contributor proof gate; its reported suites exercise FRV fixtures, real broker workers, and compiled fixture loading, with no live qualification claim.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators receive false terminal failures or drifting fixture results, and cold database users can encounter admission deadlocks.
Reason: The maintainer-authored direction addresses demonstrated source failures without adding settings, schemas, or permission changes.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-authored PR contains useful repairs for current-main failures, with one actionable test portability defect.

Priority: P2
Reviewed head: 3a6ceb6a5b6f3f1edd1d812da541b8be5b93bf34

Before merge

  • Respect Windows symlink privileges in both new ELOOP fixtures (P2) - On Windows without file-symlink privileges, symlinkSync throws EPERM during fixture setup, so this test fails before exercising admission cleanup. The same problem occurs at src/infra/sqlite-worker-broker.test.ts:528. That suite already skips file-symlink fixtures on Windows at lines 117–118. Apply the existing platform handling to both new ELOOP cases while retaining their real-filesystem coverage on supported hosts and the separate EACCES cleanup case.

Findings

  • [P2] Respect Windows symlink privileges in both new ELOOP fixtures — src/infra/sqlite-worker-broker.capacity.test.ts:167-168

Tests

  • Low-value test test/scripts/plugin-prerelease-test-plan.test.ts: Remove the added literal source-path, assignment, message, and scenario-name assertions around lines 265–282; they pin implementation text without exercising frozen-target selection or override behavior.
  • Missing end-to-end proof: Live FRV handoff, pinned-fixture Docker installation, and Gateway cold-open recovery are expressly unclaimed; the supplied validation consists of focused harnesses and compiled-consumer loading.
Agent review details

How this fits together

Release tooling observes GitHub validation runs and installs external test fixtures; the SQLite broker admits database opens into workers while retaining input budgets and client custody.

flowchart TD
  A[Release operator] --> B[FRV dispatch helper]
  B --> C[GitHub run and decision]
  C --> D[Pending handoff or verified completion]
  E[Frozen target fixture record] --> F[Docker and compiled RPC consumers]
  G[SQLite broker open] --> H[Database turn then open FIFO]
Loading

Technical review

Best possible solution:

Land the focused repairs through the existing release helper, fixture asset builder, and SQLite admission owner.

Do we have a high-confidence way to reproduce the issue?

Current-main source shows the FIFO/admission-turn inversion and FRV diagnostic misclassification; the PR reports red/green regressions, which were inspected but not executed during this read-only review.

Is this the best way to solve the issue?

The production repairs use existing owners and preserve warm actor reuse, terminal failure precedence, and explicit fixture overrides; the added source-text assertions provide weaker coverage than executable consumer checks.

Full review comments:

  • [P2] Respect Windows symlink privileges in both new ELOOP fixtures — src/infra/sqlite-worker-broker.capacity.test.ts:167-168
    On Windows without file-symlink privileges, symlinkSync throws EPERM during fixture setup, so this test fails before exercising admission cleanup. The same problem occurs at src/infra/sqlite-worker-broker.test.ts:528. That suite already skips file-symlink fixtures on Windows at lines 117–118. Apply the existing platform handling to both new ELOOP cases while retaining their real-filesystem coverage on supported hosts and the separate EACCES cleanup case.
    Confidence: 0.97
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 08f4a198a310.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/infra/sqlite-worker-broker.test.ts src/infra/sqlite-worker-broker.capacity.test.ts --maxWorkers=1
  • node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/infra/sqlite-worker-broker.test.ts src/infra/sqlite-worker-broker.capacity.test.ts
  • pnpm exec oxfmt --check src/infra/sqlite-worker-broker.test.ts src/infra/sqlite-worker-broker.capacity.test.ts
  • git diff --check

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 578321c adds scripts/full-release-validation-at-sha.mts:2235 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 578321c3fbd8; files: scripts/full-release-validation-at-sha.mts)
  • Peter Steinberger: Raw commit c189838 adds scripts/full-release-validation-at-sha.mts:702 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c189838914ce; files: scripts/full-release-validation-at-sha.mts)
  • Vincent Koc: Raw commit aeffc9e adds src/infra/sqlite-worker-input-admission.ts:57 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: aeffc9ed744f; files: src/infra/sqlite-worker-input-admission.ts)

PR surface

Source +8, Tests +192, Docs +1, Other +75. Total +276 across 18 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 2 29 21 +8
Tests 6 204 12 +192
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 9 93 18 +75
Total 18 327 51 +276

Review metrics

Metric Value Why it matters
Fixture default latest → 0.4.1 The existing override remains available; otherwise both npm lanes consume the frozen target's recorded version.

Labels

Label changes:

  • add P2: The PR repairs bounded release-validation and database-admission failures; the identified blocker affects test portability.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The PR repairs bounded release-validation and database-admission failures; the identified blocker affects test portability.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 4, 2026, 1:27 AM ET / 06:27 UTC.

tideclaw-bot and others added 4 commits November 4, 2026 06:35
Skip privilege-dependent ELOOP symlink fixtures on Windows while retaining deterministic EACCES coverage. Remove redundant literal assertions and their unused script read.

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

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 7cea8960-dbc8-488a-a777-e46358b5ec51
Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 16afaa76-d41b-45a9-b922-70a7ef33cbc1
@RomneyDa
RomneyDa merged commit 2853220 into main Nov 4, 2026
134 of 137 checks passed
@RomneyDa
RomneyDa deleted the openclaw/briny-langoustine branch November 4, 2026 19:23
RomneyDa added a commit that referenced this pull request Nov 5, 2026
Carry the final reviewed changes from #191830, #192378, #192379,
#192380, #192383, #192385, and #192386. Preserve #191838's existing
file-transfer import fix. Adapt Gateway readiness to the release owner
and include the narrow SQLite cold-admission prerequisite from #192586.

Do not carry #192387: its Goal expectation depends on main-only
Stop-to-paused behavior absent from this release.

Retain regression allocations without changing the shared baseline.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
…92586)

* fix(release): close validation and cold admission gaps

Preserve active FRV diagnostics without masking terminal failure, pin the Kitchen Sink fixture through the compiled asset owner, and reserve cold database admission before the open FIFO while settling synchronous failures.

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

* fix(release): close FRV, fixture, and cold admission gaps

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: d389aec1-6f6c-4f70-903e-d3bc9dc848ff

* test: make cold-open recovery fixtures portable

Skip privilege-dependent ELOOP symlink fixtures on Windows while retaining deterministic EACCES coverage. Remove redundant literal assertions and their unused script read.

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

* Publish openclaw/briny-langoustine

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 7cea8960-dbc8-488a-a777-e46358b5ec51

* test: align repair allocations with final coverage

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

* Publish openclaw/briny-langoustine

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 16afaa76-d41b-45a9-b922-70a7ef33cbc1

---------

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
Adopt all reviewed constituents of #191633 and #191838, including the
#192297 intake and merged #192586 prerequisite, with the reviewed
security parser bounds and Matrix patch serialization correction.

These are adapted backports, not exact cherry-picks. Original sources:
191633 5cbabca (origin b6c36ed): fix(release): warn before rollback drill expiry (#180164)
191633 ca8c103 (origin 0f359b3): fix(release): require macOS release source branch (#180169)
191633 12abd6c (origin d8265d0): fix(release): verify published plugin inventory (#180203)
191633 65df344 (origin 3580c9f): fix(release): revalidate exact npm versions (#180201)
191633 ae3a92b (origin f708b8b): fix(release): explain staged npm recovery (#180191)
191633 08c61ca (origin ca897ec): fix(release): pin Linux builder to request SHA (#180211)
191633 f7b8f22 (origin 0453b8c): fix(release): warn on undocumented SDK removals (#180180)
191633 2b7fd53 (origin dbc44d3): fix(release): retry compatibility tarball downloads (#189712)
191633 d313a91 (origin a07be30): docs(release): tighten deterministic failure triage (#189720)
191633 3180471 (origin 8100edf): fix(release): enable OIDC recovery preflight (#187991)
191633 fc52d94 (origin 84133d3): fix(ci): mark pending security reviews (#180183)
191633 9a30fd9 (origin 48b46f1): feat(release): add FRV job log reader (#189718)
191633 5aeb8bf (origin 3c67c5c): feat(release): add publication watcher (#187994)
191633 a5c1376 (origin 749df76): fix(release): unify plugin OIDC recovery preflight (#189748)
191633 4bd0d61 (origin fc719e9): feat(release): add bound gate approval helper (#189715)
191633 fc6a003: fix(release): adapt postpublish verifier imports
191633 0fea084 (origin 6370e01): fix(release): retain publication retry diagnostics (#189130)
191633 13f02f8 (origin f861722): fix(release): keep diagnostic FRV blocks pending
191633 a715d58 (origin 571b8f8): fix(release): verify notes against pushed branch
191633 3fbc547 (origin f3bbc7e): fix(release): explain shallow release-note history
191633 6fe3921 (origin 7d27f73): test(git): isolate nested repository fixtures
191633 74579f0 (origin 34bb969): ci: add base scheduled upgrade survivor
191633 39b9209 (origin 73df503): ci: support empty admission args on Bash 3.2
191633 e585646 (origin ec6e32f): test(qa): retain mock provider request artifacts
191633 dbae3ad (origin bfa3e10): fix(qa): guard mock artifact fetch
191633 7a1456b (origin 24f5971): ci(ios): explain screenshot Xcode mismatch
191633 86591a7 (origin 122d8e4): docs(release): identify FRV parent publish input
191633 0f81562 (origin c938b9b): fix(cli): report observed gateway start failure
191633 e140fb5 (origin 414e610): test(release): pin Kitchen Sink fixture versions
191633 07b1810: test(release): preserve retrospective backport coverage
191633 5ae88b0: test(ci): align retrospective guard backport coverage
191633 793e231: test(release): adapt retrospective fixtures to stable
191633 611d61f: test(release): adapt retrospective fixtures to beta
191838 4df8007 (origin d0cf0e2): fix(file-transfer): share one workspace command import between memory and skills
191838 fb52e5d (origin 24b9e76): fix(matrix): defer ready status through startup
191838 82ac58e (origin 76d4717): fix(matrix): let Matrix CLI commands exit after their client stops
191838 342fec0 (origin 73fe789): fix(matrix): report late in-room verification failures instead of crashing
191838 5a67ff1 (origin f75c29a): test(qa): align Matrix E2EE scenarios with offline ownership contracts
191838 f77062a (origin 2c0d224): fix(process): preserve loaded startup cleanup
191838 263a67a (origin fa2b24b): fix(process): keep stdio startup failures ahead of cleanup errors
191838 deb2b8f (origin 2d8931e): fix(process): share inherited process lineage across module copies
191838 7649f46 (origin 9b25ff9): fix(codex): preserve loaded one-shot cleanup
191838 37007d7 (origin c71bf33): fix(codex): unload canonical forks before child turns resume them
191838 fcb5687 (origin ebca499): fix(codex): resolve native follow-ups by task name across parent turns
191838 2627a7f (origin 84e1365): fix(codex): name usable agent IDs when a native target is unidentified
191838 9f78f29 (origin f591228): fix(codex): wait for a live previous owner to unload before resuming
191838 cc216fb (origin a6ec514): fix(codex): allow Codex's shutdown window when confirming a thread unload
191838 85b8598 (origin 6b4e757): fix(cron): run jobs added before scheduler start without startup deferral
191838 1693080 (origin df43e79): fix(state): retry lease cleanup after offline maintenance contention
191838 018d506 (origin 3c7cde0): fix(sqlite): wait for a cold database turn before the shared worker open queue
191838 683b89f (origin d7f8560): fix(gateway): flush startup evidence before readiness
191838 22dbc18 (origin d569839): fix(config): ignore empty default plugin entries when widening allowlists

Reviewed source packet: 08890ffe0399fcc102a67c6fe3ea8c8bada74128d85dd826c9ee5d8a03f92520
Batch/security slice: cf4a56d8df38cc11818b961b51b9a2756f755b084cdc27ffeb88cf4365bed0bc
Native/auth/updater remainder is intentionally not part of this commit.

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

docker Docker and sandbox tooling docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants