Skip to content

S15.h: extract handoff_succession (mod.rs 870 → 658 LOC, final §4.2 cap closed) - #106

Merged
Pal Lakatos-Toth (pallakatos) merged 1 commit into
devfrom
phase2-hotspot-handoff-router
Apr 29, 2026
Merged

Pal Lakatos-Toth (pallakatos) merged 1 commit into
devfrom
phase2-hotspot-handoff-router

Conversation

@pallakatos

Copy link
Copy Markdown
Collaborator

Final §4.2 Phase 2 hotspot. Extracts the 209-LOC handoff_succession route handler from inference-router/src/routes/handoff/mod.rs to sibling succession.rs. Body byte-identical; only pub(super) visibility added.

File Before After Δ
inference-router/src/routes/handoff/mod.rs 870 658 −212
inference-router/src/routes/handoff/succession.rs (new) 0 232 +232

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-router clean
  • cargo clippy -p azureclaw-inference-router --all-targets -- -D warnings clean
  • cargo test -p azureclaw-inference-router --lib 608 passed / 0 failed

Audit doc: docs/security-audits/2026-04-29-phase2-hotspot-handoff-router.md.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

… 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>
@pallakatos
Pal Lakatos-Toth (pallakatos) merged commit 34889aa into dev Apr 29, 2026
14 of 15 checks passed
@pallakatos
Pal Lakatos-Toth (pallakatos) deleted the phase2-hotspot-handoff-router branch April 29, 2026 20:58
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant