Skip to content

docs(issues): [#2845] close out SI-26 with the M3 and M4 evidence - #2880

Merged
josecelano merged 6 commits into
torrust:developfrom
josecelano-bot:2845-close-out
Nov 16, 2026
Merged

josecelano merged 6 commits into
torrust:developfrom
josecelano-bot:2845-close-out

Conversation

@josecelano-bot

Copy link
Copy Markdown
Contributor

Closes #2845 (SI-26 of EPIC #1488). Close-out of PR #2870, which merged the implementation.

Changes

  • Archives the spec to docs/issues/closed/2845-1488-si-26-consolidate-shutdown-supervisor/ with status: done, related-pr: 2870, the acceptance criteria and checkpoints ticked, and a progress-log entry.
  • Records the two manual scenarios that were still TODO, run on a binary built from develop after the merge:
    • M3, failure path (SI-21 V6 recipe, P = 4 s, a partial REST request held open): exit status 1 at 2.04 s; http_api reported failed with "tracker API graceful drain timed out"; health_check_api asked to stop after it and did not delay the exit; every binding released.
    • M4, ban reset (ip_bans_reset_interval_in_secs = 3600, the minimum the configuration accepts): twelve announces with a wrong connection ID banned the IP (metric 1, connect unanswered); 3603 s after start the ban was reset (metric 0, connect answered); exit 0 on SIGTERM.
  • Adds implementation-retrospective.md: the M4 interval constraint the spec missed, the first regression test that passed with the old early return, and docs drift that symbol-name greps did not catch.
  • Marks EPIC Overhaul: Tracker Shutdown #1488 row 23 Done with the closed path.
  • Records the approving review's F13 (a PR-branch commit id quoted in the audit) as C13 in docs/pr-reviews/pr-2870-review/PR-REVIEW.md and replaces the id with the commit subject, as agreed when PR refactor: [#2845] consolidate the shutdown supervisors and migrate the last legacy job #2870 was merged as is.

Verification

  • Pre-commit checks pass (cspell, markdownlint, clippy, rustfmt, shellcheck).
  • The open-pull-request commit-id check prints nothing.
  • No live reference to docs/issues/open/2845-... remains.

🤖 Generated with Claude Code

josecelano-bot and others added 2 commits November 16, 2026 09:47
Archive the SI-26 spec to docs/issues/closed with the M3 (failure path)
and M4 (ban reset) runs on a binary built from develop, tick the
acceptance criteria and checkpoints, add the implementation
retrospective, mark EPIC torrust#1488 row 23 Done, and record the approving
review's F13 in the PR 2870 audit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano josecelano self-assigned this Nov 16, 2026
@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 16, 2026 10:04
da2ce7
da2ce7 previously approved these changes Nov 16, 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 d134eede3018b4114801d38c4c05af9a95bca7a2. Recomputed from the bytes at this head, against the merge base a25a27e23; git merge-tree against develop a25a27e23 writes a clean tree, identical to the head's tree.

Process: a close-out archive under cleanup-completed-issues, with open-pull-request, commit-changes, process-pr-review for the audit edit, and the retrospective and evidence templates. The folder moved with status: done, spec-path, related-pr and a progress-log entry; the evidence issue-spec follows; the EPIC row points at the closed path and says Done; the retrospective follows its template.

The change against its claim: the M2, M3 and M4 config diffs recompute byte for byte from their sed scripts against the development config at a25a27e23. M3's budgets and failure wording match the SI-21 V6 record and the code. M4's 3600 s minimum, limit of ten, gauge name, 98-byte announce and 3603 s poll arithmetic hold. M1 recomputes at this head. The C11 edit names the right commit subject, and C13's resolution reference resolves through this PR's commits.

Consistency: no tracked file still names the old open/ folder; frontmatter paths exist; every inline spelling word occurs in the file; the project dictionary is untouched.

Hygiene: both commits are Conventional, author equals committer, and each body matches its diff. git diff --check prints nothing; the skill's commit-id check with UPSTREAM_REMOTE=work prints nothing; the closing-keyword scan matches only Closes #2845 in the description, which this PR resolves, and nothing in the title or the commits. Each commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.

Findings: F1-F3 Minor, F4-F5 Nit, all repairable in place, none blocking.

  • F1: the M4 evidence says the reset writes no log line; it writes one at INFO that the filter drops.
  • F2: the design-review checkpoint is ticked as recorded with no record.
  • F3: the moved spec's EPIC link now resolves under closed/.
  • F4: "M1 to M4 ran on the binary"; M1 is a tree search.
  • F5: the unchanged-wording criterion omits T1's decided HTTP exception.

Checked, no finding: the quoted job-manager and shutdown log wording against the code; the M1 grep; PR 2848 as the spec PR; the offline audit-validator logic on the PR 2870 record (16 rows, 15 log entries, no failure); no review audit is needed for this PR yet.

Checks

On the loop's compute node at this head, against the merge base a25a27e23 (receipt server-gates-kranich-949): the repository's pre-commit gate and lint roster exit 0 (448 s wall). This PR has no audit record of its own, so the gate ran no validator for it. The PR changes documentation only, so no package tests apply. F3 checked against the bytes at posting: line 38 of docs/issues/closed/2845-1488-si-26-consolidate-shutdown-supervisor/ISSUE.md links ../1488-overhaul-tracker-shutdown/ISSUE.md, which after the move resolves under docs/issues/closed/, while the EPIC folder is still docs/issues/open/1488-overhaul-tracker-shutdown. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is a25a27e23.

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.

🟡 Changes recommended

Outstanding documentation issues include a broken EPIC link, a completion criterion omitting the approved HTTP wording exception, and an audit item marked resolved before its follow-up merges.

3 open issues
What changed in this PR

This documentation-only PR closes out SI-26 of the tracker shutdown overhaul after implementation merged in #2870. It records the remaining manual verification and archives issue #2845.

Changes:

  • Records M3 failure-path and M4 ban-reset commands, output, and results.
  • Archives the completed specification, updates the parent EPIC, and adds an implementation retrospective.
  • Records deferred review finding C13 and replaces a branch commit ID with its subject.
File Description
docs/​pr-reviews/​pr-2870-review/​PR-REVIEW.md Adds C13 and corrects the commit reference.
docs/​issues/​open/​2845-1488-si-26-consolidate-shutdown-supervisor/​manual-verification-evidence.md Removes the evidence file from the open-issue folder.
docs/​issues/​open/​1488-overhaul-tracker-shutdown/​ISSUE.md Marks SI-26 done and links to the archived specification.
docs/​issues/​closed/​2845-1488-si-26-consolidate-shutdown-supervisor/​manual-verification-evidence.md Preserves earlier evidence and adds completed M3 and M4 runs.
docs/​issues/​closed/​2845-1488-si-26-consolidate-shutdown-supervisor/​ISSUE.md Archives the specification and records completion checkpoints.
docs/​issues/​closed/​2845-1488-si-26-consolidate-shutdown-supervisor/​implementation-retrospective.md Documents lessons from verification and review.

Review effort: Balanced

@da2ce7

da2ce7 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

ACK d134eed — the M2 to M4 config diffs recompute from their scripts, the archive leaves no live reference to the old open path, and the C13 row passes the audit validator's offline logic at this head

Fix the archived spec's EPIC link, untick the design-review checkpoint
that was never recorded, state the decided HTTP wording exception in the
unchanged-behaviour criterion, say that M1 is a tree search, point out
the reset log line the M4 filter drops, and keep C13 of the PR 2870 audit
as FOLLOW_UP and OPEN until this PR merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano

Copy link
Copy Markdown
Member

ACK d134eed

da2ce7
da2ce7 previously approved these changes Nov 16, 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 816c4e67e2832f8840a6ec78e69e093fff574a12. Recomputed from the bytes at this head, against the merge base a25a27e23; git merge-tree against develop a25a27e23 writes a clean tree, identical to the head's tree.

Process: round 2 of a close-out under cleanup-completed-issues; the two new commits answer round 1 and the automated review, and the new audit record follows process-pr-review and its template. The head fast-forwards the round-1 head d134eede3.

The change against its claim: F1 to F5 are fixed. The M4 Result names the reset line the filter drops and its source; the design-review checkpoint is unticked with its reason, and the retrospective names the missing review next to the weak first test; the EPIC link is ../../open/… and resolves; the EPIC row and the retrospective say M1 is a tree search; the criterion carries T1's HTTP wording exception. C13 of the PR 2870 audit is FOLLOW_UP/OPEN with a reply URL as its resolution reference and the follow-up in its own field, as the skill asks while the follow-up is open.

Audit record: eight rows and eight details; every thread has one reply on its own thread, and all eight are resolved; each severity equals its source bracket; every resolution subject is a commit of this PR; the log is in order. The validator's logic run offline on this record and on the PR 2870 record reports no failure.

Hygiene: both commits are Conventional, author equals committer, the first body matches its diff and the second has none. git diff --check and the skill's commit-id check with UPSTREAM_REMOTE=work print nothing; no tracked file names the old open/ folder; the description is unchanged and its only keyword match is Closes #2845; nothing in the commits matches. Each commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.

Findings: F1 to F5 fixed. One new finding, F6 (Minor, non-blocking): the PR 2870 audit now runs C13 through the late-finding workflow but still records Post-merge workflow approval: N/A.

Checked, no finding: the reworded M4 sentence against BanService::reset_bans; the relative links of the changed files; the round-1 approval was dismissed by the push after the last audit commit, so it does not hold this round.

Checks

On the loop's compute node at this head, against the merge base a25a27e23 (receipt server-gates-kranich-956): the repository's pre-commit gate and lint roster exit 0 (161 s wall), and the review-audit validator passes with no failure. The PR changes documentation only, so no package tests apply. F3 checked against the bytes at posting: the moved spec now links EPIC #1488 as ../../open/1488-overhaul-tracker-shutdown/ISSUE.md, which resolves. GitHub checks at this head at posting time: "". At posting, develop is a25a27e23.

@da2ce7

da2ce7 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

ACK 816c4e6 — F1 to F5 are fixed in the tree, all eight threads have a reply and an audit row, and both audit records pass the validator's offline logic at this head

@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 1f070c98d8a695701d7cdbd28f0c36d06931c53d. Recomputed from the bytes at this head, against the merge base a25a27e23; git merge-tree against develop a25a27e23 writes a clean tree, identical to the head's tree.

Process: round 3 of the close-out; the head fast-forwards the round-2 head 816c4e67e, and the two new commits change only the two audit records, under process-pr-review.

The change against its claim: eaee14af6 fixes F6. The PR 2870 audit's Ownership line now cites a durable approval comment on that pull request, with the chat approval time (08:17 UTC), the comment's creation time (10:37 UTC), and the review and merge times, as step 2 of the late-finding workflow asks for a retrospective record; the cross-reference from that pull request to this one at 10:37:30 UTC agrees. Its Processing Log gains the 09:51, 10:24 and 10:37 UTC entries in order. 1f070c98d adds C9 for F6 to this PR's audit with its row, detail and three log entries.

Audit record: nine rows and nine details; every thread has one reply on its own thread, and all nine are resolved; each severity equals its source bracket; every resolution subject is a commit of this PR; the log is in order and each stamp fits the commit and reply times (the F6 reply at 10:38:24 UTC precedes the commit that cites it). The validator's logic run offline on this record and on the PR 2870 record reports no failure.

Hygiene: both commits are Conventional, author equals committer, and neither has a body. git diff --check and the skill's commit-id check with UPSTREAM_REMOTE=work print nothing; the description is unchanged and its only keyword match is Closes #2845; nothing in the commits matches. Each commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.

Findings: F1 to F6 fixed; none new.

Checked, no finding: the round-2 approval was dismissed by the push after the last audit commit, so it does not hold this round; no review or comment arrived after that commit.

Checks

On the loop's compute node at this head, against the merge base a25a27e23 (receipt server-gates-kranich-958): the repository's pre-commit gate and lint roster exit 0, and the review-audit validator reports 9 rows, 7 log entries and no failure. The PR changes documentation only, so no package tests apply. F6 checked against the bytes at posting: line 20 of docs/pr-reviews/pr-2870-review/PR-REVIEW.md now cites the post-merge workflow approval comment instead of N/A, and the #2880 record names review 5918589470. GitHub checks at this head at posting time: "". At posting, develop is a25a27e23.

@da2ce7

da2ce7 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

ACK 1f070c9 — F6 is fixed with a timed post-merge approval record, all nine threads have a reply and an audit row, and both audit records pass the validator's offline logic at this head

@josecelano

Copy link
Copy Markdown
Member

ACK 1f070c9

@josecelano
josecelano merged commit ce312c9 into torrust:develop Nov 16, 2026
1 check passed
josecelano pushed a commit that referenced this pull request Nov 16, 2026
…-out merged (#2845)

The close-out PR #2880 merged into develop, so the F13 follow-up is done.
C13 is now FIXED / RESOLVED, cites the fix commit by its subject, and
links the reply that resolved the F13 thread.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
josecelano added a commit that referenced this pull request Nov 16, 2026
7c721bc docs(pr-reviews): audit the second da2ce7 review of PR 2882 (#2845) (josecelano-bot)
8ed6aca docs(pr-reviews): record F4's severity mark and narrow its SHA rule in the PR 2882 audit (#2845) (josecelano-bot)
56e5b43 docs(pr-reviews): address the review of PR 2882 (#2845) (josecelano-bot)
d944f07 docs(pr-reviews): mark C13 of the PR 2870 audit fixed after the close-out merged (#2845) (josecelano-bot)

Pull request description:

  Finishes the post-merge step from the PR #2870 review for #2845 (SI-26 of EPIC #1488).

  Cameron's late finding F13 on #2870 (audit row C13) was deferred to the close-out PR #2880. The `process-pr-review` skill keeps such a row `FOLLOW_UP` / `OPEN` until the follow-up merges. #2880 merged into `develop` at 13:39 UTC, so this PR:

  - marks C13 `FIXED` / `RESOLVED` in `docs/pr-reviews/pr-2870-review/PR-REVIEW.md`;
  - cites the fix by its commit subject (`docs(issues): close out #2845 with the M3 and M4 evidence`);
  - links the reply that resolved the F13 thread (#2870 (comment)) and adds the Processing Log entries;
  - records the review of this PR in `docs/pr-reviews/pr-2882-review/PR-REVIEW.md`.

  PR #2870 has no unresolved review threads left. Docs only. #2845 is already closed, so there is no closing keyword.

  ## Validation

  Run as `josecelano-bot` (`GH_TOKEN` set to the bot token for `gh`):

  - `validate-audit-record.py --pr-number 2870`: `{"status": "ok", "rows": 16, "log_entries": 20, "failures": 0}`.
  - `validate-audit-record.py --pr-number 2882`: `{"status": "ok", "rows": 7, "log_entries": 9, "failures": 0}`.
  - The `open-pull-request` commit-id check over the changed files prints nothing.
  - The pre-commit hook (`linter all`: markdownlint, cspell and the rest) passes on every commit.

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

ACKs for top commit:
  da2ce7:
    ACK 7c721bc — F5 and F6 are fixed and F7 is recorded with no change at this head, the PR 2882 record passes the validator's logic against the captured comments (7 rows, 9 log entries), the commit-id check prints nothing and the branch merges cleanly with develop
  josecelano:
    ACK 7c721bc

Tree-SHA512: cac3e7e1434e5346cba451225a17dee140c9f072c1f6ae82457d317d4dd7936fed74737b82d56116d2e35159de5624769cc6fec605ff316f1fe75a54dc0bea87
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.

Consolidate the shutdown supervisors and migrate the last legacy job

4 participants