Skip to content

docs(issues): [#1488] close the shutdown-overhaul EPIC and archive its spec - #2951

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano-bot:1488-epic-close-out
Nov 19, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
josecelano-bot:1488-epic-close-out

Conversation

@josecelano-bot

@josecelano-bot josecelano-bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1488

Close-out of the shutdown-overhaul EPIC. Docs only: no code changes.

Summary

All 26 roadmap rows of the EPIC are closed on GitHub: 25 are done and SI-27 (issue 2846) is not planned, with an ADR. The maintainer decided on 2026-11-18 to close the EPIC without waiting for issue 1419, which continues under EPIC 2392 (Test isolation).

Changes

Archive the EPIC spec

  • Move docs/issues/open/1488-overhaul-tracker-shutdown/ to docs/issues/closed/, including discarded-drafts/.
  • Rename the primary file from ISSUE.md to EPIC.md (it started as an issue spec), as the maintainer asked.
  • Set status: done, the new spec-path and the stamp, and add a completion note: what the EPIC delivered, the SI-27 no-go, and the decision about issue 1419.

Refresh statements that the finished work made stale (each checked against the code)

  • EPIC spec: the goal no longer describes a root token. Each component gets its own independent token from JobManager::reserve, and the manager cancels them in the declared order. The accepted architecture is the shutdown-order ADR 20261021184946, which supersedes the cancellation-tree ADR 20260902074438.
  • EPIC spec: signal handling is in src/app.rs (run_until_shutdown_signal, begin_shutdown); main.rs only calls it. src/app.rs is added to the related artifacts.
  • EPIC spec: the problem list has its final status (all nine fixed), the roadmap note is in the past tense, and the section about issue 1419 records the maintainer's decision.
  • docs/features/shutdown-process/README.md: status is now implemented; a reading guide says which sections are history and which describe the current behaviour; the "Currently / After fix" pairs are now "Before the EPIC / Now"; the design section no longer mentions a root token; the periodic "still running" progress report is marked as not built.
  • docs/features/shutdown-process/task-inventory.md: the signal boundary and the deadlines (the old 10-second deadline and 90-second drain) now match the code and the configured defaults (25 and 15 seconds).
  • docs/architecture/application-jobs.md: the intro no longer says the architecture is not final or points to a draft PR (PR 1993 is merged); "Current Limitations and Future Work" is replaced by "Scope and Limits of the Supervisor", which describes what the JobManager does and what it deliberately does not do.

Update links to the old path

  • Two ADRs, the feature, analysis and research documents, the open specs of issues 2387 and 2583, and 41 files in 28 closed spec folders. Each touched document with a last-updated-utc field has a new stamp, as the cleanup-completed-issues skill requires.
  • Four links that were already broken in two closed sub-issue specs (SI-4 and SI-18) are fixed.
  • Past PR review records are not changed: they keep the path that existed when they were written.
  • Three historical records in closed specs (the decision list and a review report of issue 2281, and the manual verification evidence of issue 2413) name the old path in plain text, not as a link. They are not changed either.

Not changed

  • The specs of issue 1419 and EPIC 2392 still say that 1419 waits on this EPIC. They belong to the coordinator of EPIC 2392.

Validation

  • linter all: pass.
  • ./contrib/dev-tools/git/hooks/pre-commit.sh: pass (11 steps, including the front-matter validator on the staged files).
  • Pre-push checks: pass.
  • The front-matter validator accepts the discarded-drafts/ files under docs/issues/closed/ without front-matter.
  • A scan of the relative links in the 110 Markdown files of the EPIC, its sub-issue specs and the shutdown documents finds no dead link (the repository link checker excludes docs/issues/closed/).
  • Step 0.7 of the cleanup-completed-issues skill: no draft sub-issue of the EPIC remains.

🤖 Generated with Claude Code

…hive its spec

Move the EPIC folder, with its discarded drafts, from docs/issues/open/ to
docs/issues/closed/ and rename the primary file from ISSUE.md to EPIC.md.
Set the spec to done and add a completion note: what the EPIC delivered,
the SI-27 no-go, and the maintainer's decision of 2026-11-18 to close the
EPIC without waiting for issue 1419, which continues under EPIC 2392.

Refresh statements that the finished work made stale: there is no root
cancellation token, signal handling is in src/app.rs, the problem list
has its final status, and the feature and architecture documents now say
what is past and what is current.

Update every live link to the old path. Past PR review records keep the
path that existed when they were written.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

Copilot review overview

1 open issue
What changed in this PR

Archives/close-outs EPIC #1488 (shutdown overhaul) by moving/renaming the spec into docs/issues/closed/ and updating the documentation set to reflect the completed shutdown architecture and new file locations.

Changes:

  • Archive EPIC #1488 spec (rename to EPIC.md, mark status: done, add completion note) under docs/issues/closed/.
  • Refresh shutdown-related docs to match the implemented architecture (signal boundary in src/app.rs, ordered cancellation, updated deadlines/budgets).
  • Update/repoint many cross-doc links and last-updated-utc stamps to the new closed EPIC path.
File Description
docs/​research/​20260716-console-shutdown-patterns/​README.md Update related-artifact link to archived EPIC and refresh timestamp
docs/​issues/​open/​2583-1669-first-publish-of-workspace-crates/​ISSUE.md Update prerequisite link to archived EPIC and refresh timestamp
docs/​issues/​open/​2387-review-tracker-lifecycle-logs/​ISSUE.md Repoint related-artifacts to archived EPIC and refresh timestamp
docs/​issues/​closed/​2847-1488-si-28-verify-hung-component-abort/​ISSUE.md Repoint EPIC link to archived EPIC and refresh timestamp
docs/​issues/​closed/​2846-1488-si-27-deregister-stopped-services/​ISSUE.md Repoint EPIC link to archived EPIC and refresh timestamp
docs/​issues/​closed/​2845-1488-si-26-consolidate-shutdown-supervisor/​ISSUE.md Repoint EPIC link to archived EPIC and refresh timestamp
docs/​issues/​closed/​2844-1488-si-25-remove-unused-error-variants/​ISSUE.md Repoint EPIC link to archived EPIC and refresh timestamp
docs/​issues/​closed/​2801-1488-si-19-remove-legacy-shutdown-api/​manual-verification-evidence.md Update archived EPIC reference and refresh timestamp
docs/​issues/​closed/​2801-1488-si-19-remove-legacy-shutdown-api/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2751-1488-si-18-deprecate-legacy-shutdown-api/​ISSUE.md Refresh timestamp and fix a relative link to open issue #2583
docs/​issues/​closed/​2697-1488-si-21-mark-health-unhealthy-during-shutdown/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2668-1488-si-20-configure-shutdown-policy/​ISSUE.md Repoint EPIC + discarded-draft links to closed location and refresh timestamp
docs/​issues/​closed/​2471-1488-fix-http-environment-drop-path/​ISSUE.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2450-1488-si-24-migrate-health-check-api-test-environment/​ISSUE.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2449-1488-si-23-migrate-rest-api-test-environment/​ISSUE.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2448-1488-si-17-migrate-standalone-udp-environment/​ISSUE.md Repoint parent EPIC + discarded-draft links and refresh timestamp
docs/​issues/​closed/​2413-2410-si-22-1-document-event-flows-and-draft-adr/​manual-verification-evidence.md Update EPIC link reference and refresh timestamp
docs/​issues/​closed/​2412-1488-si-16-migrate-standalone-http-environment/​ISSUE.md Repoint parent EPIC + discarded-draft links and refresh timestamp
docs/​issues/​closed/​2410-1488-si-22-process-queued-events-before-listeners-stop/​EPIC.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2370-1488-si-15-define-udp-active-request-policy/​ISSUE.md Repoint parent EPIC + discarded-draft links and refresh timestamp
docs/​issues/​closed/​2342-1488-si-14-migrate-udp-receive-reset-token-lifecycle/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2324-1488-si-13-migrate-health-check-api-token-lifecycle/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2309-1488-si-12-migrate-rest-api-token-lifecycle/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2289-1488-si-11-migrate-http-tracker-token-lifecycle/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​test-refactor-plans/​testing-environment-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​test-refactor-plans/​statistics-event-listener-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​test-refactor-plans/​server-states-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​test-refactor-plans/​server-launcher-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​test-refactor-plans/​banning-event-listener-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2283-1347-increase-udp-server-package-coverage/​ISSUE.md Repoint shutdown governance reference and refresh timestamp
docs/​issues/​closed/​2281-2264-frontmatter-validator-command/​agent-review-reports.md Update archived EPIC fixture reference
docs/​issues/​closed/​2281-2264-frontmatter-validator-command/​ISSUE.md Update referenced EPIC path and refresh timestamp
docs/​issues/​closed/​2274-1488-si-10-add-token-aware-axum-drain-helper/​ISSUE.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2234-1488-si-2-remove-global-shutdown-signal/​ISSUE.md Repoint parent EPIC link and refresh timestamp
docs/​issues/​closed/​2221-1488-si-5-migrate-activity-metrics-updater/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​2169-1488-si-4-migrate-torrent-cleanup/​ISSUE.md Repoint EPIC and sibling-issue links; refresh timestamp
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​test-refactor-plans/​spawner-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​test-refactor-plans/​server-states-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​test-refactor-plans/​receiver-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​test-refactor-plans/​processor-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​test-refactor-plans/​launcher-tests.md Repoint related-artifacts EPIC path
docs/​issues/​closed/​2149-1347-add-focused-udp-server-package-tests/​ISSUE.md Repoint shutdown governance references and refresh timestamp
docs/​issues/​closed/​2132-add-sigterm-to-main/​native-tracker-refactor-plan.md Update EPIC link filename to EPIC.md
docs/​issues/​closed/​2132-add-sigterm-to-main/​native-shutdown-test-plan.md Repoint related-artifacts EPIC path and update inline EPIC link
docs/​issues/​closed/​2132-add-sigterm-to-main/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​1588-review-shutdown-process-for-all-tasks-jobs/​ISSUE.md Repoint related-artifacts EPIC path and refresh timestamp
docs/​issues/​closed/​1586-evaluate-job-manager-join-set/​ISSUE.md Repoint discarded-drafts + EPIC links and refresh timestamp
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​discarded-drafts/​si-9-improve-udp-shutdown/​discarded-draft.md Update anchor link to EPIC.md
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​discarded-drafts/​si-8-configurable-grace-periods/​discarded-draft.md Update anchor link to EPIC.md
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​discarded-drafts/​si-7-observable-shutdown-progress/​discarded-draft.md Update anchor link to EPIC.md
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​discarded-drafts/​si-6-align-grace-periods/​discarded-draft.md Update anchor link to EPIC.md
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​discarded-drafts/​si-3-fix-environment-stop/​discarded-draft.md Update anchor link to EPIC.md
docs/​issues/​closed/​1488-overhaul-tracker-shutdown/​EPIC.md Archive EPIC spec (status done, completion note, updated architecture language, updated links)
docs/​features/​shutdown-process/​task-inventory.md Align task inventory with implemented signal boundary + configured deadlines/budgets
docs/​features/​shutdown-process/​questions.md Update related-artifacts EPIC link and refresh timestamp
docs/​features/​shutdown-process/​legacy-api-migration.md Update EPIC link and refresh timestamp
docs/​features/​shutdown-process/​README.md Mark feature as done, add reading guide, and update architecture wording/links
docs/​architecture/​application-jobs.md Update intro to reference closed EPIC; replace “future work” with stated scope/limits
docs/​analysis/​20260716-shutdown-process/​README.md Update related-artifacts EPIC link and refresh timestamp
docs/​adrs/​20261021184946_order_shutdown_by_event_flow_and_drain_event_listeners.md Update EPIC reference link to closed EPIC doc
docs/​adrs/​20260902074438_adopt_supervised_cancellation_tree_for_shutdown.md Update EPIC reference link to closed EPIC doc

Review effort: Lite

…IC problem list

The final status of problems 3, 4 and 5 named four sub-issues by issue number only (2221, 2274, 2342 and 2370), and problem 7 named 2414 by its parent identifier SI-22. Use the roadmap identifiers: SI-5, SI-10, SI-14, SI-15 and SI-22.2.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Copilot stopped reviewing on behalf of josecelano due to an error November 18, 2026 19:10


Round 1: one Copilot suggestion (F1), fixed, replied and resolved.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

Copilot review overview

No open issues 🎉

1 resolved since last review

Review effort: Lite

Copilot stopped reviewing on behalf of josecelano due to an error November 18, 2026 19:45
da2ce7
da2ce7 previously approved these changes Nov 19, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at bdb07bada2f86cee3b325117cbd5483c736172a2. Recomputed from the bytes at this head, against the merge base 3a12cd095; git merge-tree against develop 7a4c16eaf writes a clean tree with no conflict, and no file the branch changes has changed on develop since the base.

Process: an archive move under cleanup-completed-issues, with the audit under process-pr-review and the branch rules of open-pull-request. The EPIC moved to docs/issues/closed/ as EPIC.md with status: done, the new spec-path and a new stamp. A search of the whole tree for the folder name finds the old path only in past review records, which Step 4 keeps.

The change against its claim: the roadmap recomputes to 26 rows, 25 Done and 1 Not planned. The refreshed statements match the code: app::run_until_shutdown_signal in src/app.rs logs, marks not ready, then calls JobManager::cancel; no root token remains; the outcomes are the five JobStatus values; the exit code is 0 only when every outcome is graceful; and the defaults are 25 s and 15 s, with the drain chain checked at startup. The four repaired links in the SI-4 and SI-18 specs resolve. The description's "45 closed specs" doesn't match: I count 44 changed files in 30 closed folders outside the EPIC folder (Nit, no line to anchor).

Consistency: all 421 relative links and anchors in the changed Markdown resolve. Every changed file with last-updated-utc has a new stamp. No word on an added line is new to the repository's Markdown. The audit validator's logic, run offline against the captured comments and the branch commits, reports 1 row, 4 log entries and 0 failures. The one thread has a reply and a row, and it is resolved.

Hygiene: all three subjects are Conventional with [#1488], author equals committer, and git diff --check is clean. Each commit carries one attribution footer line (no rule in the tree on it), and the description carries one attribution footer line too. The closing-keyword pattern matches only the description's first line, for the EPIC this PR closes. The commit-id check prints one id (F3).

Findings: F1 to F4 are Minor, and F5 and F6 are Nits. None of them blocks: each is a sentence that one commit can repair, and none misstates the current behaviour.

Checked, no finding: the moved EPIC against the validator's closed-spec rule; the R8, AC8a and R9 rows of the 1419 spec exist; the audit's line numbers 115, 119, 124, 124 and 132 hold.

Checks

On the loop's compute node at this head, against the merge base 3a12cd095 (receipt server-gates-kranich-1212): the repository's pre-commit gate and lint roster exit 0 (473 s wall), and the audit validator passes this pull request's record (1 row, 4 log entries, 0 failures). The PR changes documentation only, so no package tests apply. F2 checked against the bytes at posting: in the moved EPIC.md, the cited documentation-only allowance sits at lines 349-350, while line 279 holds other text. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 7a4c16eaf.

Comment thread docs/architecture/application-jobs.md Resolved
@da2ce7

da2ce7 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

ACK bdb07ba — the EPIC archive move, its link repairs and the refreshed shutdown statements recomputed against the code and tree at this head, with the audit record passing the validator logic

@josecelano

Copy link
Copy Markdown
Member

ACK bdb07ba

Restore three historical records that the path update had rewritten:
the 2026-09-24 decision list and the review report of issue 2281, and
the manual verification evidence of issue 2413. They are not links and
describe the tree as it was, so they keep the old path and stamp.

Say that the maintainer decided on 2026-11-18 to close the EPIC, instead
of stating that date as the close date: the issue closes when the PR
merges. Use EPIC.md as the link text in the spec of issue 2583. Say that
the final log line names the components that did not stop gracefully;
the exit code is only 0 or 1.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@josecelano-bot

Copy link
Copy Markdown
Contributor Author

Reply to the Nit in the body of review 5971000003 (the description said "45 closed specs"): you are right, the count was wrong. At the reviewed head the PR changed 44 files in 30 closed spec folders outside the EPIC folder. After the commit docs(issues): [#1488] address the review of the EPIC close-out, which restores three of those files, it changes 41 files in 28 folders (git diff --name-only against the merge base). The description now says "41 files in 28 closed spec folders" and names the three historical records that keep the old path.

…f PR torrust#2951

Add the seven findings of review 5971000003 (F2 to F8), all fixed, and
the second Copilot review, which has no finding. Cite the first commit
of the branch by its subject instead of its id (F4).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@josecelano

Copy link
Copy Markdown
Member

ACK 26293fb

@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 19, 2026 07:48

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at 26293fbde25eb32d4bc228e20d58af475fdebd55. Recomputed from the bytes at this head, against the merge base 3a12cd095; git merge-tree against develop f212ae33b writes a clean tree with no conflict, and no file the branch changes has changed on develop since the base.

Round 2 reads bdb07bada..26293fbde, which adds two commits. The first restores the decision list and the review report of issue 2281 and the evidence of issue 2413: all three are now byte-identical to the base. It also rewords the four close-date lines, plus a fifth in the problem-list intro, as a decision of 2026-11-18. Finally it changes the link text in the 2583 spec to EPIC.md and says the exit code is 1 when any component did not stop gracefully. The second commit records round 2 in the audit and cites the first commit by its subject.

Earlier findings: F1 to F6 and the body Nit are fixed at this head. The commit-id check now prints nothing; no "closed on 2026-11-18" remains in the touched documents; and the description's new count of 41 files in 28 closed folders recomputes.

Consistency: all 414 relative links and anchors in the 64 changed files resolve. Every changed file with last-updated-utc has a new stamp, and the restored files carry their original stamps. No word on an added line is new to the repository's Markdown.

Audit: each of the six threads has a reply on its own thread, posted before resolution. The body Nit has a conversation reply and a NON_RESOLVABLE row. Rows F2 to F8 match the source severities. The validator's logic, run offline against the capture and the five branch commits, reports 8 rows, 8 log entries and 0 failures.

Hygiene: both new subjects are Conventional with [#1488], author equals committer, and git diff --check is clean. Each new commit carries one attribution footer line (no rule in the tree on it), and the description carries one attribution footer line too. The closing-keyword pattern still matches only the description's first line.

Findings: F7 is Minor and does not block: the audit records the description fix of its F8 under a commit subject instead of the conversation reply that states it.

Checked, no finding: the new close-date wording against the closing keyword, the reworded exit-code sentence against shutdown_exit_code, and the audit's verification commands for F2 to F8.

Checks

On the loop's compute node at this head, against the merge base 3a12cd095 (receipt server-gates-kranich-1220): the repository's pre-commit gate and lint roster exit 0 (96 s wall), and the audit validator passes this pull request's record (8 rows, 8 log entries, 0 failures). The PR changes documentation only, so no package tests apply. Checked against the bytes at posting: the issue 2413 evidence file is byte-identical to the merge base again, which is the fix for round 1's F2. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is f212ae33b.

@da2ce7

da2ce7 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

ACK 26293fb — the fixes for round 1's six findings and its body Nit, recomputed against the tree, with the eight-row audit record passing the validator logic and a clean trial merge against develop

@josecelano

Copy link
Copy Markdown
Member

ACK 26293fb

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

Copilot review overview

No open issues 🎉

Review effort: Lite

@josecelano
josecelano merged commit b646c52 into torrust:develop Nov 19, 2026
1 check passed
Copilot stopped reviewing on behalf of josecelano due to an error November 19, 2026 08:09
@josecelano

Copy link
Copy Markdown
Member

Approved: fix finding F7 of review 5971150744 (the resolution reference of audit row F8) in a follow-up PR to develop, and record the finding in the audit of this PR.

josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
…llow-up in the review audit of PR torrust#2951

Add finding F9 (the reviewer's F7 of review 5971150744) as FOLLOW_UP and
OPEN, with the follow-up PR 2960, and the log entries for the merge, the
maintainer's approval and the thread resolution of round 2.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
…C close-out

Resolves the conflict on the last-updated-utc line of the first-publish plan
(torrust#2583), which the torrust#1488 EPIC close-out (PR torrust#2951) also changed; the later
value of this branch is kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
… the review audit of PR torrust#2951

The record gave the merge time of PR 2951 as 08:07:03 UTC without a
source. That is GitHub's merged_at; the merge commit carries 07:57:06
UTC. Both places now name the source and the commit time.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano pushed a commit that referenced this pull request Nov 19, 2026
…on of F8 in the review audit of PR #2951

F8 was fixed by editing the PR description, which is outside the tree,
so its resolution reference is the conversation reply that states the
fix, not a commit subject (finding F7 of review 5971150744). Record the
maintainer's post-merge approval in the Ownership section.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano added a commit that referenced this pull request Nov 19, 2026
…olution of F8 in the review audit of PR #2951

43697a3 docs(pr-reviews): add the review audit of PR #2960 (josecelano-bot)
58cbedc docs(pr-reviews): [#1488] name the source of the merge time in the review audit of PR #2951 (josecelano-bot)
4718d2a docs(pr-reviews): [#1488] record round 3 and the post-merge follow-up in the review audit of PR #2951 (josecelano-bot)
77465d7 docs(pr-reviews): [#1488] cite the conversation reply as the resolution of F8 in the review audit of PR #2951 (josecelano-bot)

Pull request description:

  Related to #1488. Follow-up of #2951: it handles the one review finding that was still open when #2951 merged.

  ## What this changes

  Review audit records only: `docs/pr-reviews/pr-2951-review/PR-REVIEW.md` and the new record of this PR. No code changes.

  - Finding F7 of review 5971150744 (da2ce7, Minor): the audit row F8 recorded a fix made in the PR description under a commit subject. `process-pr-review` says that a fix outside the repository tree is cited by the durable URL of the conversation response that states it. The resolution reference of F8 is now #2951 (comment).
  - The Ownership section records the maintainer's post-merge approval: #2951 (comment).
  - The finding itself is recorded as F9 of the audit, `FOLLOW_UP`/`OPEN`. It changes to `FIXED`/`RESOLVED` after this PR merges (step 6 of "Reviews Submitted After Merge").
  - Three Processing Log entries are added: a correction to the round 2 entries (the six threads were resolved after the push, and the validator passed with 8 rows), round 3 with the finding, and the merge with the maintainer's approval and this follow-up.
  - The two places that give the merge time of #2951 now name its source (`merged_at` on GitHub) and the time of the merge commit.
  - `docs/pr-reviews/pr-2960-review/PR-REVIEW.md` is new: the audit of the review of this PR.

  The maintainer chose, before the merge of #2951, to fix this finding after the merge, so that the head with two ACKs did not change.

  ## Validation

  - The pre-commit gate (`./contrib/dev-tools/git/hooks/pre-commit.sh`, including `linter all`) exits 0 for each commit.
  - Pre-push checks: pass.
  - `validate-audit-record.py --pr-number 2951`, with its `gh` calls made through the contributor's account, exits 0.

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

ACKs for top commit:
  da2ce7:
    ACK 43697a3 — the fixes for round 1's three findings and the new audit record of this PR, recomputed against the tree and the capture, with the validator logic passing on both records and a clean trial merge against develop
  josecelano:
    ACK 43697a3

Tree-SHA512: 51d57c128af74734d6f0847b0d57c4e901723c92b47c8591ad9631ba9075d3d9fae7a60f7505a9e28ee8c7f8112ce2026fbb462c0edadf7f543813429631d9a2
josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
…e Processing Log of the review audit of PR torrust#2951

The entry was appended at the end of the file, under Completion Rules.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
… its subject in the review audit of PR torrust#2951

The short commit id made the verification command of F4 print two lines.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano-bot added a commit to josecelano-bot/torrust-tracker that referenced this pull request Nov 19, 2026
…F9 in the review audit of PR torrust#2951

The command read the working tree while the text spoke of develop.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano added a commit that referenced this pull request Nov 19, 2026
…fter EPIC #1488 closed

a8ef2b7 docs(pr-reviews): [#2392] audit review round 2 of PR 2962 (josecelano-bot)
049ec23 docs(pr-reviews): [#2392] audit review round 1 of PR 2962 (josecelano-bot)
565a4ba docs(issues): [#2392] name all remaining #1419 work in order 5 and record the dated decision (josecelano-bot)
748a32f docs(issues): [#2392] mark order 5 (#1419) in progress after EPIC #1488 closed (josecelano-bot)

Pull request description:

  Spec-only sync of EPIC #2392. No code changes.

  - Order 5 (#1419) goes from `BLOCKED` to `IN_PROGRESS`. EPIC #1488 closed on 2026-11-19 (close-out PR #2951), the maintainer decided that #1419 continues under EPIC #2392, and its session has started. Its remaining work is R8, AC8a and R9: review the main-app integration fixture against the final shutdown API, prove cooperative completion, then the closure review.
  - The Delivery Strategy paragraph no longer says #1419 waits on #1488.
  - One progress-log entry records the change, and the Decisions section records the maintainer's decision of 2026-11-18 that #1419 continues under this EPIC.

  The #1419 spec itself (still `status: blocked`) is updated by the #1419 session, not here.

  ## Validation

  - `linter all` passes, and the pre-commit hook passes on each of the branch's commits.

  Related to #2392
  Related to #1419

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

ACKs for top commit:
  josecelano:
    ACK a8ef2b7
  da2ce7:
    ACK a8ef2b7 — the round-2 audit row recomputed against its thread, the posted review and develop, with the validator's logic passing offline and clean merge, commit-id, closing-keyword and whitespace checks

Tree-SHA512: 5c023a6ccaa0c35587061bee28486fa113b712af4a66d7ea4bdddbc3c393c722f51e3b19c750783de875204cdb2d9406134a344ff8334da8afbdc1cb7c41712d
josecelano pushed a commit that referenced this pull request Nov 19, 2026
…dit of PR #2951

The follow-up PR #2960 merged, so the last open finding of the review
of PR #2951 is closed: the thread is answered and resolved.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
josecelano added a commit that referenced this pull request Nov 19, 2026
…ew audit of PR #2951

09f90b6 docs(pr-reviews): add the review audit of PR #2967 (josecelano-bot)
6e06612 docs(pr-reviews): [#1488] read develop in the verification of F9 in the review audit of PR #2951 (josecelano-bot)
680624d docs(pr-reviews): [#1488] name the merge of PR #2960 by its subject in the review audit of PR #2951 (josecelano-bot)
199efbc docs(pr-reviews): [#1488] move the close-out log entry into the Processing Log of the review audit of PR #2951 (josecelano-bot)
f5a73b4 docs(pr-reviews): [#1488] mark F9 fixed and resolved in the review audit of PR #2951 (josecelano-bot)

Pull request description:

  Related to #1488

  Docs only: one audit record, no code changes.

  ## Summary

  The follow-up PR #2960 merged, so the last open finding of the review of PR #2951 is closed. This PR records that in the review audit of PR #2951, as the "Close the loop after merge" step of the `process-pr-review` skill requires.

  ## Changes

  - `docs/pr-reviews/pr-2951-review/PR-REVIEW.md`: row F9 changes from `FOLLOW_UP` / `OPEN` to `FIXED` / `RESOLVED`. Its Solution names the merge of PR #2960 (forge `mergedAt` and the merge commit), its resolution reference is the subject of the fixing commit, and its reply URL is the reply that reports the merged fix. One new Processing Log entry records the merge, the reply, the resolved thread and the GraphQL refresh.

  **Review round 1** (reviews 5974196064 and 5974279754)

  - The new log entry is moved into the Processing Log; it had been appended under `## Completion Rules`.
  - The Solution of F9 and the log entry name the merge commit of PR #2960 by its subject, not by an abbreviated id, so the verification command of row F4 prints nothing again.
  - The verification command of F9 reads the file from `torrust/develop`.
  - `docs/pr-reviews/pr-2967-review/PR-REVIEW.md` (new): the review audit of this PR, four findings.

  ## Already done on GitHub

  - Replied on the thread of the finding on PR #2951 and resolved it. PR #2951 has zero unresolved threads.

  ## Validation

  - `validate-audit-record.py --pr-number 2951`: 9 rows, 12 log entries, 0 failures.
  - `validate-audit-record.py --pr-number 2967`: 4 rows, 3 log entries, 0 failures.
  - `./contrib/dev-tools/git/hooks/pre-commit.sh`: pass (12 steps).
  - Pre-push checks: pass.

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

ACKs for top commit:
  josecelano:
    ACK 09f90b6
  da2ce7:
    ACK 09f90b6 — the round-1 fixes F1 and F2 and the new review audit of PR #2967 were recomputed at this head, and the validator's own logic passes offline for both audit records

Tree-SHA512: 71a913863d6c8c65290d3243df6b625c11d6ca5c76b621a5006fd08630c5e26a043087ad16f3818ac324414f1f91997ea14c7aaf71a641f76b486c50334385a0
josecelano added a commit that referenced this pull request Nov 22, 2026
…n the publish spec

5f10e49 docs(pr-reviews): add the review audit of PR 2990 (josecelano-bot)
d3877fd docs(issues): [#2583] log review round 1 of PR 2990 (josecelano-bot)
4e65ba1 docs(issues): [#2583] say #2482 is closed in the pre-publish note of row 14 (josecelano-bot)
303017a docs(issues): [#2583] say SI-26 changed the root crate's public API, not a checklist crate's (josecelano-bot)
152a235 docs(issues): [#2583] list the #1488 changes to the configuration and primitives crates (josecelano-bot)
d0c16d8 docs(issues): [#2583] reword the two sentences about what #2482 and #1488 could change (josecelano-bot)
6dc374c docs(issues): [#2583] separate the #1488 decision from its met state in the decision row (josecelano-bot)
0944a58 docs(issues): [#2583] drop the stale 'expected to close soon' clause from OQ2 (josecelano-bot)
258ebd0 docs(issues): [#2583] record that EPIC #1488 is closed in the publish spec (josecelano-bot)

Pull request description:

  ## Summary

  Spec-only sync. EPIC #1488 (shutdown overhaul) closed on 2026-11-19 08:07 UTC with its close-out PR #2951, but the first-publish spec (#2583) and the #1669 EPIC spec on `develop` still described it as pending. This PR records that prerequisite 3 of #2583 is met.

  No crate's status changes. #2583 and #2594 stay `Blocked`: prerequisite 5 (the rest of EPIC #1669's API work), the per-crate testing gates, #2917 before `configuration` 4.0.0, and the open questions OQ1, OQ3 and OQ4 remain. No open question is answered here.

  ## Changes

  `docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md`:

  - The "Other prerequisites" decision row, prerequisite 3, T3, the workflow checkpoint and AC7 say #1488 is closed (T3 and both checkboxes stay open because of the other gates).
  - New section "EPIC #1488 closed": what the EPIC changed that matters for publishing (SI-18 and SI-19 removed the legacy `Halted` shutdown API, `torrust-server-lib` 0.5.0 then 0.6.0; SI-25 removed nine unused public error variants from the HTTP, REST and UDP server crates with no version bump; SI-20 added a public field to `Configuration` and SI-21 added `Readiness` to `primitives`; SI-26 changed the public API of the root crate only, not of a checklist crate; SI-28 added `app::run_until_shutdown_signal` to the root crate and the test-only, `publish = false` crate `torrust-tracker-hung-component-tracker`).
  - OQ2 (whether the #1488 prerequisite becomes per crate) is marked moot, not decided and not deleted.
  - The pre-publish notes of rows 14, 17, 18 and 20 no longer say #2482 "may change" the crate, and rows 17, 18 and 20 no longer say it of #1488; those three name the SI-25 variant removal for the first-publish release notes.
  - The `primitives` state line, the "Stale order" and "Publishing spread over time" risks and one scope bullet no longer treat #1488 as pending.
  - The stale-facts note (T4 owns the update) gained the 2026-11-21 member count: 36 members, 14 with `publish = false`, still 22 publishable.
  - Progress-log entry.

  `docs/issues/open/1669-overhaul-packages/EPIC.md`: the #2583 quick-list line and subissue-table row no longer say "blocked on #1488"; progress-log entry. Earlier log entries are history and are unchanged.

  Not changed: the #2594 spec and `DECISIONS.md` do not mention #1488.

  ## Validation

  - Every fact was checked on GitHub (issue and PR states and dates) and on `develop` (`cargo metadata --no-deps`, the crates' `Cargo.toml`, the archived specs of the EPIC #1488 sub-issues) on 2026-11-21.
  - `./contrib/dev-tools/git/hooks/pre-commit.sh` passed (includes `linter all`).

  Related to #2583
  Related to #1669

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

ACKs for top commit:
  da2ce7:
    ACK 5f10e49 — F1 to F6 fixed and the six-row audit record validated offline against the captured threads at this head
  josecelano:
    ACK 5f10e49

Tree-SHA512: a2bcd4962fcabe4ce51d812e6a0efa746de043d17c58fab62d019996f9ee39ff5ada804aba7c41664b4c771154388e95839231d1d8267fafc43e3c88d66592ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overhaul: Tracker Shutdown

4 participants