Skip to content

Deprecate legacy shutdown API #2751

Closed

Description

@josecelano-bot

SI-18 (roadmap row 18) of EPIC #1488. Source-level deprecation of the legacy Halted-based shutdown API, with no behaviour change and nothing removed. The full specification, with the eligibility-gate evidence, versioning decisions and plan, is in docs/issues/open/ once the specification pull request merges.

The eligibility gate is met: the application components, standalone environments and examples, and the REST API and health-check API test environments all use the token lifecycle (SI-11 to SI-17, SI-23, SI-24). The external torrust-server-lib crate now deprecates its own legacy symbols in 0.5.0 (torrust/torrust-server-lib#3).

In scope: #[deprecated] on the legacy public APIs of axum-server, axum-http-server, axum-rest-api-server, axum-health-check-api-server and udp-server, and on HaltSignal and NestedServerTask in the root crate; migration guidance and release notes; compile-compat tests; the dependency bump to torrust-server-lib 0.5.0. Out of scope: removal (SI-19) and any shutdown behaviour change.

Activity

  1. added 14 commits that reference this issue on Nov 6, 2026
  2. 54 remaining items

  3. added 5 commits that reference this issue on Nov 10, 2026
  4. added 4 commits that reference this issue on Nov 10, 2026
  5. added a commit that references this issue on Nov 10, 2026
  6. added 4 commits that reference this issue on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions