Skip to content

SI-24: Relocate axum-http-server test environment infrastructure to src/testing/ (EPIC #1669) #1904

Closed

Description

@josecelano

Subissue of EPIC #1669 — Overhaul: Packages

Part of the test environment relocation series:

  1. SI-23 (prerequisite SI-23: Relocate axum-rest-api-server test environment infrastructure to src/testing/ (EPIC #1669) #1903): Decouple rest-api-core from concrete UDP types
  2. SI-24: Relocate axum-rest-api-server test environment (done)
  3. This subissue (SI-25) — udp-server test env relocation
  4. SI-26: Relocate axum-http-server test environment

Same pattern as the other server packages: packages/udp-server/src/environment.rs lives in production code but is only consumed by tests and examples:

  • packages/udp-server/tests/
  • packages/udp-server/examples/
  • packages/axum-health-check-api-server/tests/

It depends on the full tracker stack for test convenience, forcing unnecessary runtime dependencies.

Scope

  1. Relocate environment.rs to src/testing/environment.rs (Option A — consistent with existing pattern).
  2. Update consumers: packages/axum-health-check-api-server/tests/, packages/udp-server/examples/.
  3. Run cargo machete, update Cargo.toml if any deps can be demoted.
  4. Verify linter all and cargo test --workspace.

Acceptance Criteria

  1. udp-server/src/environment.rs no longer exists (moved to src/testing/).
  2. cargo test --workspace passes.
  3. cargo machete passes.
  4. linter all passes.

Activity

  1. added
    Code Cleanup / Refactoring
    EPIC
    and removed
    EPIC
    on Jun 11, 2026
  2. self-assigned this
    on Jun 11, 2026
  3. added 2 commits that reference this issue on Jun 11, 2026
  4. added 2 commits that reference this issue on Jun 18, 2026
  5. added a commit that references this issue on Jul 20, 2026
    dc61a75
  6. added a commit that references this issue on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Code Cleanup / Refactoring

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions