Repository navigation
S15.h: extract handoff_succession (mod.rs 870 → 658 LOC, final §4.2 cap closed) - #106
Merged
Merged
Conversation
… LOC, §4.2 cap closed) Final §4.2 Phase 2 cap. Extracts the 209-LOC handoff_succession route handler from inference-router/src/routes/handoff/mod.rs to sibling inference-router/src/routes/handoff/succession.rs. Body byte-identical; only pub(super) visibility added so the routes table can still reference it via 'use succession::handoff_succession;'. mod.rs: 870 → 658 LOC (142 under cap of 800). All §4.2 Phase 2 caps closed. cargo build / clippy / test: 608 passed / 0 failed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pal Lakatos-Toth (pallakatos)
added a commit
that referenced
this pull request
May 12, 2026
… LOC, §4.2 cap closed) (#106) Final §4.2 Phase 2 cap. Extracts the 209-LOC handoff_succession route handler from inference-router/src/routes/handoff/mod.rs to sibling inference-router/src/routes/handoff/succession.rs. Body byte-identical; only pub(super) visibility added so the routes table can still reference it via 'use succession::handoff_succession;'. mod.rs: 870 → 658 LOC (142 under cap of 800). All §4.2 Phase 2 caps closed. cargo build / clippy / test: 608 passed / 0 failed. Co-authored-by: Pal Lakatos-Toth <pallakatos@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Final §4.2 Phase 2 hotspot. Extracts the 209-LOC
handoff_successionroute handler frominference-router/src/routes/handoff/mod.rsto siblingsuccession.rs. Body byte-identical; onlypub(super)visibility added.inference-router/src/routes/handoff/mod.rsinference-router/src/routes/handoff/succession.rs(new)mod.rs is now 142 LOC under the §4.2 cap of 800. All §4.2 Phase 2 caps closed.
Verification
cargo build -p azureclaw-inference-routercleancargo clippy -p azureclaw-inference-router --all-targets -- -D warningscleancargo test -p azureclaw-inference-router --lib608 passed / 0 failedAudit doc:
docs/security-audits/2026-04-29-phase2-hotspot-handoff-router.md.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com