Repository navigation
fix(release): backport known tooling and CI repairs to 2026.10.10 - #178169
Conversation
(cherry picked from commit aade2f8) Co-authored-by: RomneyDa <[email protected]>
#170297) * fix(release): expose Linux builder admission and retain failed bundles * fix(release): preserve unconfirmed Linux dispatch status * fix(ci): make Linux build event admission explicit * fix(ci): separate Linux mirror dispatch from release builds * fix(ci): budget cold Linux source package builds (cherry picked from commit 614f559) Co-authored-by: RomneyDa <[email protected]>
) (cherry picked from commit 17bea1c) Co-authored-by: RomneyDa <[email protected]>
…gets (#172745) (cherry picked from commit 2051055) Co-authored-by: RomneyDa <[email protected]>
* fix(android): prepare focused proof before running Gradle * test(android): reach proof prerequisites on Linux ARM * test: remove duplicated Android job structure assertion * fix: seed stored inference account for Docker cron cleanup (cherry picked from commit 404b708) Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 9fe4372) Co-authored-by: RomneyDa <[email protected]>
… companion (#173615) (cherry picked from commit c58afa2) Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 99ce3ea) Co-authored-by: RomneyDa <[email protected]>
…in hits a transient Bot API error (#173465) * fix(qa): retry Telegram stale-update drain through transient Bot API failures * fix(qa): cancel Telegram drain waits on proxy stop and cap attempts by budget * test(qa): prove the Telegram drain abandons a stalled attempt at its deadline * test(qa): drop timing-dependent upstream count from Telegram drain deadline test (cherry picked from commit 387ebd6) Co-authored-by: RomneyDa <[email protected]>
#173781) (cherry picked from commit eee5b40) Co-authored-by: RomneyDa <[email protected]>
A refused opener stops its shared worker, so queued peer closes receive the slot's existing operation failure without running. Join native exit without recording that exact failed-slot error as a second cleanup failure. Distinct close, termination and lease-cleanup failures still propagate. Update and Doctor teardown can finish retiring peer agent stores after another opening is revoked. The rejected opening retains its error, exact lease cleanup remains owned, and uncertified native exit cannot publish a clean-close seal. The real-worker regression fails on main with native retirement failed and passes with all peer leases removed. The original intermittent sessions-tail case passed six pre-fix replays; the forced owner boundary proves this repair. Proof: sessions-tail/creation-owner/cleanup 62 passed; broker/client/reply, close-wedge and retention siblings 54 passed; final integrity owner 27 passed, one existing Linux-only skip. pnpm test src/state/openclaw-agent-execution.integrity.test.ts --maxWorkers=1: 76.57s wall, 26.00s Vitest, new regression 2.66s. Scoped types, lint, formatting, line-cap and independent P2 reviews pass. PR CI supplies broad proof. (cherry picked from commit 6d51bb2) Co-authored-by: RomneyDa <[email protected]>
…from opening every memory index (#174718) * perf(agents): bound catalog worker young-generation heap Keep the catalog worker's existing 512 MiB old-generation allowance while bounding its young generation to 32 MiB. Forward-port of the release/2026.10.4 fix; main moved the catalog pool into prepared-model-catalog-worker.pool.ts, so the limit now lives on that pool's single resource-limit object. (cherry picked from commit a3510e8) * fix(memory): keep cold Gateway start from opening every agent's index #167756 started Memory Core's index service eagerly on every Gateway start, opening each configured agent's memory manager right after readiness. On an idle Gateway that startup catch-up touches every session-transcript read lane, so each lane spawns its own worker isolate (plus a memory-search worker): the 2026.10.5 Gateway startup peak RSS rose from ~1.1 GB to ~1.8 GB. Cold start is demand-driven again, as before #167756: the first search, flush, or turn that needs an agent's index opens it. Once a watched manager has run in the process (a process-wide fact that survives plugin instance replacement and resets with a Gateway restart), every later service start reopens all configured indexes, so plugin reloads, provider-only reloads, rollback recovery, and memory/agent config restarts still resume watching without a search or turn. * perf(sqlite): bound broker and transcript worker young-generation heaps Cap the SQLite broker carriers and session-transcript reader workers at a 32 MiB young generation, matching the catalog worker bound, while keeping the existing 512 MiB old-generation allowance. Worker counts, lanes, admission, and lifecycle custody are unchanged. V8's default nursery grows to ~63 MiB per worker after a startup allocation burst and stays resident on idle workers. On the 2026.10.5 Gateway (fresh state, forced 16 CPUs) the broker's heap total at startup peak fell 125 -> 91 MiB and the transcript reader 81 -> 34-66 MiB; with the Memory Core cold-start fix, max Gateway peak RSS over the runs fell 1152 -> 1117 MB. Tradeoff: more frequent scavenges during large allocation bursts in these workers. (cherry picked from commit 6c050f8) Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 919e835) Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 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. |
|
Codex review: blocked before merge. What this changesThis PR backports thirteen merged repairs covering release tooling, CI preparation, Codex recovery, memory startup, SQLite cleanup, and model-catalog refresh. Example: A conversation bound to Codex thread-old sends “hi again” after an app-server restart.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this maintainer-authored backport open: it carries useful repairs missing from the release branch, and no definite introduced code defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe release branch combines Gateway runtime, bundled plugins, Control UI caches, and release workflows; these repairs turn messages, startup events, catalog invalidations, and release requests into preserved conversation state, bounded worker startup, fresh model lists, and explicit publication outcomes. flowchart TD
A[Release branch] --> B[Gateway and plugins]
A --> C[Control UI catalog]
A --> D[Release and CI tooling]
B --> E[Conversation and memory state]
C --> F[Updated model pickers]
D --> G[Qualified builds and publication evidence]
Technical reviewBest possible solution: Retain the faithful backports under the existing subsystem owners and qualify the combined release candidate before inclusion. Do we have a high-confidence way to reproduce the issue? The release-base source exposes the reported recovery, eager-startup, and stale-catalog paths, and the merged repair discussions include matching failures and regression controls; no target code was executed during this review. Is this the best way to solve the issue? Faithful backports are appropriate here: they reuse existing recovery, lifecycle, provisioning, and publication owners, and remove the replaced Codex preparation and Linux mirror entry paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5b1e93eaef0e. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +95, Tests +1081, Docs +66, Config +286, Other +384. Total +1912 across 61 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 20, 2026, 2:59 AM ET / 06:59 UTC. |
What Problem This Solves
Fixes: the
2026.10.10release branch is missing applicable release-tooling and CI-flake repairs recorded in the release retrospective ledger.User Impact
User impact: release operators and CI get the known provenance, publication, Android, Codex, memory, SQLite, UI-catalog, and test-stability fixes that apply to this branch.
Why This Change Was Made
This is one aggregate backport for 13 ledger-linked repairs, cherry-picked with provenance.
Included repair PRs: #172661, #170297, #172689, #172745, #172668, #172705, #173615, #173656, #173465, #173781, #173813, #174718, and #174812.
Repairs already present through explicit branch backports were excluded rather than duplicated.
Evidence
git diff --checkpasses; all 13 commits carry the required co-author trailer.pr-merge-outcome.test.tsfails locally because the recorded PGID remains alive; the other 58 tests pass. PR CI will re-evaluate it in a clean runner.check:workflowslackspython3.14-venv, and branch-vs-main ratchets prevent a clean aggregatepnpm checkon this release base.