Repository navigation
Conversation
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR removes an obsolete loader property from a Gateway subscription test fixture. Example: Typecheck the Gateway subscription preparation-failure regression.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is correct, but its exact fix already exists on main and its verified test merge adds no changes; the maintainer-authored keep-open guard leaves disposition to the maintainer. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI subscription RPC passes session keys to the Gateway subscription owner, which prepares readers, acknowledges admission, and reports preparation failures. flowchart LR
A[Control UI subscription request] --> B[Gateway RPC handler]
B --> C[Subscription owner]
C --> D[Reader preparation]
D --> E[Preparation failure]
E --> F[Gateway warning and acknowledgement]
Technical reviewBest possible solution: Retain the identical repair already on main and let the maintainer retire this redundant PR. Do we have a high-confidence way to reproduce the issue? The original excess-property failure is source-verifiable at the pinned introduction base and has supplied RED/GREEN typecheck evidence; fetched main already removes the offending property, and no tests were executed during this read-only review. Is this the best way to solve the issue? Deleting the unused property is the smallest complete fix: the preparation callback throws before loading, and no production hook, type weakening, or assertion change is needed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8a796a17698d; fix evidence: commit 833bd279bd36, main fix timestamp 2026-10-19T07:46:20Z. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -1. Total -1 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
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 19, 2026, 4:20 AM ET / 08:20 UTC. |
|
Already fixed on main by 833bd27 (identical repair); the squash would produce the current main tree. Closing as superseded. |
What Problem This Solves
Fixes the Gateway test typecheck failing after the subscription preparation regression was added in #177038.
User Impact
There is no runtime behavior change. This restores the affected test typecheck while keeping the preparation-failure regression intact.
Why This Change Was Made
The regression supplied an obsolete
loadfixture property, removed fromSubscriptionDepsin #176962. Remove that unused property instead of restoring a test-only production hook or weakening the type.Evidence
The failure surfaced in PR #176777's
check-test-types-core-2job:The same job on the last scheduled main run passed at
4278e94e48b2, before #177038. Current main99f5d0f8e4e0reproduces the error locally. Recent main pushes run only the security workflow, so there is no completed same-job result for that newer main commit.Validation:
OPENCLAW_TYPECHECKER=tsrs node scripts/run-tsgo-core-test-shards.mjs --ci-graphs-json '["core-test-gateway-methods"]': RED on99f5d0f8e4e0(the same TS2353, 5.2s); GREEN with this deletion (4.2s).node scripts/run-vitest.mjs src/gateway/server-methods/control-ui.test.ts --maxWorkers=1 -t 'reports subscription preparation failures without rejecting the request': passed, 46ms test time / 175.44s Vitest / 201.02s wrapper with cold compilation; 45 unrelated cases filtered.git diff --check: passed.9c2032c09f9a: green, including all nine Control UI e2e shards and the CI gate. The path-based plan skipped type jobs; the local RED/GREEN graph above is the direct typecheck proof.Production delta: 0 lines; test delta: −1 line.