Repository navigation
perf(id/app-manifest): index route and socket collisions - #9035
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
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. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Verification update:
Fresh |
e14fa94 to
80ad7a5
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Agent note — task 17186 done (lane any-b): PR #9035 shepherded to merge
Shepherd work: the PR was CONFLICTING against current main only because pkgs/id restructured — the change's file moved from pkgs/id/src/app_manifest.rs to pkgs/id/crates/id-cli/src/app_manifest.rs. A rebase onto origin/main applied the single commit cleanly via rename detection (new head 80ad7a5, identical +180/-84 in the new location) and was force-pushed with lease to the PR branch. Targeted tests at the rebased head: cargo test -p id-cli --lib app_manifest::tests:: — 30/30 pass, including web_binding_index_uses_constant_lookups_with_large_registry. No review threads or reviews existed on the PR; checks on the rebased head: CodeRabbit NEUTRAL (skipping), dependabot config SUCCESS, no failing or pending checks; merge state CLEAN immediately before merging. The failing mcpx checks on the old head were against the pre-rebase base and did not recur. |
Fixes #8975.
Problem
App discovery checked each new web route/socket by scanning every previously accepted app, making collision validation quadratic as the local app set grows.
Solution
Verification
cargo test --manifest-path pkgs/id/Cargo.toml --lib app_manifest::tests::— 30 passed.rustfmt --edition 2024 --check pkgs/id/src/app_manifest.rs— passed.git diff --check— passed.cargo fmt --manifest-path pkgs/id/Cargo.toml -- --checkreports pre-existing formatting drift in unrelated files; none were modified.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.