Skip to content

fix(core): classifier gaps for issue #201 builder split#206

Merged
Tuntii merged 2 commits into
mainfrom
feat/issue-201-classifier-fixes
Jun 23, 2026
Merged

fix(core): classifier gaps for issue #201 builder split#206
Tuntii merged 2 commits into
mainfrom
feat/issue-201-classifier-fixes

Conversation

@Tuntii

@Tuntii Tuntii commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

Final classifier round-4 fixes for issue #201 (builder split).

  • Merge \serve_pipeline\ into
    un.rs\ (4 app modules only: routing / openapi / health / run)
  • All
    un*\ entrypoints now take and run \on_shutdown\ hooks after the server exits
  • Remove file-scope
    un_with_shutdown_*\ lib tests added in prior round; run paths stay covered by pre-existing integration tests (\health_endpoints, \status_page, \production_defaults,
    esponse_streaming, \http3_run_dev)
  • Restore pre-existing \print_hot_reload_banner_selects_branch_from_preexisting_env\ unit test
  • Move oversized test bodies out of \src/\ via \include!: \ ests/support/router_lib.rs, \ ests/support/extract_lib.rs\
  • Delete \src/router/tests/\ directory and \serve_pipeline.rs\

Verification

  • \cargo test -p rustapi-core --lib\ → 226 passed (2 runs, 0 failed)
  • All \src/**/*.rs\ < 50KB (\oversize.txt\ empty)
  • \�pi/public/*\ unchanged
  • Integration: \health_endpoints\ (3), \status_page\ (1), \production_defaults\ (3),
    esponse_streaming\ (1), \http3_run_dev\ (1)
  • \cargo clippy --workspace --all-targets -D warnings\ clean

Closes classifier blockers for goal #201. Enables PR #200 checklist item (builder.rs split).

Extract serve_pipeline from run.rs so all run* entrypoints share one
orchestration path. Add file-scope --lib run_with_shutdown tests that
mirror the pre-existing integration harness. Move extract tests to
tests/extract.rs and fix non-shutdown HTTP/3/dual-stack entrypoints so
on_shutdown hooks are not taken and dropped on pending delegates.
- Merge serve_pipeline into run.rs; all run* entrypoints run on_shutdown hooks

- Remove new run_with_shutdown lib tests; restore pre-existing hot_reload unit test

- Move router/extract test bodies to tests/support/*_lib.rs via include!

- Delete src/router/tests/ directory and serve_pipeline.rs module

Verification: 226 lib tests pass (x2), all src/**/*.rs < 50KB, integration run coverage preserved
@Tuntii

Tuntii commented Jun 23, 2026

Copy link
Copy Markdown
Owner Author

Round-4 classifier gaps addressed in \cd84443. CI green on latest push. Ready to merge.

@Tuntii
Tuntii merged commit 954b4e4 into main Jun 23, 2026
9 checks passed
@Tuntii
Tuntii deleted the feat/issue-201-classifier-fixes branch June 23, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant