Repository navigation
Conversation
sync: update fork from upstream main
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🦞👀 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: needs real behavior proof before merge. Reviewed September 26, 2026, 10:58 AM ET / 14:58 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch copies the environment and related request fields into cloneable values before sending exact session-entry reads to a worker, and adds a proxy-environment regression test. Merge readiness⛔ Blocked before merge - 2 items remain The Windows worker-cloning defect remains on current main, and this is a focused repair. A newer open PR addresses the same boundary, but its landing viability is unverified, so this branch should stay open. Priority: P1 Review scores
Verification
How this fits togetherIsolated automation setup reads session entries through a worker. The session reader prepares a request from the caller's environment and session keys, then the worker reads SQLite and returns the entries. flowchart LR
A[Isolated automation] --> B[Session entry request]
B --> C[Cloneable request snapshot]
C --> D[Worker transport]
D --> E[SQLite session read]
E --> F[Session entries]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +7, Tests +38. Total +45 across 2 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Land one focused worker-boundary repair with observed Windows cron recovery, then resolve the overlapping PRs and linked reports without maintaining parallel fixes. Do we have a high-confidence way to reproduce the issue? Yes, from source and the linked Windows failure trace: the platform clone is a Proxy, and current main forwards it into a structured-cloned worker request. I did not execute the path in this read-only review. Is this the best way to solve the issue? Yes, copying the environment at the existing worker boundary matches the sibling reader's approach. A real worker or Windows cron run should confirm the branch's after-fix behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 785fdcaa5457. LabelsLabel changes:
Label 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 (1 earlier review cycle)
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(sessions): clone exact-entry env before worker transport This is item 2/3 in the current shard. Shard 63/76. This temporary status tracks the active review worker. The completed review will appear in the durable ClawSweeper review comment. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
I'm the author of #157067. Our native-Windows results support the core environment-materialization change here: #157067 (comment). We built an equivalent local repair from v2026.9.6 using This is supporting evidence for the repair mechanism, not validation of this PR's exact head ( Investigation and this comment assisted by Codex. |
|
Thanks, @yashas-13, for the exact-entry environment Proxy investigation and proposed repair. I’ve carried the finding forward in #160075, which covers both the registered exact-entry reader and the earlier session-store discovery transport, with real-worker regression proof. You’re credited in the PR body and commit. Closing this overlapping PR so review and the pending native Windows CI validation can continue in one place. |
Capture plain storage environment facts before exact-entry and store-discovery worker dispatch, and restore platform lookup semantics inside the worker. Reuse the storage environment owner while copying only its routing inputs. Cover admission and configured-store cron preparation with the Windows env Proxy through real worker transport, and include the regressions in Windows CI. Closes #157067 Closes #159339 Refs #157109 #157348 Co-authored-by: Aniket Kumar <[email protected]> Co-authored-by: Yashas Prakash <[email protected]>
Capture plain storage environment facts before exact-entry and store-discovery worker dispatch, and restore platform lookup semantics inside the worker. Reuse the storage environment owner while copying only its routing inputs. Cover admission and configured-store cron preparation with the Windows env Proxy through real worker transport, and include the regressions in Windows CI. Closes #157067 Closes #159339 Refs #157109 #157348 Co-authored-by: Aniket Kumar <[email protected]> Co-authored-by: Yashas Prakash <[email protected]>
) Windows cron isolated-agent runs and session transcript discovery failed with DataCloneError because the request carried the Windows process-environment proxy into the transcript worker. Exact-entry and discovery requests now capture a plain, bounded storage environment and the worker restores Windows lookup semantics. Closes #157067. Closes #159339. Supersedes #157109 and #157348 (closed with credit). Landed under the pre-existing-red rule (#161124 and session-store main reds).
…claw#160075) Windows cron isolated-agent runs and session transcript discovery failed with DataCloneError because the request carried the Windows process-environment proxy into the transcript worker. Exact-entry and discovery requests now capture a plain, bounded storage environment and the worker restores Windows lookup semantics. Closes openclaw#157067. Closes openclaw#159339. Supersedes openclaw#157109 and openclaw#157348 (closed with credit). Landed under the pre-existing-red rule (openclaw#161124 and session-store main reds).
* fix(sessions): restore Windows cron setup and session admission (#160075) Windows cron isolated-agent runs and session transcript discovery failed with DataCloneError because the request carried the Windows process-environment proxy into the transcript worker. Exact-entry and discovery requests now capture a plain, bounded storage environment and the worker restores Windows lookup semantics. Closes #157067. Closes #159339. Supersedes #157109 and #157348 (closed with credit). Landed under the pre-existing-red rule (#161124 and session-store main reds). (cherry picked from commit a181c3f) * fix(codex): avoid browser auth in CUA readiness (#162467) (cherry picked from commit 9f9dab3) * chore(release): prepare 2026.9.7-1 * chore(release): prepare 2026.9.8 * fix(gateway): normalize quiescence recovery diagnostics Keep the retained watchdog recovery error consistent with the single-line workspace sync error surfaced to operators on single-digit days. Preserve raw ps start identities for signal guards and existing watchdogs. Make the existing exhaustion regression calendar-independent with padded lstart input, retaining the exact recoveryError assertion and proving that all stopped workers resume after process probes recover. Verified the original UTC failure and the deterministic pre-fix failure. The full quiescence script file passes under UTC, the exact regression passes in the default timezone, and 15 sibling tests pass. Core typecheck, formatting, diff checks, and independent review also pass. --------- Co-authored-by: Peter Steinberger <[email protected]>
Fixes #157067.
The exact-session-entry worker reader forwarded
input.envdirectly across the worker boundary. On Windows, that environment can be the Proxy returned bycloneEnvWithPlatformSemantics, which Node worker structured cloning rejects withDataCloneError.This patch:
envinto a plain object beforesession-exact-entriestransport;structuredClone.The sibling
session-row-factsreader already follows this materialization pattern.