improve: speed up native session loading from paired Macs#110030
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 17, 2026, 10:29 AM ET / 14:29 UTC. Summary PR surface: Source +7, Tests +37, Other +457. Total +501 across 6 files. Reproducibility: yes. The linked issue provides a concrete four-node reproduction with a 69.9-second combined request, and the PR supplies after-fix timings from the same native and Gateway path. Review metrics: none identified. Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Preserve canonical complete Codex listing while landing the bounded Claude cache and concurrency changes only after direct Codex source confirmation and exact-head native validation. Do we have a high-confidence way to reproduce the issue? Yes. The linked issue provides a concrete four-node reproduction with a 69.9-second combined request, and the PR supplies after-fix timings from the same native and Gateway path. Is this the best way to solve the issue? Likely yes: overlapping independent discovery and caching validated Claude metadata is narrower and safer than enabling Codex AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b319493a529c. Label changesLabel justifications:
Evidence reviewedPR surface: Source +7, Tests +37, Other +457. Total +501 across 6 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
…10030) * perf(macos): accelerate native session catalogs * fix(macos): preserve Codex catalog completeness * fix(macos): bound Claude catalog work * fix(macos): type catalog continuation result * refactor(macos): satisfy session catalog lint
Closes #109838
What Problem This Solves
Fixes an issue where opening the Control UI could take tens of seconds to show native Claude Code and Codex sessions when several paired Macs had large local session histories.
Why This Change Was Made
Claude discovery now overlaps local and paired-node work. The macOS node keeps a bounded, identity-validated metadata cache and runs Claude filesystem discovery on a serialized utility worker, so it does not block Codex or unrelated node commands. Cancellation propagates through queued and active catalog work. Codex continues to use the complete canonical App Server listing path; this change does not trade completeness for speed.
User Impact
Native Claude Code and Codex sessions populate much faster after the first scan, while preserving session completeness, pagination, permission checks, and offline-node behavior.
Release-note context: speed up native Claude Code and Codex session loading from paired Macs.
Evidence
AI Assistance