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): [#2751] add specification to deprecate the legacy shutdown API - #2752
Specification-only pull request for #2751 (SI-18, roadmap row 18 of EPIC #1488). Related to #2751. It contains no implementation.
Summary
Opens SI-18 as issue Deprecate legacy shutdown API #2751: source-level deprecation of the legacy Halted-based shutdown API, with no behavior change and nothing removed.
Records the eligibility-gate evidence checked against develop at da8bd15d1, with the commands and output in manual-verification-evidence.md: the application, the standalone environments and examples, and the REST API and health-check API test environments are on the token lifecycle, and the remaining legacy callers are unit tests or the legacy adapters.
Records the maintainer's versioning decisions: deprecate then remove for all crates; the since and removal wording; and, after a reviewer found a release-order cycle between First publish of the unpublished workspace crates #2583 and SI-19, that the five unpublished package crates have no support window. The support window applies only to torrust-server-lib. The same principle, applied to the root HaltSignal and NestedServerTask (never in a published release), was derived from the tree and confirmed by the maintainer on 2026-11-09. The end of the 0.5.x window is the maintainer's approval of 0.6.0, also confirmed on 2026-11-09.
Adds the template sections (plan, commit points, verification plan, risks) and replaces the skeleton verification.md with manual-verification-evidence.md.
Files touched
docs/issues/open/2751-1488-si-18-deprecate-legacy-shutdown-api/ (moved from docs/issues/drafts/): ISSUE.md and manual-verification-evidence.md.
docs/issues/drafts/1488-si-19-remove-legacy-shutdown-api/ISSUE.md: references to the former SI-18 draft path updated, and the start gate and dependencies rewritten so that the support window applies only to torrust-server-lib and ends at the maintainer's approval of 0.6.0.
docs/issues/open/1488-overhaul-tracker-shutdown/ISSUE.md: roadmap row 18 now links the open spec.
The closed SI-23 and SI-24 specs: references to the former draft path replaced by issue #2751.
docs/pr-reviews/pr-2752-review/PR-REVIEW.md: the audit of the Copilot and maintainer-reviewer reviews of this pull request.
Validation
linter markdown, linter cspell and the pre-commit hooks pass; the diff contains only Markdown files.
The audit validator (validate-audit-record.py --pr-number 2752) passes.
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.
Adds an “open” specification for SI-18 / issue #2751 to deprecate the legacy Halted-based shutdown API (documentation-only), and updates the shutdown EPIC roadmap and cross-references to point at the new open spec and evidence file.
Changes:
Introduces the open spec for #2751 (scope, gate evidence, plan, acceptance criteria, verification plan, risks).
Replaces the old draft verification skeleton with manual-verification-evidence.md in the open spec folder.
Updates EPIC #1488 roadmap row 18 and other issue docs to reference the new open spec location.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The release gates create a dependency cycle that prevents publishing deprecations before removal, while the issue also retains an obsolete eligibility blocker and incorrect specification-branch metadata.
This is explicitly a specification-only PR, but branch: uses the suffix-free name reserved for implementation. .github/skills/dev/planning/create-issue/SKILL.md:253–259 requires the -spec suffix and matching frontmatter for this stage. Record 2751-deprecate-legacy-shutdown-api-spec here so the implementation branch remains distinct.
The release ordering creates a dependency cycle: #2583 blocks first publication until EPIC #1488 closes, but SI-19 is part of that EPIC and requires the public deprecation support window to have ended before removal. These crates therefore cannot publish the promised deprecations before removal under the current gates. Coordinate an explicit ordering change with #2583 and SI-19, such as allowing the deprecation release before EPIC closure or deferring removal beyond that gate, and record when the support window starts and ends.
Round 2: Copilot review 5803331264 (submitted 2026-11-06 16:21 UTC), findings F9, F10 and F11 of the audit (docs/pr-reviews/pr-2752-review/PR-REVIEW.md).
F9 (inline thread, reviewer ID F1): FIXED in docs(issues): [#2751] mark the torrust-server-lib gate item complete with the 0.5.0 guidance.
F10 (review body, reviewer ID F10): FIXED in docs(issues): [#2751] record the spec-only branch name in the SI-18 spec. branch: is now 2751-deprecate-legacy-shutdown-api-spec.
F11 (review body): FIXED in docs(issues): [#2751] resolve the SI-18 and SI-19 release-order cycle. The maintainer decided that the five unpublished crates have no public support window; the window applies only to torrust-server-lib and the root HaltSignal/NestedServerTask. SI-18 and the SI-19 draft say so, and First publish of the unpublished workspace crates #2583 needs no change.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The release gates still create a root-crate publication cycle, and the copied review workflow omits required handling for threads the current account cannot resolve.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 927552f9e9a447fd7640e4193983aad2c33d78c0. Recomputed from the bytes at this head, against the previous round's head f66051f61 and the merge base da8bd15d1; git merge-tree against developf9431e5c9, run outside this clone, is clean.
What moved. Eleven commits fast-forward f66051f61: three files, +290/-50. The other 2388 paths are byte-identical.
Previous findings.
F7 FIXED: stamp and log cover the latest edits.
F16 FIXED: Steps 1 to 5 print the recorded lines; the order is disclosed.
F17 PARTLY FIXED: the spec's stamp holds; the evidence's lags (re-raised).
F20 FIXED: lines 137 to 142, Requirement 2, T2 and Scope state what T2 writes.
F22 FIXED: lines 244 and 316.
F23 FIXED: line 137.
F24 FIXED: the evidence names both runs.
F26 FIXED: each command prints what its entry says.
F27 FIXED: the entry names the account.
F28 FIXED: the words are in item 1 of the comment.
F29 FIXED: rows F50, F53 and LINK-001, their details and the log.
F30 FIXED: the spec and the audit say who posted it.
The new commits. At code equal to da8bd15d1, Steps 1 to 5 print the recorded lines and Step 6 exits 1. The 12:07 and 12:08 times match git log. Rows F37 to F47 match their comments, replies, subjects and thread states, each reply's review records 57d95a16e, and all 104 URLs resolve.
Hygiene. Eleven Conventional subjects matching their diffs, author equals committer, one attribution footer each, which no rule forbids. git diff --check is clean.
Findings
F33, F34 and F35 Minor; F17 (re-raise), F31 and F32 Nit. None blocks.
Checked, no finding
Step 7 needs the network. GNU grep prints Steps 2, 3 and 5 in argument order, unlike the record, which says its tool did not. The forge attests only the account behind comment 6740143243. F27 and F30 asked for the two log rewrites.
Checks
On the loop's compute node at this head, against the merge base da8bd15d1 (receipt server-gates-kranich-561): the repository's pre-commit gate exit 0 (53 s), clippy-allow-reasons against the base exit 0, and the tree left clean; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 15 errors / 4 warnings at this head and at the base re-measured, so none is new; the repository's audit validator on pr-2752-review exit 0. The forge reports this head as mergeable. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is f9431e5c9.
ACK 927552f — the evidence's local commands print the recorded lines at the code of da8bd15d1, the quoted comment and rows F37 to F47 match the capture, the other 2388 paths are byte-identical to f66051f61, and no blocking finding stands at this head.
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.
… spec
Add a decided release-notes bullet and use the same wording in Scope, Deprecation Requirement 4 and T5, so the rule does not depend on the unconfirmed proposal.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 6b5678e8817134ec3edfa289ac7cabc0113267be. Recomputed from the bytes at this head, against the previous round's head 927552f9e and the merge base da8bd15d1; git merge-tree against develop88920966a exits 0, one tree line and no conflict.
What moved. Six commits fast-forward 927552f9e: five files, +161/-19. The other 2386 paths are byte-identical.
Previous findings.
F17 FIXED: each stamp names its file's last content commit.
F24 PARTLY FIXED: re-raised.
F31 FIXED: audit lines 584 and 597 print what they say.
F32 FIXED: audit line 609.
F33 PARTLY FIXED: Scope, Requirement 4 and T5 agree; lines 143 and 146 do not (F36).
F34 FIXED: Step 5 names both hits, and their enclosing items hold.
F35 PARTLY FIXED: the log entry is clean; re-raised at audit line 792.
The new commits. The Step 5 command prints the recorded five lines at this head and at 88920966a. Rows F54 to F62 match their comments, replies, subjects and thread states, each reply's review records fd9b1c58c, and all 122 URLs resolve.
Hygiene. Six Conventional subjects matching their diffs, author equals committer, one attribution footer each, which no rule forbids. git diff --check is clean. The commit-id check prints one id, F35.
The SI-19 verification.md exists, so the old reference was not broken. The carrying commit of the EPIC's stamp is 13:49:57 UTC, and the old 14:00 was later, as the row says. Step 5's order differs from GNU grep's argument order, as the evidence discloses. The 15:46:04 run and the 15:55 push are not recomputable; each reply's review shows the push came first. The audit's hard-coded spec lines are current.
Checks
On the loop's compute node at this head, against the merge base da8bd15d1 (receipt server-gates-kranich-565): the repository's pre-commit gate exit 0 (53 s), clippy-allow-reasons against the base exit 0, and the tree left clean; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 15 errors / 4 warnings at this head and at the base re-measured, so none is new; the repository's audit validator on pr-2752-review exit 0. The forge reports this head as mergeable. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 88920966a.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 42b04176ef1ed4d1ba120b239440117d0eee4602. Recomputed from the bytes at this head, against the previous round's head 6b5678e88 and the merge base da8bd15d1; git merge-tree against develop88920966a exits 0, one tree line and no conflict.
What moved. Five commits fast-forward 6b5678e88: three files, +95/-18. The other 2388 paths are byte-identical.
Previous findings. The other 32 stay FIXED.
F24 FIXED: evidence lines 12 and 31 name the 15:46:04 run, as line 122 does.
F33 FIXED: the rule reads the same at spec line 137, Scope, Requirement 4 and T5; line 145 defers to it and line 148 no longer applies the proposal to it.
F35 FIXED: the commit-id check prints nothing.
F36 FIXED: the rule left the dated list, and line 137 labels it derived and not yet confirmed.
F37 FIXED: audit line 974 gives the forge's 15:55:40 to 15:56:00.
F38 FIXED: audit line 771 states what was read, and it holds.
The new commits. Rows F63 to F67 match their comments, replies, subjects and thread states; each reply's review records 97b9915e0, the replies run 16:44:13 to 16:44:25 UTC, and all 132 URLs resolve. Both stamps name their files' last content commits. Step 5 prints the recorded five lines at this head and at 88920966a, and the 12:56 block holds the same five in another order. Line 141 holds: the paragraph item 3 of comment 6740143243 reserved then read "the attribute and release-note text".
Hygiene. Five Conventional subjects matching their diffs, author equals committer, one attribution footer each, which no rule forbids. git diff --check is clean.
Findings
F39 Minor and F40 Nit; neither blocks.
Checked, no finding
The automated review of 16:24 has no inline comment and asks for nothing, so it needs no row. The F57 row's grep now prints 16:38 because this round moved that stamp; rows stand as of their round. The 16:41 push and the 15:56:02 resolves are not recomputable; each reply's review shows the push came first.
Checks
On the loop's compute node at this head, against the merge base da8bd15d1 (receipt server-gates-kranich-570): the repository's pre-commit gate exit 0 (50 s), clippy-allow-reasons against the base exit 0, and the tree left clean; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 15 errors / 4 warnings at this head and at the base re-measured, so none is new; the repository's audit validator on pr-2752-review exit 0 (64 rows, 31 log entries, no failures). GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 71166cf4b.
The reason will be displayed to describe this comment to others. Learn more.
[Minor][F39] RE_RAISE_OF:F36 points at an unrelated finding
Audit row F36 is Make the F21 solution precise, from the automated review, about the wording of another audit row. The earlier raise of this finding is row F43, State when each evidence command ran, which carries Reviewer finding ID F24 and the comment on the same evidence paragraph.
Step 3 of process-pr-review records the finding the re-raise repeats, as F57 and F64 do. The validator reads only the row's ID and severity, so it passes.
- Concern: Release notes were conditional in Scope and unconditional in Requirement 4 and T5, and the decided bullets said nothing about them.
- Solution (round 8, superseded by F63): Added a decided release-notes bullet (no release note for the unpublished-crate symbols or the root types, whether or not the proposal is confirmed) and used the same wording in Scope, Requirement 4 and T5.
The reason will be displayed to describe this comment to others. Learn more.
[Nit][F40] This field is no longer named Solution
process-pr-review lists Solution among the required fields, and docs/templates/PR-REVIEW-TEMPLATE.md spells it - Solution:. This label makes F54 the only one of the 64 detail entries without that field, so anything reading the audit by field name misses it.
The note is useful. Please keep the label and move the note into the value, for example - Solution: (Round 8, superseded by F63.) Added ....
ACK 42b0417 — the five commits on 6b5678e88 close F24, F33 and F35 to F38, rows F63 to F67 match the capture, the other 2388 paths are byte-identical, and no blocking finding stands at this head.
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.
Specification-only pull request for #2751 (SI-18, roadmap row 18 of EPIC #1488). Related to #2751. It contains no implementation.
Summary
Halted-based shutdown API, with no behavior change and nothing removed.developatda8bd15d1, with the commands and output inmanual-verification-evidence.md: the application, the standalone environments and examples, and the REST API and health-check API test environments are on the token lifecycle, and the remaining legacy callers are unit tests or the legacy adapters.Halted,shutdown_signal,shutdown_signal_with_messageandglobal_shutdown_signallive intorrust-server-lib, which deprecated them in 0.5.0 (Deprecate legacy shutdown API in signals (prerequisite for torrust-tracker SI-18) torrust-server-lib#3, published 2026-11-06).sinceand removal wording; and, after a reviewer found a release-order cycle between First publish of the unpublished workspace crates #2583 and SI-19, that the five unpublished package crates have no support window. The support window applies only totorrust-server-lib. The same principle, applied to the rootHaltSignalandNestedServerTask(never in a published release), was derived from the tree and confirmed by the maintainer on 2026-11-09. The end of the 0.5.x window is the maintainer's approval of 0.6.0, also confirmed on 2026-11-09.verification.mdwithmanual-verification-evidence.md.Files touched
docs/issues/open/2751-1488-si-18-deprecate-legacy-shutdown-api/(moved fromdocs/issues/drafts/):ISSUE.mdandmanual-verification-evidence.md.docs/issues/drafts/1488-si-19-remove-legacy-shutdown-api/ISSUE.md: references to the former SI-18 draft path updated, and the start gate and dependencies rewritten so that the support window applies only totorrust-server-liband ends at the maintainer's approval of 0.6.0.docs/issues/open/1488-overhaul-tracker-shutdown/ISSUE.md: roadmap row 18 now links the open spec.issue #2751.docs/pr-reviews/pr-2752-review/PR-REVIEW.md: the audit of the Copilot and maintainer-reviewer reviews of this pull request.Validation
linter markdown,linter cspelland the pre-commit hooks pass; the diff contains only Markdown files.validate-audit-record.py --pr-number 2752) passes.🤖 Generated with Claude Code