Skip to content

chore(issues): archive the closed #2505 spec and close its late spec-review findings - #2528

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano:2505-post-merge-cleanup
Oct 14, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
josecelano:2505-post-merge-cleanup

Conversation

@josecelano

@josecelano josecelano commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Post-merge cleanup for issue #2505 after PR #2524 merged (8045bd252). Related to #2505, #2524, and #2506.

Changes

One signed commit per item:

  1. docs(issues): [#2505] set the spec's related pull request: sets related-pr: 2524 and logs the merge, including that Cameron's two change requests were dismissed at the maintainer's decision before the merge.
  2. chore(issues): archive closed issue #2505 spec to docs/issues/closed: moves docs/issues/open/2505-udp-banned-ips-metric/ to docs/issues/closed/ (The UDP banned-IPs metric counts clients that are not banned #2505 is CLOSED on GitHub), sets status: done, ticks the last workflow checkpoint, and updates the frontmatter paths in the folder. Live references are repaired in the Make the statistics repositories' metrics lock private #2517 spec and in the frontmatter of the PR docs(issues): [#2505] add specification for the UDP banned-IPs metric bug #2506 and PR fix(udp-core): [#2505] count only IPs over the limit as banned and refresh the total on reset #2524 review audits. Three historical mentions of the old path (an old progress-log entry, a recorded task review, and the PR docs(issues): [#2517] add specification for making the statistics repository lock private #2520 audit) stay as recorded.
  3. docs(pr-reviews): [#2505] close the PR #2506 post-merge findings: Cameron's late review of the spec PR docs(issues): [#2505] add specification for the UDP banned-IPs metric bug #2506 (F7-F14) was fixed on the PR fix(udp-core): [#2505] count only IPs over the limit as banned and refresh the total on reset #2524 branch with maintainer approval and recorded as FOLLOW_UP/OPEN. Now that fix(udp-core): [#2505] count only IPs over the limit as banned and refresh the total on reset #2524 is merged, each finding is FIXED/RESOLVED, citing its fix commit on develop and a closing reply on its thread. The audit validator passes (14 rows, 0 failures).
  4. docs(issues): [#2517] point the SI-30 traits out-of-scope note at #2521: the Make the statistics repositories' metrics lock private #2517 spec said the draft for removing the unused SI-30 statistics traits was not committed yet; it is now issue Remove the unused UDP statistics traits and services #2521. This commit also restores the Make the statistics repositories' metrics lock private #2517 spec's last-updated-utc, which the archive commit had changed, so this PR does not conflict with PR refactor: [#2517] make the statistics repositories' metrics lock private #2527 on that line (git merge-tree with refactor: [#2517] make the statistics repositories' metrics lock private #2527's head is clean).

Validation

josecelano and others added 3 commits October 14, 2026 15:27
PR torrust#2524 implemented the fix and merged; record it in the spec frontmatter
and log the merge.

Co-authored-by: Copilot <[email protected]>
…closed

Move the torrust#2505 spec folder to docs/issues/closed, set its status to done,
tick the last workflow checkpoint, and update the frontmatter paths. Repair
the live references in the torrust#2517 spec and the PR torrust#2506 and PR torrust#2524 review
audits; historical mentions of the old path stay as recorded.

Co-authored-by: Copilot <[email protected]>
… findings

PR torrust#2524 merged with the fixes for Cameron's late review of PR torrust#2506.
Record F7-F14 as FIXED/RESOLVED, each citing its fix commit on develop and
the closing reply on its thread.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 14, 2026 14:34
@josecelano
josecelano requested a review from da2ce7 October 14, 2026 14:37
… at torrust#2521

The note said the draft for removing the unused SI-30 statistics traits was
not committed yet; it is now issue torrust#2521. Also restore the last-updated
timestamp the archive commit changed, so this branch does not conflict
with PR torrust#2527 on the same frontmatter line.

Co-authored-by: Copilot <[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 finding
What changed in this PR

Archives the closed #2505 spec and updates review/audit documentation to reflect that PR #2524 has merged and the remaining post-merge findings are resolved.

Changes:

  • Update PR review audits to reference the archived #2505 docs and mark late findings F7–F14 as FIXED/RESOLVED.
  • Update #2505 spec frontmatter/workflow status to done, set related-pr: 2524, and record the archival/merge in the progress log.
  • Repair a live reference in the #2517 spec to point at the archived #2505 spec path.
File Description
docs/​pr-reviews/​pr-2524-review/​PR-REVIEW.md Updates related-artifacts links to the archived (#2505) closed-spec paths.
docs/​pr-reviews/​pr-2506-review/​PR-REVIEW.md Closes F7–F14 post-merge findings and updates verification/reference pointers to develop + archived docs.
docs/​issues/​open/​2517-1669-encapsulate-statistics-repository-state/​ISSUE.md Repairs reference to the #2505 spec to point to its new archived location.
docs/​issues/​open/​2505-udp-banned-ips-metric/​performance-evidence.md Points evidence back to the archived #2505 ISSUE.md and updates timestamp.
docs/​issues/​open/​2505-udp-banned-ips-metric/​manual-verification-evidence.md Points evidence back to the archived #2505 ISSUE.md.
docs/​issues/​open/​2505-udp-banned-ips-metric/​implementation-retrospective.md Updates related-artifacts links to the archived (#2505) closed-spec paths.
docs/​issues/​open/​2505-udp-banned-ips-metric/​ISSUE.md Marks #2505 as done, sets related-pr, updates spec-path and workflow checkbox, and appends archival notes.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Record Copilot review 5519889203: its one finding, to cite commit SHAs or
URLs instead of commit subjects, is declined because the review workflow
requires unique commit subjects and forbids branch SHAs.

Co-authored-by: Copilot <[email protected]>
@josecelano

Copy link
Copy Markdown
Member Author

ACK 620b2a6

@josecelano
josecelano merged commit 988c3bc into torrust:develop Oct 14, 2026
20 checks passed

@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 620b2a606e09c406590cf26955e7081458cb6c34 (post-merge). Recomputed from the bytes at the merged head, against the merge base 8045bd252; the PR merged at 15:21:28Z as 988c3bc76.

Label: POST_MERGE_FINDINGS — this round was computed at this head, after an earlier round at d056de4f9 was superseded by two commits, and it posts after the merge. The findings below stand at the merged head and are for a follow-up. None is blocking. No ACK follows a merged PR. 988c3bc76 merges this head into 184446a2b, and its tree is the clean merge tree recomputed before the merge.

Carried from d056de4f9. d056de4f9 is an ancestor of this head. Of the 13 files in the archive diff, 12 keep their blobs; only the #2517 spec changes. The rulings below carry.

Archive move (5e4cef696). The diff is 13 files, +82/−70. Of the ten files in the moved folder, six are blob-identical and four carry only the stated edits. #2505 was closed (completed, 14:21:53Z) by the merge of PR #2524. The subject is Step 6's untagged form. The old open/ path survives three times, all historical. All relative links and frontmatter paths resolve.

Related-pr entry (bde12a0da). related-pr: 2524; each stamp equals its last log entry and is earlier than its commit. The capture shows this account's two PR #2524 reviews as DISMISSED and every thread resolved, but not the dismissal time.

PR #2506 findings (d056de4f9). Severities equal their brackets. The replies sit on their own threads, which are resolved. Each subject is one develop commit, and every Current-tree sentence holds:

  • F7 fe4ae5052, F8 6b8a96e1e, F9 fe4ae5052, F12 e6f459f70, F13 and F14 59888f9f0: fixed.
  • F10 b9afa9b96: test only; the R2 note came from 59888f9f0 and ddf99a03b (F2).
  • F11 6f4e2c0ae: the refactor; the commit point came from edbc03415 (F3).

Validator. For PR #2506, --base 48e11787f (develop before the PR #2506 merge) gives 14 rows, 0 failures; c1874facb fails F1–F6, and the default develop fails all 14. For PR #2524, c1874facb gives 10 rows, 0 failures. For PR #2528, 8045bd252 gives 1 row, 0 failures.

8901bc508, at 988c3bc76. Out of Scope points at the #2521 spec, which resolves and names both traits. Two problems remain in the #2517 spec:

  • The Risks bullet (:360-361) still says the draft is "not committed yet; see Out of Scope" (F6).
  • last-updated-utc is still #2527's "2026-10-14 14:31", with no log entry for this PR's 14:51 edit (F7). An open archive PR for this spec exists; I have not read its content.

620b2a606. Ownership, Status Values and Completion Rules match the template verbatim, and the inventory matches review 5519889203.

  • Minor (inferred) follows SKILL.md:230-231.
  • A reply URL as the reference for NO_ACTION follows SKILL.md:235.
  • The 14:55:24Z reply has the rule's form, Superseded by F1: plus a reason, ending in a period.
  • The 12 distinct FIXED subjects each match one develop subject.
  • The log stamps precede the commit, and the thread is resolved.
  • The validator sentence omits its base (F8).

Review bot. Its one comment asks for SHAs or URLs instead of subjects. I am not adopting it: process-pr-review requires "FIXED resolution references are unique Conventional Commit subjects" and says "Never use a branch SHA". The author's F1 ruling agrees.

Hygiene. Both new subjects are Conventional, and the bodies match the diffs. Author equals committer, times ascend, each commit has one trailer line, there is no banned token, and git diff --check is clean.

Findings (inline; F1 is the review bot's):

  • F2 [Minor] F10's reference omits the R2-note commit.
  • F3 [Minor] F11's reference omits the commit-point commit.
  • F4 [Nit] the manual-verification stamp stays 12:55.
  • F5 [Nit] the PR #2506 log lacks the thread refresh after resolution.
  • F6 [Minor] the #2517 Risks bullet is stale.
  • F7 [Nit] the #2517 stamp predates this PR's edit.
  • F8 [Minor] the PR #2528 validator sentence omits its base.
  • F9 is withdrawn after the merge: the commit is on develop.
  • F10 [Nit] the description lists four commits; the merge commit's own commit list names all five.

Checked, no finding: the ancestry and per-file blobs; the merge tree; the #2521 path; the [#2517] tag; the new audit's frontmatter, reference, author class and category; the fresh PR #2506 threads, all resolved.

Checks

On the loop's compute hub at the merged head, merge base 8045bd252 (receipt server-gates-krkavec-286): pre-commit profile gate exit 0 (147 s); linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 19 errors / 4 warnings at this head and 19 / 4 at 8045bd252 re-measured, none in the files this PR touches; validate-audit-record.py exit 0 for this PR's record (1 row, 2 log entries, 0 failures, --base 8045bd252), for the PR #2506 record (14 rows, 9 log entries, 0 failures, --base 48e11787f, the develop before that PR merged, so the range holds both PRs' fix commits) and for the PR #2524 record (10 rows, 10 log entries, 0 failures, --base c1874facb). GitHub checks at this head at posting time: "Publish (Development): completed/skipped; Publish (Release): completed/skipped; Context: completed/success; Package Coverage (${{ matrix.package }}): completed/skipped; Package Coverage Regression: completed/success; Docker E2E: completed/skipped; Unit (nightly): completed/success; Unit (stable): completed/success; Layer Boundary Bans: completed/success; Documented Clippy Allows: completed/success; Test (Docker) (release): completed/success; Generate Coverage Report: completed/success; Docs Lint: completed/success; Discover Package Coverage: completed/success; Build on ubuntu-latest (stable): completed/success; Build on windows-latest (nightly): completed/success; Build on ubuntu-latest (nightly): completed/success; Build on macos-latest (nightly): completed/success; Build on macos-latest (stable): completed/success; Build on windows-latest (stable): completed/success". At posting, develop is 988c3bc76.

(corrects the earlier reply <https://github.com/torrust/torrust-tracker/pull/2506#discussion_r4269648429>)
- Current-tree verification: on `develop`, the archived `ISSUE.md` R2 bullet lists the three cases and their
status, and `packages/udp-core/src/services/banning.rs` contains the below-limit test.
- Resolution reference: `test(udp-core): [#2505] cover an IP that stays within the limit after a reset`

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.

[Minor][F2] F10's resolution reference names a commit that does not change the R2 note the finding was about.

F10 is anchored on R2's "Passes on develop" note and asks to narrow it. The cited test(udp-core): [#2505] cover an IP that stays within the limit after a reset (b9afa9b96) changes only packages/udp-core/src/services/banning.rs (+20). The note at the archived ISSUE.md:368-375 was narrowed by docs(issues): [#2505] align the scope and plan text with the final plan (59888f9f0) and given its current three-case text by docs(issues): [#2505] record the round-2 review fixes and the final after measurement (ddf99a03b, found with git log -S'Three cases: the reset leg'). The disposition is right, but the reference names only half of the fix. Cite both subjects, separated by ;, which the validator accepts (validate-audit-record.py:163).

- Resolution reference: <https://github.com/torrust/torrust-tracker/pull/2506#discussion_r4269648684>
- Current-tree verification: on `develop`, the refactor commit precedes `fix(udp-core): [#2505] count only IPs
over the limit as banned`, and no `BanningStats` reference remains under `packages/` or `src/`.
- Resolution reference: `refactor(udp-core): [#2505] remove the unused BanningStats trait and the write-only reset timestamp`

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.

[Minor][F3] F11's resolution reference names the code commit, not the commit that added the commit point the finding asked for.

F11 is anchored on the Commit Points table and asks for "a separate refactor commit point for AC4". That row (T5 (leftovers), now archived ISSUE.md:425) was added by docs(issues): [#2505] give the leftover removals their own commit point (edbc03415). The cited refactor(udp-core): [#2505] remove the unused BanningStats trait and the write-only reset timestamp (6f4e2c0ae) changes only banning.rs (+1/−19). The row is fixed on develop, and the refactor commit is the split the suggestion wanted. The Solution already mentions the Commit Points table, so the reference should name both commits, separated by ;.

---
doc-type: manual-verification-evidence
issue-spec: docs/issues/open/2505-udp-banned-ips-metric/ISSUE.md
issue-spec: docs/issues/closed/2505-udp-banned-ips-metric/ISSUE.md

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.

[Nit][F4] This record's last-updated-utc (line 4, just below) stays at 2026-10-14 12:55 although the archive commit edits its frontmatter.

cleanup-completed-issues Step 4 (SKILL.md:213-217) says that an affected document with frontmatter gets last-updated-utc set "to the current date when that field exists". The sibling performance-evidence.md received the same one-line issue-spec edit and moved to 14:28; this one did not. The repository fixed the same miss after an earlier archive in chore(issues): [#2473] bump the archived evidence record's last-updated stamp, whose body reads Step 4 as requiring the bump. Set it to the archive time, 14:28.

- 2026-10-14 14:31 UTC - PR #2524 merged (`8045bd252`, 14:21:52 UTC). Verified each F7-F14 fix on
`develop`, replied on the eight threads with the merge and the fix commit, and recorded them as
`FIXED`/`RESOLVED` with those commits as resolution references; the threads are resolved after
this audit is pushed.

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.

[Nit][F5] The Processing Log ends before the last step of the post-merge closure.

process-pr-review (SKILL.md:141-143, "Close the loop after merge") says: "… then resolve addressed threads. Refresh GraphQL and record zero unresolved actionable threads." This entry says that the threads "are resolved after this audit is pushed". The capture shows all eight resolved, but the record never states the refreshed result. Append one entry after the refresh that records zero unresolved actionable threads on PR #2506.

them exists but is not committed yet; the only in-tree note on their possible leftover status is
the Out of Scope of the #2505 spec (`docs/issues/open/2505-udp-banned-ips-metric/ISSUE.md`).
`UdpServerStatsRepository`) in `udp-core` and `udp-server`: tracked by #2521
(`docs/issues/open/2521-1669-remove-unused-udp-stats-traits/ISSUE.md`).

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.

[Minor][F6] The Risks bullet still says the traits' draft is "not committed yet", which this commit set out to correct.

8901bc508 gives its reason as "The note said the draft for removing the unused SI-30 statistics traits was not committed yet; it is now issue #2521", but it changes only this Out of Scope bullet. At 988c3bc76, ISSUE.md:360-361 (lines 296-297 at this head) still reads: "Overlap with the SI-30 statistics traits work: its draft (not committed yet; see Out of Scope) touches the same udp-core and udp-server files". Its "see Out of Scope" now lands on "tracked by #2521" (:131-133), so the two bullets contradict each other. A follow-up should point Risks at #2521. The 09:06 progress-log mention (:236) is historical and stays.

`UdpServerStatsRepository`) in `udp-core` and `udp-server`. A separate #1669 sub-issue draft for
them exists but is not committed yet; the only in-tree note on their possible leftover status is
the Out of Scope of the #2505 spec (`docs/issues/open/2505-udp-banned-ips-metric/ISSUE.md`).
`UdpServerStatsRepository`) in `udp-core` and `udp-server`: tracked by #2521

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.

[Nit][F7] On develop, this spec carries this PR's 14:51 edit under a 14:31 last-updated-utc.

cleanup-completed-issues Step 4 (SKILL.md:213-217): "When modifying an affected document that has YAML frontmatter, keep its metadata current: … set last-updated-utc to the current date when that field exists." 8901bc508 restored 09:06 to avoid a conflict with PR #2527. At 988c3bc76 the file keeps that PR's last-updated-utc: "2026-10-14 14:31" (:12), and its last log entry is the 14:31 one (:296). Nothing records this bullet's change (14:51:05Z). No rebase is possible now: a follow-up should set the stamp and log the edit. An open archive PR for this spec exists, and the fix may belong there; I have not read its content.

the audit already names the merge commit `8045bd252`.
- Current-tree verification: at this PR's head, each of the 12 distinct `FIXED` subjects in
`docs/pr-reviews/pr-2506-review/PR-REVIEW.md` matches exactly one commit subject on `develop`
(`git log --format=%s` with an exact-line match), and `validate-audit-record.py --pr-number 2506`

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.

[Minor][F8] The verification sentence's command, as written, exits 1 with 14 failures.

validate-audit-record.py --pr-number 2506 uses the default --base develop and checks subjects in develop..HEAD (validate-audit-record.py:104-108). On this branch that range holds only this PR's five commits, so every PR #2506 reference fails: run from this head, the output is {"status": "failed", "rows": 14, …, "failures": 14}. With --base 48e11787f (develop before the PR #2506 merge) it gives 14 rows and 0 failures, the figure recorded here. The script does not check this sentence (SKILL.md:266-268, "check those by hand"). Name the base in the sentence; the thread reply repeats the same figure.


<!-- skill-link: process-pr-review -->

# PR #2528 Review Audit

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.

[Nit][F10] The PR body's Changes list stops at four commits and does not mention this audit.

The body enumerates the commits one item each, from set the spec's related pull request to point the SI-30 traits out-of-scope note at #2521. This file and its commit, docs(pr-reviews): add the PR #2528 review audit, are not mentioned. open-pull-request (post-creation validation) asks that the "PR body still matches branch diff and commit history after final rebases/edits", and the merge tool copies the body into the merge commit. Add a fifth item.

This branch was previously deployed

1 inactive deployment
coverage — 620b2a60 Deployed Oct 14, 2026 by josecelano via Generate Coverage Report #2530
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.

3 participants