You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gate the udp-server test environment behind a testing feature (#2482 subissue 4) #2699
Subissue 4 of sub-EPIC #2482 (Reorganize test support code shared between workspace packages), itself a sub-EPIC of EPIC #1669 (Overhaul: Packages). It applies rule A of the ADR docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md to udp-server, the first server test environment to move.
Goal
Compile packages/udp-server/src/testing/ only with a non-default testing feature, make the one dependency only that module uses (torrust-tracker-swarm-coordination-registry) optional, and let the package's own targets (path-only self dev-dependency) and axum-health-check-api-server's [dev-dependencies] enable the feature.
Why
pub mod testing; is compiled unconditionally, so the test environment is part of the shipped public API and forces a dependency into normal builds.
Tasks
T1: record the baseline (dependency tree, test counts).
T2: gate the module, add the feature, the optional dependency, the self dev-dependency and the deny.toml wrapper entry.
T3: enable the feature from axum-health-check-api-server's [dev-dependencies].
T4: keep the existing example on the test environment, add a production-style example, and label both.
T5: verify (tests with and without --all-features, Shipped Features red and green, machete, deny, packaging, nightly check, bench build) and update the inventory and diagram.
The full specification is in the spec PR that follows.
Activity
docs(pr-reviews): [torrust#2699] start the audit record of PR 2700
docs(issues): [torrust#2699] relabel the coupling report subissue lis…
docs(issues): [torrust#2699] rename the inventory subissue column to …
docs(pr-reviews): [torrust#2699] record round 1 of the PR 2700 review
docs(pr-reviews): [torrust#2699] record round 2 of the PR 2700 review
docs(issues): [#2699] specify gating the udp-server test environment
Merge #2700: docs(issues): [#2699] specify gating the udp-server test…
docs(pr-reviews): [torrust#2699] start the audit record of PR 2711
docs(issues): [torrust#2699] record the cargo-chef problem, the optio…
fix(container): [torrust#2699] pin torrust-cargo-chef 0.1.79 for opti…
docs(issues): [torrust#2699] record the cargo-chef fix, its fork PR a…
7 remaining items
refactor(axum-health-check-api-server): [#2699] enable the udp-server…
docs(udp-server): [#2699] label the public tracker example as followi…
feat(udp-server): [#2699] add a production-style public tracker example
docs(issues): [#2699] record the manual verification evidence
docs(issues): [#2699] mark the udp-server part of inventory pattern A…
refactor(udp-server): [#2699] follow the application's listener polic…
docs(issues): [#2699] record the verification re-run, pre-push and th…
docs(issues): [#2699] record the completion review and the retrospective
docs(pr-reviews): [torrust#2699] start the audit record of PR 2722
chore(issues): archive closed issue #2699 spec to docs/issues/closed
Merge #2722: chore(issues): archive closed issue #2699 spec to docs/i…
docs(adrs): amend the test-support ADR with the examples decision (#2699
Merge #2723: docs(adrs): amend the test-support ADR with the examples…
Merge torrust#2711: refactor(udp-server): [torrust#2699] gate the tes…