Repository navigation
fix: retain 2026.8.1 release fixes on main - #134045
Conversation
Preserve the stable envelope, provider catalog, and thinking callback names while retaining current main runtime owners. Carry forward the verified realtime catalog cleanup and its consumer fixtures. Clarify the required-terminal result contract shipped in 2026.8.1 and the supported legacy producer migration path. Correct the unavailable FileAuthStorageBackend import promise without changing storage or authority.
Remove 89 stale Unreleased bullets whose 109 primary PR references already shipped in 2026.8.1. Preserve every other line and all numbered release sections byte-for-byte, including contributor credit and the canonical 2026.8.1 record. The removed mixed references are existing issue context or unmerged candidate PR citations already corrected in the published notes. New post-release followups remain untouched.
Forward the missing release runtime fixes while retaining main native accounting ownership. Validate restart cleanup in the synchronous commit after queued patch preparation, preserve parent deadline precedence, and mark empty-session token totals stale when a turn supplies no usage.
Seed canonical durable sessions, retain one admission across fallback candidates, and close the actual prepared context after each run. Preserve result assertions and drain preparation failures before restoring shared filesystem spies.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 1:24 PM ET / 17:24 UTC. ClawSweeper reviewWhat this changesThe PR forwards selected v2026.8.1 fixes into main across plugin SDK compatibility, restart recovery, provider catalog handling, skill watching, worker deadlines, release tooling, documentation, and tests. Merge readinessKeep this same-repository release forward-port open for maintainer handling. The reviewed SDK and GPT-Live changes restore the v2026.8.1 contract while current main still differs; no concrete introduced correctness or security defect was found, but exact-head CI is still running. Priority: P1 Review scores
Verification
How this fits togetherOpenClaw’s provider plugin supplies realtime model choices to Talk and the Gateway relay, which use the selected model to create a live session. Agent execution also passes lifecycle state through recovery and session-storage owners so restarted deliveries cannot overwrite a newer run. flowchart LR
A[Talk configuration] --> B[OpenAI provider catalog]
B --> C[Gateway relay]
C --> D[Realtime session]
E[Agent run] --> F[Restart recovery]
F --> G[Session storage]
H[Plugin callers] --> I[Public SDK boundary]
Decision needed
Why: This is a maintainer-authored, protected release reconciliation spanning compatibility-sensitive SDK, provider, and session-recovery surfaces. Before merge
Agent review detailsSecurityNone. PR surfaceSource +87, Tests +567, Docs -244, Other +3. Total +413 across 39 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the released SDK, recovery, and GPT-Live contracts on main, then merge after exact-head checks pass and the release owner accepts the remaining forward-port scope. Do we have a high-confidence way to reproduce the issue? Yes, at source level: fetched main differs from the v2026.8.1 SDK and GPT-Live contracts, and the affected owner-boundary tests are present on this branch. This read-only review did not execute the tests. Is this the best way to solve the issue? Yes, provisionally: compatibility is restored at the public SDK boundary, and recovery ownership is revalidated inside the storage owner’s synchronous commit. Exact-head CI and the unavailable upstream Codex inspection remain the review limits. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b6cd3c6de3e9. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them. Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation.
Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts.
Preserve the recovery coverage added in #134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary. Co-authored-by: Shakker <[email protected]>
|
Merged via squash.
|
* fix(skills): retain Windows short-path watcher repair on main * fix(release): verify freshly published npm plugin artifacts * fix(plugin-sdk): forward release caller contracts to main Preserve the stable envelope, provider catalog, and thinking callback names while retaining current main runtime owners. Carry forward the verified realtime catalog cleanup and its consumer fixtures. Clarify the required-terminal result contract shipped in 2026.8.1 and the supported legacy producer migration path. Correct the unavailable FileAuthStorageBackend import promise without changing storage or authority. * fix(changelog): include merged side ancestry in release inventory * test: align catalog and node lifecycle readiness * docs(changelog): remove already shipped unreleased notes Remove 89 stale Unreleased bullets whose 109 primary PR references already shipped in 2026.8.1. Preserve every other line and all numbered release sections byte-for-byte, including contributor credit and the canonical 2026.8.1 record. The removed mixed references are existing issue context or unmerged candidate PR citations already corrected in the published notes. New post-release followups remain untouched. * fix(runtime): preserve restart claims and deadline outcomes Forward the missing release runtime fixes while retaining main native accounting ownership. Validate restart cleanup in the synchronous commit after queued patch preparation, preserve parent deadline precedence, and mark empty-session token totals stale when a turn supplies no usage. * test(agents): prepare real admission for runner regressions Seed canonical durable sessions, retain one admission across fallback candidates, and close the actual prepared context after each run. Preserve result assertions and drain preparation failures before restoring shared filesystem spies. * docs(changelog): note restart cleanup ownership repair * test: capture lifecycle operator before polling * docs(changelog): retire published notes from Unreleased * fix: authenticate CI checkout and lazy blob fetches * test(ui): isolate workspace icon retries from asset fetches * test(agents): prepare the model identity in prompt fixture * fix: prepare immutable reader history during CI checkout * fix(ci): declare historical reader selector entry point * perf(anthropic): defer auth and catalog runtime imports Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them. Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation. * docs: note deferred Anthropic runtime loading * test: include historical prerequisite in routing expectations * test(ui): await agent menu lifecycle before keyboard navigation Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts. * docs(plugins): use public provider auth import in tutorial * fix: restore gateway recovery fixture lint and types Preserve the recovery coverage added in openclaw#134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary. Co-authored-by: Shakker <[email protected]> --------- Co-authored-by: Shakker <[email protected]>
What Problem This Solves
Main was missing several fixes shipped in 2026.8.1: public plugin SDK callbacks and exports, Windows short-path skill watching, paired-worker deadline outcomes, and session usage freshness. Release verification also exposed a restart-cleanup race, eager provider loading, and CI checkout prerequisites that needed repairs at their owning boundaries.
Why This Change Was Made
The SDK adapter preserves the released callback contract while internal callers use the current owner. Session accounting retains main's newer completion architecture. Restart cleanup revalidates lifecycle ownership after asynchronous preparation, immediately before the existing synchronous database commit, so an old cleanup cannot retire a successor's recovery claim. No schema or public configuration changes are introduced.
Anthropic registration keeps descriptors synchronous and defers authentication and live catalog loading to the existing awaited hooks. CI checkout keeps repository-scoped authentication inside its Git owner, including lazy blob fetches, and prepares the selected shard's immutable historical reader before credentials leave scope. Test workers receive no checkout credentials.
Release tooling can verify newly published npm artifacts without changing dependency-install cooldown policy. Changelog attribution includes merged side ancestry. Release-owned reconciliation removes 265 already-shipped Unreleased bullets while preserving every numbered release section and its contributor credits. Fixtures use their actual build, connection-readiness, model-identity, and popup lifecycle owners. Fixes already landed on main are not duplicated.
The public plugin tutorial retains its
provider-authimport; the lightweightprovider-entryfactory export is private to bundled plugins.User Impact
Upgrades retain the fixes shipped in 2026.8.1, and delayed restart cleanup cannot erase newer recovery work. This PR does not change versions or publish packages, tags, or release assets.
Evidence
Current head
0447044d8439d6a1e7cfd01d04cfed8540e6f6e5passed full CI: 189 jobs succeeded, 13 skipped, and no retries. Final composition review passed, all 54 changelog checks passed, and numbered release history is unchanged. Concurrent main changelog additions are preserved, with the restart note beside the related lifecycle note.An earlier revision hit intermittent pressure in the transcript-import test's unchanged 256 MiB child heap. The exact candidate passed all three cases in their original order on Linux Node 24.19; unchanged main also reproduced a failure in a different case. One targeted retry on that earlier revision passed without changing source, limits, or assertions. The failure remains recorded, with heap headroom as a named follow-up; no test was waived.
Review disposition
The latest ClawSweeper review found no concrete code or security defect; the current exact head satisfies its CI rank-up. Maintainer disposition accepts the scoped checkout authentication, lifecycle commit checks, and release-owned changelog reconciliation. Direct Codex source inspection confirms the optional realtime model field and usage notification contract; it does not establish live backend availability. The public provider catalog remains consistent with the shipped release and the maintainer's naming requirement. No storage schema or persistent-store design change is introduced. The worker deadline object is process-local; recovery uses the existing synchronous storage guard. Production changes are +123/-41 (net +82), tests/support +677/-105, tooling net +3, and docs/changelog net -244. The production growth implements the shipped SDK adapter, Windows prefix resolver, and commit-boundary lifecycle checks; removing them would remove the repaired contracts. Deadline handling absorbs the old per-caller checks.
The lead personally inspected Codex commit
63d213884daea50e4f74efc192cdc44f549b67d5:codex-rs/protocol/src/protocol.rs:214and:2190, pluscodex-rs/app-server/src/bespoke_event_handling.rs:1640. These confirm the optional realtime model override and separate last/total token usage notification contracts, not live service availability.Additional instructions
Keep maintainer branch access enabled. This is a same-repository maintainer branch.