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
docs(issues): [#2724] spec for gating the axum-http-server test environment - #2725
Related to #2724. Spec-only pull request for row 5 of sub-EPIC #2482 (apply ADR rule A to axum-http-server): the refreshed spec in docs/issues/open/2724-2482-gate-axum-http-server-test-environment/ISSUE.md, with the dependency audit, the measured baseline, the maintainer decisions of 2026-11-04 (keep the testing-style example and add a production-style one; swarm-coordination-registry, torrust-clock and torrust-info-hash become optional; configuration stays), the #2482 EPIC row, the inventory link and the coupling report link. No code changes; the implementation follows in a separate pull request after this one merges. The bot account could not add labels or link #2724 under #2482, so the maintainer does that.
…isions
Re-verify the draft against develop (716-line environment, gate satisfied),
record the dependency audit and the baseline counts, and the 2026-11-04
decisions on the examples and the optional dependencies.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… to open
Related to torrust#2724. Move the refreshed draft to docs/issues/open/, set the
issue number, and link it from the torrust#2482 EPIC row, the inventory and the
coupling report.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The issue records 8 tests instead of 11 and leaves the new asynchronous startup path’s ownership, cleanup guarantees, readiness deadlines, and required design-review checkpoint unspecified.
This documentation-only PR promotes #2724 from draft to an open specification for row 5 of EPIC #2482: gating axum-http-server test support behind a non-default testing feature. Implementation remains in a separate PR.
Changes:
Records the dependency audit, test baseline, and decisions on optional dependencies and paired examples.
Defines implementation tasks, acceptance criteria, and verification checks.
Updates the parent EPIC, inventory, and coupling-report links.
…aseline
Develop gained three readiness tests (torrust#2697) after the first measurement:
the health check package has 11 integration tests, not 8. Record both
measurements and have T2 remeasure on the implementation base.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…of the new example
Specify who owns the tasks of the production-style example, its normal,
failure and drop paths, the absolute deadline that bounds every await, and
the design-review checkpoint after the first passing T4 slice.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
A deadline shared across startup, normal operation, and shutdown can expire before SIGTERM, leaving no time to drain the server or join listeners and unintentionally limiting server lifetime.
[Minor][F5] Give startup and shutdown separate absolute deadlines
A deadline computed before startup can expire while the example serves requests, leaving no budget to drain the server or join listeners when SIGTERM arrives. Bounding the normal signal wait also imposes an unintended maximum server lifetime. Share one deadline across startup/readiness operations, compute a fresh deadline when shutdown begins, and explicitly exempt the normal signal wait.
Copilot review 5774058054, finding F5 (a review-body finding with no thread): fixed. The Design and Ownership Review of the spec now has two separate absolute deadlines (one for start and readiness, a fresh one computed when shutdown begins) and leaves the wait for the shutdown signal unbounded, so the example has no maximum lifetime and the stop sequence gets its full budget. Resolution: commit 'docs(issues): [#2724] give the example separate startup and shutdown deadlines'.
…nment behind the testing feature
2780bc6 docs(pr-reviews): [#2724] record round 1 of the PR 2729 review (josecelano-bot)
721f4ee docs(issues): [#2724] record the verification evidence and mark the inventory row resolved (josecelano-bot)
8fe0fd2 docs(axum-http-server): [#2724] add a production-style example and label the testing-style one (josecelano-bot)
0af0e77 refactor(axum-http-server): [#2724] gate the test environment behind the testing feature (josecelano-bot)
Pull request description:
## Summary
Applies ADR rule A (`docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md`) to `axum-http-server` (row 5 of sub-EPIC #2482):
- `src/testing/` is compiled only with the new non-default `testing` feature.
- `torrust-clock`, `torrust-info-hash` and `torrust-tracker-swarm-coordination-registry` become optional (direct normal dependencies: 26 to 23).
- The package enables the feature through a path-only self dev-dependency (with the `deny.toml` self wrapper); `axum-health-check-api-server` enables it from its dev-dependencies.
- New `examples/http_only_public_tracker_production_style.rs` starts the server the way the application does, without `testing`; the existing example is labelled as the testing-style one.
Evidence: `docs/issues/open/2724-2482-gate-axum-http-server-test-environment/manual-verification-evidence.md` (test counts unchanged, shipped features positive and negative, deny, machete, package, nightly check, container recipe with `torrust-cargo-chef` 0.1.79, shipped binary).
Spec PR: #2725.
Closes#2724
🤖 Generated with [Claude Code](https://claude.com/claude-code)
ACKs for top commit:
josecelano:
ACK 2780bc6
Tree-SHA512: 19a3f02a71d613c2530b4c725f173848fa4512c5b926fc75b9f91a4b9cdb1eb1897ea7d50e6fb56751f6c9bfd720ed35c6b219b162aa6c69d87da5b70e24dbbe
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: It changed only an issue specification, EPIC and inventory records and a review record under docs/, with no executable code, build or CI effect.
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
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.
Related to #2724. Spec-only pull request for row 5 of sub-EPIC #2482 (apply ADR rule A to
axum-http-server): the refreshed spec indocs/issues/open/2724-2482-gate-axum-http-server-test-environment/ISSUE.md, with the dependency audit, the measured baseline, the maintainer decisions of 2026-11-04 (keep the testing-style example and add a production-style one;swarm-coordination-registry,torrust-clockandtorrust-info-hashbecome optional;configurationstays), the #2482 EPIC row, the inventory link and the coupling report link. No code changes; the implementation follows in a separate pull request after this one merges. The bot account could not add labels or link #2724 under #2482, so the maintainer does that.