Repository navigation
Conversation
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughUpdated project host setup compatibility merging to deduplicate repo-derived setups using host and repository identity. Expanded tests to require exact setup counts and contents, and added coverage confirming that an authoritative paired-runtime setup takes precedence over its repo-derived fallback. ✨ Finishing Touches📝 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 |
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The regression came from #9994: authoritative setups gained
runtimeOwnerEnvironmentId, while repo-derived fallbacks did not. Using the richer owner key to decide fallback coverage caused both records to survive even though they represented the same setup.Screenshots
Before — one saved
windows 2runtime and one authoritative setup rendered twice:After — no styling changes; the store-level integration oracle requires exactly one authoritative row for this topology.
Testing
pnpm lintpnpm typecheckpnpm testpnpm buildFocused and broad validation:
repos-nested-ssh-projection.test.tsFull-suite note: one run reached 36,509 passing tests with two unrelated relay environment-expectation failures caused by inherited Git config entries; that file passes with a clean Git env. A clean-env rerun reached 36,510 passing tests with one unrelated concurrent E2EE keepalive flake;
remote-runtime-client.test.tspasses in isolation (9/9). No failed full-suite test imports or exercises the changed renderer store code.AI Review Report
The review traced the live topology and confirmed there is one saved runtime, one remote repo, and one authoritative setup. It checked the main regression risks:
executionHostIdsetups behind one runtime remain separate; the test now asserts exact cardinality of two, with no synthetic third fallback.Cross-platform review found no OS-specific branches, shortcuts, shell behavior, filesystem operations, or path parsing in the change. Windows, macOS, Linux, SSH, and paired-runtime paths remain opaque catalog data; the Windows path shown in the report is not normalized or rewritten.
Security Audit
No new input handling, command execution, filesystem access, auth, secrets, dependencies, IPC, or network behavior. The change only compares already-hydrated in-memory setup identity fields. No follow-up security work is needed.
Notes
Regression risk is low but concentrated in catalog identity. The fix deliberately uses a narrower key only to decide whether an authoritative record covers a repo-derived fallback; authoritative-to-authoritative merging still uses the richer runtime/execution-host identity from #9994. This avoids undoing nested SSH routing while removing the duplicate UI row.
This is client-side and protocol-compatible: updated clients work with both old servers (repo fallback) and current servers (authoritative setup), while older clients can continue showing the duplicate until upgraded.