Repository navigation
feat(clients): adopt worker-local inference placement - #163647
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: needs maintainer review before merge. Reviewed October 6, 2026, 1:52 PM ET / 17:52 UTC (Revision 14). ClawSweeper reviewWhat this changesThe TUI and Control UI recognize worker-local inference, use session-scoped model choices, and support configured-default worker sessions without Gateway provider credentials, with updated browser and queue-lifecycle coverage. Merge readiness✅ Ready for maintainer review This PR remains useful: the merged prerequisites do not include its client adoption, and no blocking introduced defect was found. Member-authored work is also protected from automatic closure. Priority: P2 Review scores
Verification
How this fits togetherThe TUI and Control UI consume model catalogs and placement facts published by the Gateway. Their selections enter the existing session lifecycle, while the Gateway and worker retain authorization, credential, and execution ownership. flowchart TD
A[Gateway model catalog] --> C[TUI and Control UI]
B[Worker placement facts] --> C
C --> D[Model and placement selection]
D --> E[Gateway session lifecycle]
E --> F[Authorized worker execution]
F --> G[Chat and placement updates]
G --> C
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +97, Tests +385. Total +482 across 23 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep client model selection and placement presentation driven by canonical Gateway facts, with worker credentials confined to the existing worker runtime. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature-adoption PR; source comparison establishes the missing client support, and the supplied browser captures show the placement display change. Is this the best way to solve the issue? Yes: the patch extends existing catalog and session owners rather than creating another configuration or credential owner, while retaining explicit-selection and permission checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f0984df6685f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (13 earlier review cycles; latest 8 shown)
|
|
@clawsweeper review Exact head: The current |
|
🦞👀 Re-review progress:
|
ef07d0b to
59f5e3b
Compare
142ec43 to
005a16e
Compare
59f5e3b to
8511e73
Compare
005a16e to
99cafd3
Compare
99cafd3 to
e12694c
Compare
3ef7c6e to
8d6fd82
Compare
e12694c to
392f89a
Compare
8d6fd82 to
34b30c2
Compare
9d13e40 to
19a25e5
Compare
34b30c2 to
269a0d6
Compare
19a25e5 to
94dc5ac
Compare
269a0d6 to
925a0ea
Compare
925a0ea to
e51efc6
Compare
e51efc6 to
9a6b1c3
Compare
9a6b1c3 to
fda9355
Compare
* commit 'c39d9b0692dbaafa5b1bfe02514c9f6411ab5546': (30 commits) fix(ci): clear MCP audit and service-worker test blockers (#166217) test(gateway): wait for steering admission in FIFO fixtures fix(llama-cpp): managed setup crashes and loops on macOS below 13.3 (#163358) perf(worktrees): avoid full session parsing during GC (#166072) fix(update): recover stopped legacy managed services (#166232) perf(gateway): stream bounded link preview metadata (#166195) perf(diagnostics): release completed Git operation state (#166214) chore(deps): update fs-safe to 0.24.1 and clone plugin source captures (#166189) feat(clients): adopt worker-local inference placement (#163647) test: serialize PowerShell completion process suites (#166229) test: stabilize release timing boundaries (#166218) refactor(sessions): persist run outcomes only; liveness comes from the run registry (#165733) test(gateway): prove mention refresh after config retargeting fix(team-reports): keep the missed closed day when catch-up runs after midnight (#165780) test(gateway): join WebChat queue admission and drain completion fix(logging): reject blank diagnostic stability query fields (#145532) fix(agents): report unparseable serialized edit arguments (#163577) improve(anthropic): log Claude Code version probe failures (#157697) fix(agents): clarify prompt-size provider failures (#159712) fix(memory): re-throw non-ENOENT/ENOTDIR errors in root memory file lookup (#107921) ...
* feat(clients): adopt worker-local inference placement * test(gateway): follow queued input lifecycle
What Problem This Solves
Adopts worker-local inference in the TUI and Control UI on top of merged #165960.
Stack
Rebased onto current
main, including the merged troubleshooting follow-up #165960 and its prerequisite #163646. The underlying contracts, runtime, and Gateway PRs (#158902 and #163645) are also merged. Followed by #158903.Evidence
markdown-file-tooltip.browser.test.tsnode scripts/check-changed.mjs: passed, including production/UI typechecks, all affected test typecheck shards, lint, i18n verification, dead exports, database guards, and import cyclesVisual evidence
Before: https://github.com/user-attachments/assets/a43321e3-82bf-48ea-91be-77b827194380
After: https://github.com/user-attachments/assets/c539726c-f061-4504-a184-04c0f916220a