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
Migrate the health-check API test environment to the token lifecycle #2450
Make the health-check API test Environment use the token-aware health-check server lifecycle. Environment::stop() cancels its token and joins the server task and the drain controller instead of sending a Halted message. No roadmap item covered this environment, and SI-18 and SI-19 cannot deprecate or remove the legacy path while it depends on it.
Acceptance criteria
AC1: Environment starts the health-check API through start_with_cancellation.
AC2: Environment::stop() cancels the token and joins the server task and the drain controller.
AC3: stop() returns an error naming each failing task, after joining both, and keeps its current signature.
AC4: A stopped environment can be started again and serves the health check.
AC5: No caller reads the environment's running state directly.
AC6: The shutdown task inventory reflects the migration.
linter all exits with code 0
Relevant tests pass
Manual verification scenarios are executed and documented in issue-local manual-verification-evidence.md
Acceptance criteria are re-reviewed after implementation and reflect actual behavior
Specification: docs/issues/open/2450-1488-si-24-migrate-health-check-api-test-environment/ISSUE.md (added by the spec-only PR).
Activity
docs(issues): [torrust#1488] add specs for SI-17, SI-23, and SI-24 (t…
docs(issues): [torrust#1488] add specs for SI-17, SI-23, and SI-24 (t…
docs(issues): [torrust#1488] add specs for SI-17, SI-23, and SI-24 (t…
Merge #2451: docs(issues): add specs for shutdown SI-17, SI-23, and S…
Merge #2483: docs(issues): add the #2471 spec and refresh the SI-22, …
docs(issues): [torrust#2482] name the open torrust#1488 subissues tha…
docs(issues): [torrust#2482] name the open torrust#1488 subissues tha…
docs(issues): [torrust#2482] name the open torrust#1488 subissues tha…
docs(issues): [torrust#2482] name the open torrust#1488 subissues tha…
docs(issues): [torrust#2482] name the open torrust#1488 subissues tha…
Merge #2484: docs(issues): [#2482] add the sub-EPIC specification for #…
docs(issues): [torrust#2482] coordinate the environment moves with to…
Merge #2624: docs(adrs): [#2618] decide how packages share test suppo…
10 remaining items
docs(issues): [torrust#2450] record the independent review of the fin…
docs(pr-reviews): [torrust#2450] record the review audit of PR 2652
refactor(axum-health-check-api-server): [#2450] migrate the health-ch…
docs(issues): [#2450] record T0 baseline, T1 mutation proofs and M1/M…
docs(shutdown-process): [#2450] record the health-check test environm…
docs(issues): [#2450] record the prose-first comparison and the post-…
test(axum-health-check-api-server): [#2450] assert the stop result in…
docs(issues): [#2450] record the independent review, resolve its find…
chore(issues): archive closed issue #2450 spec to docs/issues/closed
docs(issues): [#2450] tick the acceptance criteria as the maintainer …
Merge #2664: chore(issues): archive closed issue #2450 spec to docs/i…
Merge torrust#2652: refactor(axum-health-check-api-server): [torrust#…
docs(issues): [torrust#2450] reference the SI-21 spec by issue number…
Merge #2698: docs(issues): [#2697] add specification to mark the heal…