Repository navigation
fix(workboard): await owner RPC handlers consistently - #190044
Conversation
Keep accepted owner RPC requests awaited while using a consistent void result on both validation and dispatch paths. Co-authored-by: steipete <[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: needs maintainer review before merge. What this changesThis PR makes the Workboard owner RPC wrapper async and awaits its existing handler to satisfy consistent-return linting. Example: Linting extensions/workboard/src/gateway.ts with typescript/consistent-return enabled
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it makes a focused lint repair while preserving owner RPC completion and authorization behavior; no actionable code defects were found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherWorkboard CLI owner RPCs enter the plugin Gateway wrapper, validate the expected owner, and delegate to the existing store operation and response handler. flowchart LR
A[Workboard CLI] --> B[Gateway RPC adapter]
B --> C[Owner wrapper]
C --> D[Existing request handler]
D --> E[Workboard store]
D --> F[RPC response]
Technical reviewBest possible solution: Retain this minimal wrapper repair and the existing owner validation, response handling, and settlement lifecycle. Do we have a high-confidence way to reproduce the issue? The base wrapper visibly mixes bare and value returns while typescript/consistent-return is enabled; the PR reports a failing-base/passing-head replay, and exact-head extensions lint passes, but no checks were run during this read-only review. Is this the best way to solve the issue? The existing wrapper is the correct owner for this repair: async plus await preserves completion and rejection propagation without adding machinery, suppressions, or redundant tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7e8e26bd413e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0. Total 0 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 31, 2026, 11:47 PM ET / November 1, 2026, 03:47 UTC. |
|
Merged via squash auto-merge.
|
Keep accepted owner RPC requests awaited while using a consistent void result on both validation and dispatch paths. Co-authored-by: steipete <[email protected]>
What Problem This Solves
Fixes the deterministic Workboard
consistent-returnfailure in the extensions lint stripe, observed while repairing main CI run 41265289027.User Impact
No user-visible behavior change. Owner RPC requests still wait for the operation and response to settle.
Why This Change Was Made
Make the existing owner wrapper async and await its handler so validation and dispatch consistently return void. Owner validation and live-authority checks stay in their existing owner. The complete change is two added and two removed lines; no new helpers or tests.
Evidence
6e7bded586f7: focused CI-mode lint passed; full CI-mode extensions stripe 2/3 passed all eight leaves, including diagnostic parity. Existing Solid warnings are unchanged.6e7bded586f7and local head17159fde29e069213004847f0e493bb90f6e9324; published commit has the same reviewed tree. Reviewer assessed supplied source and validation evidence without executing the tests.