Repository navigation
Conversation
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Daemon protocol bump
37 → 38—PROTOCOL_VERSIONis now 38 so a build frommainstarts a fresh daemon instead of reusing the v37 daemon shipped by the 1.4.217 patch release. - v37 kept attachable — 37 is appended to
PREVIOUS_DAEMON_PROTOCOL_VERSIONS, socreateLegacyDaemonAdapterskeeps running v37 owners attachable while they drain. - Named marker —
POST_1_4_217_PATCH_DAEMON_PROTOCOL_VERSION = 38documents the boundary, mirroring theCODEX_NO_DAEMON_SHELL_LAUNCH_DAEMON_PROTOCOL_VERSION = 37precedent from #23907. - Compatibility contract —
local-build-compatibility-contract.{json,ts}bumpdaemonProtocolVersionto 38 and append 38 toattachableDaemonProtocolVersions. - Version tests updated — the protocol-version and foreground-confirmation tests pin 38 and add 37 to the previous-version list.
The bump is internally consistent: src/main/local-builds/local-build-compatibility-contract.test.ts:11 enforces daemonProtocolVersion === PROTOCOL_VERSION and attachableDaemonProtocolVersions === [...PREVIOUS, PROTOCOL_VERSION], createLegacyDaemonAdapters derives adapters from PREVIOUS_DAEMON_PROTOCOL_VERSIONS (so v37 arrives automatically), and 38 stays distinct from the previous set (the invariant src/main/ipc/pty-management.ts:143 relies on). The config/scripts/*.mjs protocol readers still take the leftmost PROTOCOL_VERSION = <n> match, so the new sibling marker line does not perturb them.
One sequencing note, already captured in the PR body: this only takes effect if it lands before the next release is cut from main, and it explicitly must not be cherry-picked into 1.4.217.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe daemon protocol version changes from 37 to 38. The new Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to Protocol v38 is current while v37 remains compatible, and the smoke scripts use the new version. No actionable compatibility blocker is supported by the supplied evidence. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new build uses a separate daemon endpoint while keeping existing terminals attachable. The reviewed connection and ownership controls remain in place. Rollback and concurrent-start behavior have not been fully validated. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 4 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing: obsolete. v1.4.219 ships at daemon protocol v38 via the release branch; main is at v39. |

ELI5
Orca keeps a background terminal service running across app updates, and an updated app reuses a running service whenever the version number matches. The 1.4.217 patch release is cut from the Sep 27 daily build plus #23900/#23907, so it ships a v37 service that has the Codex fix but none of main's other service-side changes since that cut. Main is also v37 today, so 1.4.218 would quietly reuse 1.4.217's older service instead of starting its own. This bumps main to v38 so it starts a fresh service.
What Changed
Before: a user who installs 1.4.217 and later updates to a build from main, with terminals open, keeps running 1.4.217's v37 service. New tabs miss main's post-cut service fixes (#23500 OpenCode stale plugin env, #22468 DSH spawn env, #23584/#23474 input-mode fixes, #23602 Reset Terminal's service side) until every terminal is closed.
After: main's build looks for a v38 service, doesn't find one, and starts a fresh one with all of main's fixes. Tabs already open stay on v37 and remain attachable.
Mechanism:
PROTOCOL_VERSION37 → 38 with a named marker, 37 added toPREVIOUS_DAEMON_PROTOCOL_VERSIONS(legacy adapter keeps v37 owners attachable), local-build compatibility contract and version tests updated. Same shape as #23907. No other code changes.Why
The service is chosen only by protocol version (
daemon-v<N>.sock/ versioned named pipe), and replacing a service with live terminals would kill them, so a version bump is the only way to roll new service code to users who update with terminals open. The alternative, doing nothing, is safe (nothing crashes; Reset Terminal treats a rejecting service as unsupported) but leaves those fixes unreachable for 1.4.217 users until a restart.Trade-off: a user updating 1.4.216 → 1.4.217 → 1.4.218 without closing tabs may briefly run v36, v37 and v38 services side by side; each exits when its last tab closes.
Linked Issue
Follow-up to #23907 (v37 is shipped by the 1.4.217 patch release).
Visual Proof
N/A: no UI change.
Testing
tsc(node) clean.src/main/daemon,src/main/providers,src/main/ipc/pty, local-build contract, electron-builder config tests: 4288 passed. The only 2 failures arerepro-13767-shell-ready-marker-lost-to-exec, which fails on macOS without this change too.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes