From 3c8c19b2fd5ab0f6ef6c8cdf717abb2e7310f089 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 13:35:24 +0000 Subject: [PATCH 1/7] docs(issues): [#2776] archive the closed issue spec to docs/issues/closed Co-Authored-By: Claude Sonnet 5.5 --- ...2_close_idle_connections_without_a_408_response.md | 4 ++-- .../2776-2411-axum-server-0-9-timeouts/ISSUE.md | 11 ++++++----- .../evidence/baseline-probe-results.txt | 0 .../evidence/baseline-probe.py | 0 .../evidence/baseline-tracker.toml | 0 .../evidence/green-run.txt | 0 .../evidence/probe-h2.py | 0 .../evidence/red-run-service-tests.txt | 0 .../evidence/red-run.txt | 0 .../evidence/results-final-build.txt | 0 .../evidence/results-with-wrapper.txt | 0 .../evidence/results-without-wrapper.txt | 0 .../evidence/run-probes.sh | 0 .../manual-verification-evidence.md | 2 +- .../open/2411-spam-and-abuse-resistance/EPIC.md | 2 +- docs/pr-reviews/pr-2813-review/PR-REVIEW.md | 8 ++++---- 16 files changed, 14 insertions(+), 13 deletions(-) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/ISSUE.md (97%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe-results.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe.py (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/baseline-tracker.toml (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/green-run.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/probe-h2.py (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/red-run-service-tests.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/red-run.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/results-final-build.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/results-with-wrapper.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/results-without-wrapper.txt (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/evidence/run-probes.sh (100%) rename docs/issues/{open => closed}/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md (99%) diff --git a/docs/adrs/20261111095222_close_idle_connections_without_a_408_response.md b/docs/adrs/20261111095222_close_idle_connections_without_a_408_response.md index 563e1c7d43..6f0136d02a 100644 --- a/docs/adrs/20261111095222_close_idle_connections_without_a_408_response.md +++ b/docs/adrs/20261111095222_close_idle_connections_without_a_408_response.md @@ -6,7 +6,7 @@ semantic-links: - packages/axum-server/src/custom_axum_server.rs - clippy.toml - docs/adrs/20260830124000_place_adrs_by_decision_scope.md - - docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md + - docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md - .github/skills/dev/planning/create-adr/SKILL.md --- @@ -78,7 +78,7 @@ A request that has arrived and whose handler is too slow still gets `408`, from ## References - Issue [#2776](https://github.com/torrust/torrust-tracker/issues/2776) and its spec, - `docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md` + `docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md` - `axum-server` 0.9.0, `Server::first_request_timeout` - Reproduction repository: - RFC 9110, section 15.5.9 (`408 Request Timeout`) diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md similarity index 97% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md index 89175cf4f3..32db214385 100644 --- a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md +++ b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md @@ -2,14 +2,14 @@ schema-version: 1 doc-type: issue issue-type: bug -status: in-progress +status: done priority: p2 epic: 2411 github-issue: 2776 -spec-path: docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md +spec-path: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md branch: "2776-axum-server-0-9-timeouts-spec" -related-pr: null -last-updated-utc: "2026-11-11 11:03" +related-pr: 2813 +last-updated-utc: "2026-11-11 12:30" semantic-links: skill-links: - create-issue @@ -205,7 +205,7 @@ with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md` - [x] Spec reviewed and approved by user/maintainer - [x] GitHub issue created and issue number added to this spec (#2776) - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -230,6 +230,7 @@ with GPG. - 2026-11-11 09:53 UTC - Claude Code (Claude Sonnet 5.5) - Added the ADR on closing idle connections without a `408` (silent close, revisit through an upstream `axum-server` feature if proxies report confusing logs). Merged `develop` into the branch to resolve conflicts with #2807 and #2812. - 2026-11-11 10:29 UTC - Claude Code (Claude Sonnet 5.5) - Added the silent-connection test (plaintext and TLS) to the HTTP tracker and REST API packages, next to the existing health check API one. They fail when a listener bypasses the shared constructor: red run in `evidence/red-run-service-tests.txt`. Added the root `clippy.toml` `disallowed-methods` guard for the `axum-server` listener constructors, a documented `allow` in `custom_axum_server.rs`, comments at every call site, and switched the `token_aware_drain` example to the shared constructor. - 2026-11-11 11:03 UTC - Claude Code (Claude Sonnet 5.5) - Review round 2 (da2ce7, findings F9 to F29 of their numbering): the ADR moved to `docs/adrs/` because the placement ADR puts protocol behaviour at the root; the README states the HTTP/2 condition (a client that answers pings is not time-bounded); the `signals.rs` test listener and the `token_aware_drain` example use the shared constructor, and `clippy.toml` also forbids `axum::serve` and the unix constructors; stamps use commit times, attributions to the maintainer are dropped and AC4 reads "no worse than with the wrapper". Audit: `docs/pr-reviews/pr-2813-review/PR-REVIEW.md`. +- 2026-11-11 12:30 UTC - Claude Code (Claude Sonnet 5.5) - PR #2813 merged (merge commit `a83f3ef29`) after two review rounds; the audit and retrospective are in `docs/pr-reviews/pr-2813-review/`. Spec moved to `docs/issues/closed/`. T8 / AC7 stay with the maintainer: #324, #612, #613 and #603 remain open until he reviews them. ## Acceptance Criteria diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe-results.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe-results.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe-results.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe-results.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe.py b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe.py similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe.py rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-probe.py diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-tracker.toml b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-tracker.toml similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/baseline-tracker.toml rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/baseline-tracker.toml diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/green-run.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/green-run.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/green-run.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/green-run.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/probe-h2.py b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/probe-h2.py similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/probe-h2.py rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/probe-h2.py diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/red-run-service-tests.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/red-run-service-tests.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/red-run-service-tests.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/red-run-service-tests.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/red-run.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/red-run.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/red-run.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/red-run.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-final-build.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-final-build.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-final-build.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-final-build.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-with-wrapper.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-with-wrapper.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-with-wrapper.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-with-wrapper.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-without-wrapper.txt b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-without-wrapper.txt similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/results-without-wrapper.txt rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/results-without-wrapper.txt diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/run-probes.sh b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/run-probes.sh similarity index 100% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/evidence/run-probes.sh rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/evidence/run-probes.sh diff --git a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md similarity index 99% rename from docs/issues/open/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md rename to docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md index 8a1b229d68..a0bb5384cc 100644 --- a/docs/issues/open/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md +++ b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md @@ -1,6 +1,6 @@ --- doc-type: manual-verification-evidence -issue-spec: docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md +issue-spec: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md last-updated-utc: "2026-11-11 11:03" --- diff --git a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md index 5637ec698a..0f47371ca1 100644 --- a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md +++ b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md @@ -54,7 +54,7 @@ Add a row for every new case. "Source" says where it was found. | ID | Case | Affected | Effect | Status | Source | | --- | --- | --- | --- | --- | --- | | A1 | No shared configurable request-rate policy | UDP, HTTP, REST API, health check | Aggregate work can exceed capacity despite existing local protections | Confirmed: no service has a request-rate policy; HTTP, REST API and health check have no concurrency or connection limit; UDP has only connection-ID banning and an approximate active-request ring. Hypothesis: the capacity at which aggregate work degrades service; confirm by measuring throughput and latency under parallel load on an isolated local tracker | Known limitation | -| A2 | Connections without a client timeout | HTTP, REST API, health check | Idle connections hold resources | Mitigated by #2776 (`axum-server` 0.9): every Axum listener, plaintext and TLS, closes a connection that sends no complete first request within 5 s (`Server::first_request_timeout`), and closes one that is idle after a response (5 s for HTTP/1, about 10 s for HTTP/2); a TLS handshake that does not complete is closed after 10 s. Verified at runtime on the final build ([evidence](../2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md)). The server closes the connection without a `408`; the values are not configurable | #324, #2776 | +| A2 | Connections without a client timeout | HTTP, REST API, health check | Idle connections hold resources | Mitigated by #2776 (`axum-server` 0.9): every Axum listener, plaintext and TLS, closes a connection that sends no complete first request within 5 s (`Server::first_request_timeout`), and closes one that is idle after a response (5 s for HTTP/1, about 10 s for HTTP/2); a TLS handshake that does not complete is closed after 10 s. Verified at runtime on the final build ([evidence](../../closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md)). The server closes the connection without a `408`; the values are not configurable | #324, #2776 | | A3 | HTTP scrape exceeds the documented 74 info-hash limit | HTTP tracker | Local requests returned 75 and 1000 entries; overload impact not measured | Decided in #2417: HTTP keeps the first 100 as a per-request policy cap ([ADR](../../../adrs/20261005124222_cap_scrape_info_hashes_per_protocol.md)); total load still needs rate limiting | [HTTP limit evidence](../../closed/2417-2411-verify-http-scrape-info-hash-limit/manual-verification-evidence.md) | | A4 | Announce for new info hashes adds torrents to memory when policy permits | UDP, HTTP tracker | Memory is retained while peers remain active; expiry and optional peerless cleanup affect retention | Confirmed: with the default `listed = false` every info hash is authorized and its first announce adds a swarm, with no cap on the number of swarms; a swarm stays until its peers expire and peerless cleanup removes it, and stays indefinitely when `remove_peerless_torrents = false` or cleanup is disabled. Hypothesis: memory per swarm and its growth rate; confirm by measuring resident memory against distinct announced info hashes | SI-22 session, 2026-10-02 | | A5 | First announce of an unknown torrent reads the database when persistence is enabled | UDP, HTTP tracker | Database load from random info hashes | Confirmed: an announce for a swarm absent from memory reads the database once when `persistent_torrent_completed_stat` is enabled (default `false`); the swarm it then adds (A4) prevents re-reads until eviction. Hypothesis: database load at a given rate of new info hashes; confirm by counting queries and latency on an isolated local tracker | `AnnounceHandler::load_downloads_metric_if_needed` | diff --git a/docs/pr-reviews/pr-2813-review/PR-REVIEW.md b/docs/pr-reviews/pr-2813-review/PR-REVIEW.md index 0b483f5b09..0ed611fa07 100644 --- a/docs/pr-reviews/pr-2813-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2813-review/PR-REVIEW.md @@ -160,7 +160,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4528636470 - Concern: The PR-branch commit id is cited in the evidence and progress log. - Solution: Dropped; builds are named by Conventional Commit subject. -- Current-tree verification: the commit-id check prints nothing for docs/issues/open/2776-2411-axum-server-0-9-timeouts. +- Current-tree verification: the commit-id check prints nothing for docs/issues/closed/2776-2411-axum-server-0-9-timeouts. - Resolution reference: fix(axum-server): [#2776] address PR review round 1 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4530835616 @@ -199,7 +199,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4528636497 - Concern: AC4 is ticked although HTTP/2 measures 10 s, and "already 10 s today" was not measured. - Solution: AC4 and AC5 unticked; the claim dropped and the missing develop measurement stated. -- Current-tree verification: grep -n "AC4\|AC5" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "AC4\|AC5" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 1 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4530836683 @@ -277,7 +277,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4531153207 - Concern: The spec log says 14 findings; round 1 had thirteen. - Solution: Corrected to 13. -- Current-tree verification: grep -n "13 findings" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "13 findings" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 2 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4537113016 @@ -342,7 +342,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4535969665 - Concern: AC4 says "no worse than before the change" but only the wrapper build (V8) was measured; M4 still says 5 s. - Solution: AC4 says "no worse than with the wrapper (V8)"; M4 gives AC4 figures. -- Current-tree verification: grep -n "no worse than with the wrapper" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "no worse than with the wrapper" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 2 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4537118022 From 615e8d84d51a93cc0bc80a41f206799e7147afcb Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 14:08:23 +0000 Subject: [PATCH 2/7] docs(issues): [#2776] address PR 2830 review Co-Authored-By: Claude Sonnet 5.5 --- .../closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md | 6 +++--- .../manual-verification-evidence.md | 2 +- docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md | 5 +++-- docs/pr-reviews/pr-2813-review/PR-REVIEW.md | 8 ++++---- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md index 32db214385..2673f9e8e6 100644 --- a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md +++ b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2776 spec-path: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md branch: "2776-axum-server-0-9-timeouts-spec" related-pr: 2813 -last-updated-utc: "2026-11-11 12:30" +last-updated-utc: "2026-11-11 13:50" semantic-links: skill-links: - create-issue @@ -213,11 +213,11 @@ with GPG. - [x] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) - [x] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` - [x] Acceptance criteria reviewed after implementation and updated with evidence -- [ ] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed +- [x] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed - [ ] Reviewer validated acceptance criteria and updated checkboxes - [ ] Independent reviewer reports recorded in issue-local `agent-review-reports.md` when reviewers received this folder-style specification - [ ] Committer verified spec progress is up to date before commit -- [ ] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` +- [x] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` ### Progress Log diff --git a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md index a0bb5384cc..4b3fa41685 100644 --- a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md +++ b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md -last-updated-utc: "2026-11-11 11:03" +last-updated-utc: "2026-11-11 13:50" --- # Manual Verification Evidence diff --git a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md index 0f47371ca1..c95673c9d1 100644 --- a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md +++ b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 2411 spec-path: docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md epic-owner: josecelano -last-updated-utc: "2026-11-10 17:20" +last-updated-utc: "2026-11-11 13:50" semantic-links: skill-links: - create-issue @@ -114,7 +114,8 @@ Each control bounds one cost locally; none bounds aggregate work across requests | --- | --- | --- | --- | --- | | 1 | #324 - Denial of Service attack factor | None (pre-dates specs) | TODO | Existing open issue; linked as a sub-issue | | 2 | #2417 - Verify whether HTTP scrape enforces the 74 info-hash limit | [ISSUE.md](../../closed/2417-2411-verify-http-scrape-info-hash-limit/ISSUE.md) | DONE | A3 | -| 3 | #[To be assigned] - Rate-limiting design | Not drafted | TODO | Highest-impact mitigation for its effort (A1); deferred until after v4.0.0 | +| 3 | #2776 - Adopt `axum-server` 0.9 timeouts and close idle-connection gaps | [ISSUE.md](../../closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md) | DONE | A2 | +| 4 | #[To be assigned] - Rate-limiting design | Not drafted | TODO | Highest-impact mitigation for its effort (A1); deferred until after v4.0.0 | ## Delivery Strategy diff --git a/docs/pr-reviews/pr-2813-review/PR-REVIEW.md b/docs/pr-reviews/pr-2813-review/PR-REVIEW.md index 0ed611fa07..0b483f5b09 100644 --- a/docs/pr-reviews/pr-2813-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2813-review/PR-REVIEW.md @@ -160,7 +160,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4528636470 - Concern: The PR-branch commit id is cited in the evidence and progress log. - Solution: Dropped; builds are named by Conventional Commit subject. -- Current-tree verification: the commit-id check prints nothing for docs/issues/closed/2776-2411-axum-server-0-9-timeouts. +- Current-tree verification: the commit-id check prints nothing for docs/issues/open/2776-2411-axum-server-0-9-timeouts. - Resolution reference: fix(axum-server): [#2776] address PR review round 1 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4530835616 @@ -199,7 +199,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4528636497 - Concern: AC4 is ticked although HTTP/2 measures 10 s, and "already 10 s today" was not measured. - Solution: AC4 and AC5 unticked; the claim dropped and the missing develop measurement stated. -- Current-tree verification: grep -n "AC4\|AC5" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "AC4\|AC5" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 1 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4530836683 @@ -277,7 +277,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4531153207 - Concern: The spec log says 14 findings; round 1 had thirteen. - Solution: Corrected to 13. -- Current-tree verification: grep -n "13 findings" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "13 findings" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 2 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4537113016 @@ -342,7 +342,7 @@ Round 2: da2ce7 reviews 5850237912, 5856329614, 5856670353, 5856843868, 58570932 - Source URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4535969665 - Concern: AC4 says "no worse than before the change" but only the wrapper build (V8) was measured; M4 still says 5 s. - Solution: AC4 says "no worse than with the wrapper (V8)"; M4 gives AC4 figures. -- Current-tree verification: grep -n "no worse than with the wrapper" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md. +- Current-tree verification: grep -n "no worse than with the wrapper" docs/issues/open/2776-2411-axum-server-0-9-timeouts/ISSUE.md. - Resolution reference: fix(axum-server): [#2776] address PR review round 2 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2813#discussion_r4537118022 From fa3d65c2589ea6c2254cfe7e327807b39371d500 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 16:08:05 +0000 Subject: [PATCH 3/7] docs(issues): [#2776] stamp the EPIC and the spec with the time of the fix Co-Authored-By: Claude Sonnet 5.5 --- docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md | 2 +- docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md index 2673f9e8e6..4bc4ac5a45 100644 --- a/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md +++ b/docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2776 spec-path: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md branch: "2776-axum-server-0-9-timeouts-spec" related-pr: 2813 -last-updated-utc: "2026-11-11 13:50" +last-updated-utc: "2026-11-11 16:08" semantic-links: skill-links: - create-issue diff --git a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md index c95673c9d1..19b01a8c03 100644 --- a/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md +++ b/docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 2411 spec-path: docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md epic-owner: josecelano -last-updated-utc: "2026-11-11 13:50" +last-updated-utc: "2026-11-11 16:08" semantic-links: skill-links: - create-issue From 00fe49630c30ddc8098788c752c22cfda42e843a Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 16:08:57 +0000 Subject: [PATCH 4/7] docs(pr-reviews): [#2830] add the PR audit record Co-Authored-By: Claude Sonnet 5.5 --- docs/pr-reviews/pr-2830-review/PR-REVIEW.md | 177 ++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 docs/pr-reviews/pr-2830-review/PR-REVIEW.md diff --git a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md new file mode 100644 index 0000000000..7a0b0427e5 --- /dev/null +++ b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md @@ -0,0 +1,177 @@ +--- +semantic-links: + skill-links: + - process-pr-review + related-artifacts: + - .github/skills/dev/pr-reviews/process-pr-review/SKILL.md +--- + + + +# PR #2830 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2830. + +## Ownership + +The PR author owns this tracked audit record. Reviewers, including repository review agents, +deliver findings through GitHub and have no repository-artifact obligation. + +- Post-merge workflow approval: N/A + +## Status Values + +- Relationship: `ORIGINAL`, `RE_RAISE_OF:` +- Disposition: `FIXED`, `NO_ACTION`, `SUPERSEDED`, `FOLLOW_UP` +- Thread state: `OPEN`, `RESOLVED`, `NON_RESOLVABLE`, `SUPERSEDED`. The author does not resolve + reviewer threads here, so rows stay `OPEN` until the reviewer resolves them. +- Severity: `Blocker`, `Major`, `Minor`, `Nit`, `Suggestion` +- Author class: `Copilot`, `Human`, `Unknown` +- Category: `link-integrity`, `formatting`, `metadata`, `testing`, `correctness`, + `documentation`, `maintainability`, `security`, `other` + +## Findings + +Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 (`R1`; its own label collides with the da2ce7 labels). Round 2: da2ce7 review 5860282035 (`F6` to `F8`). + +| Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | +| ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | +| F1 | review-finding:pr-2830-f1 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | +| F2 | review-finding:pr-2830-f2 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | +| F3 | review-finding:pr-2830-f3 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | +| F4 | review-finding:pr-2830-f4 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | +| F5 | review-finding:pr-2830-f5 | Human | Nit | documentation | ORIGINAL | FIXED | OPEN | +| R1 | review-finding:pr-2830-r1 | Copilot | Nit | formatting | RE_RAISE_OF:F4 | FIXED | OPEN | +| F6 | review-finding:pr-2830-f6 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | +| F7 | review-finding:pr-2830-f7 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | +| F8 | review-finding:pr-2830-f8 | Human | Nit | maintainability | ORIGINAL | FIXED | OPEN | + +## Finding Details + +### F1 - The EPIC's Subissues table has no row for #2776. + +- PR number: 2830 +- Source review ID: 5859800072 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708384 +- Concern: The EPIC's Subissues table has no row for #2776. +- Solution: Row 3 added (DONE, A2); the placeholder is row 4. +- Current-tree verification: `git grep -n "#2776 - Adopt" docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md`. +- Resolution reference: docs(issues): [#2776] address PR 2830 review +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538936115 + +### F2 - Two completed checkpoints stay unticked. + +- PR number: 2830 +- Source review ID: 5859800072 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708400 +- Concern: Two completed checkpoints stay unticked. +- Solution: Both checkpoints ticked. +- Current-tree verification: `git grep -n "\[x\] Issue closed and spec moved" docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md`. +- Resolution reference: docs(issues): [#2776] address PR 2830 review +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538936529 + +### F3 - The evidence record and the EPIC keep their old `last-updated-utc`. + +- PR number: 2830 +- Source review ID: 5859800072 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708403 +- Concern: The evidence record and the EPIC keep their old `last-updated-utc`. +- Solution: Both restamped (the EPIC later restamped again, see F7). +- Current-tree verification: `git grep -n last-updated-utc` on both files. +- Resolution reference: docs(issues): [#2776] address PR 2830 review +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538936948 + +### F4 - Four `Current-tree verification` lines of the PR 2813 audit were rewritten, changing a past record. + +- PR number: 2830 +- Source review ID: 5859800072 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708413 +- Concern: Four `Current-tree verification` lines of the PR 2813 audit were rewritten, changing a past record. +- Solution: The audit is restored to its original content; this PR no longer touches it. +- Current-tree verification: `git diff b8fac7f7f -- docs/pr-reviews/pr-2813-review` prints nothing. +- Resolution reference: docs(issues): [#2776] address PR 2830 review +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538937440 + +### F5 - The title and description depart from the open-pull-request and archive templates. + +- PR number: 2830 +- Source review ID: 5859800072 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708422 +- Concern: The title and description depart from the open-pull-request and archive templates. +- Solution: Title is the archive template; the description has `Related to #2776`, the closure check and a validation line. The change is on the forge, so the evidence is the reply. +- Current-tree verification: `gh-bot pr view 2830 --repo torrust/torrust-tracker --json title,body`. +- Resolution reference: Forge change (title and description), stated in the reply +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538937916 + +### R1 - Indentation of a line of the 2813 audit looked lost. + +- PR number: 2830 +- Source review ID: 5859882741 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538774127 +- Concern: Indentation of a line of the 2813 audit looked lost. +- Solution: Superseded by the F4 fix: the file is restored byte for byte. The claim itself did not hold, as the first commit changed only the path on those lines. +- Current-tree verification: `git diff b8fac7f7f -- docs/pr-reviews/pr-2813-review` prints nothing. +- Resolution reference: docs(issues): [#2776] address PR 2830 review +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538938352 + +### F6 - The head has no audit record. + +- PR number: 2830 +- Source review ID: 5860282035 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4539086459 +- Concern: The head has no audit record. +- Solution: This audit is added, with the processing log recording that it came after the first replies. F5 cites the reply URL as its resolution because the change lives on the forge, and R1 is `RE_RAISE_OF:F4` because that fix superseded it. +- Current-tree verification: This file exists. +- Resolution reference: docs(pr-reviews): [#2830] add the PR audit record +- Follow-up PR URL: N/A +- Reply URL: PENDING + +### F7 - The `last-updated-utc` of the EPIC and the spec (13:50) is earlier than the edits it dates (committed 14:08). + +- PR number: 2830 +- Source review ID: 5860282035 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4539086468 +- Concern: The `last-updated-utc` of the EPIC and the spec (13:50) is earlier than the edits it dates (committed 14:08). +- Solution: Both restamped with the time of the fix commit. +- Current-tree verification: `git grep -n last-updated-utc` on the EPIC and the spec. +- Resolution reference: docs(issues): [#2776] stamp the EPIC and the spec with the time of the fix +- Follow-up PR URL: N/A +- Reply URL: PENDING + +### F8 - One commit carried four independent fixes. + +- PR number: 2830 +- Source review ID: 5860282035 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4539086478 +- Concern: One commit carried four independent fixes. +- Solution: No rewrite was asked; from this round on each independent fix has its own Conventional commit (the stamps, the audit). +- Current-tree verification: `git log --oneline` of the branch. +- Resolution reference: docs(issues): [#2776] stamp the EPIC and the spec with the time of the fix +- Follow-up PR URL: N/A +- Reply URL: PENDING + +## Processing Log + +- 2026-11-11 14:13 UTC - Round 1 received (da2ce7 at 13:52, Copilot at 13:58); replies for `F1` to `F5` and `R1` posted at 14:13 UTC after the fix commit `docs(issues): [#2776] address PR 2830 review`. The replies say "Fixed in 615e8d84d"; that id is that commit, mapped here because review comments cannot be edited. This audit was not created before the first replies, as `F6` points out; it is added in round 2. +- 2026-11-11 16:08 UTC - Round 2 review of da2ce7 received at 14:26 UTC (`F6` to `F8`); this audit and the stamp fix are the commits of the round. + +## Completion Rules + +- Re-derive the reply claim against the current tree before replying. +- Reply on every thread; thread resolution is left to the reviewer. +- Cite a fix by its unique Conventional Commit subject or durable reply URL, never by a branch SHA. From a58beabe1593dfa4f05515a63aee586679f5fd43 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 16:11:25 +0000 Subject: [PATCH 5/7] docs(pr-reviews): [#2830] record the round 2 reply URLs Co-Authored-By: Claude Sonnet 5.5 --- docs/pr-reviews/pr-2830-review/PR-REVIEW.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md index 7a0b0427e5..8069224478 100644 --- a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md @@ -137,7 +137,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: This file exists. - Resolution reference: docs(pr-reviews): [#2830] add the PR audit record - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540274432 ### F7 - The `last-updated-utc` of the EPIC and the spec (13:50) is earlier than the edits it dates (committed 14:08). @@ -150,7 +150,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: `git grep -n last-updated-utc` on the EPIC and the spec. - Resolution reference: docs(issues): [#2776] stamp the EPIC and the spec with the time of the fix - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540274915 ### F8 - One commit carried four independent fixes. @@ -163,12 +163,13 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: `git log --oneline` of the branch. - Resolution reference: docs(issues): [#2776] stamp the EPIC and the spec with the time of the fix - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540275325 ## Processing Log - 2026-11-11 14:13 UTC - Round 1 received (da2ce7 at 13:52, Copilot at 13:58); replies for `F1` to `F5` and `R1` posted at 14:13 UTC after the fix commit `docs(issues): [#2776] address PR 2830 review`. The replies say "Fixed in 615e8d84d"; that id is that commit, mapped here because review comments cannot be edited. This audit was not created before the first replies, as `F6` points out; it is added in round 2. - 2026-11-11 16:08 UTC - Round 2 review of da2ce7 received at 14:26 UTC (`F6` to `F8`); this audit and the stamp fix are the commits of the round. +- 2026-11-11 16:11 UTC - Round 2 replies for `F6` to `F8` posted after the two fix commits; their reply URLs are recorded in the commit that carries this entry. ## Completion Rules From bea2dd8b04f02b0d23ab41d64400e1442b685884 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 16:36:08 +0000 Subject: [PATCH 6/7] docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows Co-Authored-By: Claude Sonnet 5.5 --- docs/pr-reviews/pr-2830-review/PR-REVIEW.md | 101 ++++++++++++++++---- 1 file changed, 83 insertions(+), 18 deletions(-) diff --git a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md index 8069224478..f245cd2cf6 100644 --- a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md @@ -23,28 +23,40 @@ deliver findings through GitHub and have no repository-artifact obligation. - Relationship: `ORIGINAL`, `RE_RAISE_OF:` - Disposition: `FIXED`, `NO_ACTION`, `SUPERSEDED`, `FOLLOW_UP` -- Thread state: `OPEN`, `RESOLVED`, `NON_RESOLVABLE`, `SUPERSEDED`. The author does not resolve - reviewer threads here, so rows stay `OPEN` until the reviewer resolves them. -- Severity: `Blocker`, `Major`, `Minor`, `Nit`, `Suggestion` +- Thread state: `OPEN`, `RESOLVED`, `NON_RESOLVABLE`, `SUPERSEDED`. `OPEN` applies prospectively + to audits created or updated for approved follow-up work; historical audits remain valid without + bulk migration. +- Severity: `Blocker`, `Major`, `Minor`, `Nit`, `Suggestion`; append `(inferred)` when derived + from free prose. - Author class: `Copilot`, `Human`, `Unknown` - Category: `link-integrity`, `formatting`, `metadata`, `testing`, `correctness`, `documentation`, `maintainability`, `security`, `other` +- An outdated thread whose concern was fixed is `FIXED`/`RESOLVED`, even when GitHub marks the + original thread outdated after the push. For in-PR feedback, use `NO_ACTION`/`SUPERSEDED` only + for a duplicate, superseded, or no-change concern. A post-merge `NO_ACTION` requires maintainer + approval to decline the follow-up work. +- When the current identity cannot resolve a thread (`viewerCanResolve` is `false`), keep the + disposition established from the current tree and record `Thread state=OPEN`. The reviewer or PR + author resolves it; permission says nothing about whether the concern was fixed. ## Findings -Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 (`R1`; its own label collides with the da2ce7 labels). Round 2: da2ce7 review 5860282035 (`F6` to `F8`). +Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 (`R1`; the bot's review and comment carry no finding ID, so `R1` is an audit-local reference, kept once assigned). Round 2: da2ce7 review 5860282035 (`F6` to `F8`). Round 3: da2ce7 review 5861952787, whose labels `F6` (a re-raise), `F9` and `F10` are recorded as `F11`, `F9` and `F10`; `F6` was already used, so the re-raise gets the next audit-local ID and the reviewer's label is kept in `Reviewer finding ID`. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | -| F1 | review-finding:pr-2830-f1 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | -| F2 | review-finding:pr-2830-f2 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | -| F3 | review-finding:pr-2830-f3 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | -| F4 | review-finding:pr-2830-f4 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | -| F5 | review-finding:pr-2830-f5 | Human | Nit | documentation | ORIGINAL | FIXED | OPEN | -| R1 | review-finding:pr-2830-r1 | Copilot | Nit | formatting | RE_RAISE_OF:F4 | FIXED | OPEN | -| F6 | review-finding:pr-2830-f6 | Human | Minor | documentation | ORIGINAL | FIXED | OPEN | -| F7 | review-finding:pr-2830-f7 | Human | Minor | metadata | ORIGINAL | FIXED | OPEN | -| F8 | review-finding:pr-2830-f8 | Human | Nit | maintainability | ORIGINAL | FIXED | OPEN | +| F1 | review-finding:pr-2830-f1 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F2 | review-finding:pr-2830-f2 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F3 | review-finding:pr-2830-f3 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F4 | review-finding:pr-2830-f4 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F5 | review-finding:pr-2830-f5 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| R1 | review-finding:pr-2830-r1 | Copilot | Nit (inferred) | formatting | RE_RAISE_OF:F4 | FIXED | RESOLVED | +| F6 | review-finding:pr-2830-f6 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F7 | review-finding:pr-2830-f7 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F8 | review-finding:pr-2830-f8 | Human | Nit | maintainability | ORIGINAL | FIXED | RESOLVED | +| F9 | review-finding:pr-2830-f9 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F10 | review-finding:pr-2830-f10 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F11 | review-finding:pr-2830-f11 | Human | Minor | documentation | RE_RAISE_OF:F5 | FIXED | RESOLVED | ## Finding Details @@ -107,9 +119,9 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Reviewer finding ID: N/A - Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538708422 - Concern: The title and description depart from the open-pull-request and archive templates. -- Solution: Title is the archive template; the description has `Related to #2776`, the closure check and a validation line. The change is on the forge, so the evidence is the reply. +- Solution: Title is the archive template; the description has `Related to #2776`, the closure check and a validation line. The change is on the forge; a PR conversation comment states it and is cited as the resolution. - Current-tree verification: `gh-bot pr view 2830 --repo torrust/torrust-tracker --json title,body`. -- Resolution reference: Forge change (title and description), stated in the reply +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2830#issuecomment-6801479863 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4538937916 @@ -165,14 +177,67 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540275325 +### F9 - `Status Values` and `Completion Rules` are not the template's verbatim text. + +- PR number: 2830 +- Source review ID: 5861952787 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540432028 +- Concern: `Status Values` and `Completion Rules` are not the template's verbatim text. +- Solution: Both sections are restored from the template. Threads are now resolved by the author after the reply, as `process-pr-review` asks. +- Current-tree verification: `diff` of both sections against `PR-REVIEW-TEMPLATE.md`. +- Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows +- Follow-up PR URL: N/A +- Reply URL: PENDING + +### F10 - The reason given for `R1` does not hold: the bot's review and comment carry no finding ID. + +- PR number: 2830 +- Source review ID: 5861952787 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540432046 +- Concern: The reason given for `R1` does not hold: the bot's review and comment carry no finding ID. +- Solution: The reason is corrected in the Findings paragraph and the severity of `R1` is marked `(inferred)`; `R1` keeps its reference. +- Current-tree verification: `git grep -n "audit-local reference" docs/pr-reviews/pr-2830-review/PR-REVIEW.md`. +- Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows +- Follow-up PR URL: N/A +- Reply URL: PENDING + +### F11 - F5's `Resolution reference` is prose, so the audit validator fails. + +- PR number: 2830 +- Source review ID: 5861952787 +- Reviewer finding ID: F6 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540432016 +- Concern: F5's `Resolution reference` is prose, so the audit validator fails. +- Solution: A PR conversation comment states the title and description change; its URL is the F5 resolution reference. +- Current-tree verification: `git grep -n issuecomment-6801479863 docs/pr-reviews/pr-2830-review/PR-REVIEW.md`. +- Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows +- Follow-up PR URL: N/A +- Reply URL: PENDING + ## Processing Log - 2026-11-11 14:13 UTC - Round 1 received (da2ce7 at 13:52, Copilot at 13:58); replies for `F1` to `F5` and `R1` posted at 14:13 UTC after the fix commit `docs(issues): [#2776] address PR 2830 review`. The replies say "Fixed in 615e8d84d"; that id is that commit, mapped here because review comments cannot be edited. This audit was not created before the first replies, as `F6` points out; it is added in round 2. - 2026-11-11 16:08 UTC - Round 2 review of da2ce7 received at 14:26 UTC (`F6` to `F8`); this audit and the stamp fix are the commits of the round. - 2026-11-11 16:11 UTC - Round 2 replies for `F6` to `F8` posted after the two fix commits; their reply URLs are recorded in the commit that carries this entry. +- 2026-11-11 16:40 UTC - Round 3 review of da2ce7 received at 16:25 UTC (`F11`, `F9`, `F10`); the fix commit is `docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows`. From this round the author resolves threads after replying, as the restored template says; all earlier threads are resolved with them. ## Completion Rules -- Re-derive the reply claim against the current tree before replying. -- Reply on every thread; thread resolution is left to the reviewer. -- Cite a fix by its unique Conventional Commit subject or durable reply URL, never by a branch SHA. +- Re-derive the reply claim against the current tree before replying or resolving a thread. +- Reply on every resolvable thread before resolving it. +- For an outdated thread whose concern was fixed, record `Disposition=FIXED` and + `Thread state=RESOLVED`, even if GitHub marks the thread outdated after the push. For a + duplicate, superseded, or no-change in-PR thread, reply exactly + `Superseded by : .`, record `Disposition=NO_ACTION` and + `Thread state=SUPERSEDED`, then resolve it. A post-merge `NO_ACTION` requires maintainer + approval to decline the follow-up work. When the current identity cannot resolve a thread + (`viewerCanResolve` is `false`), still reply, keep the disposition established from the current + tree, and record `Thread state=OPEN`; the reviewer or PR author resolves it. +- A consolidated PR conversation response may cover multiple review rounds only when it names + every review ID and every finding ID with its disposition and resolution reference. Record its + durable URL in each related row. +- Cite a fix by its unique Conventional Commit subject or durable reply URL, never by a branch SHA + that can change after a rebase. +- Refresh review threads using GraphQL and confirm that no unresolved actionable thread remains. From 6471ce4345aa8349ecb1467ef61f78f7cb7b369d Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 11 Nov 2026 16:38:26 +0000 Subject: [PATCH 7/7] docs(pr-reviews): [#2830] record the round 3 reply URLs Co-Authored-By: Claude Sonnet 5.5 --- docs/pr-reviews/pr-2830-review/PR-REVIEW.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md index f245cd2cf6..99af7eecb6 100644 --- a/docs/pr-reviews/pr-2830-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2830-review/PR-REVIEW.md @@ -188,7 +188,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: `diff` of both sections against `PR-REVIEW-TEMPLATE.md`. - Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540585741 ### F10 - The reason given for `R1` does not hold: the bot's review and comment carry no finding ID. @@ -201,7 +201,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: `git grep -n "audit-local reference" docs/pr-reviews/pr-2830-review/PR-REVIEW.md`. - Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540586183 ### F11 - F5's `Resolution reference` is prose, so the audit validator fails. @@ -214,7 +214,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - Current-tree verification: `git grep -n issuecomment-6801479863 docs/pr-reviews/pr-2830-review/PR-REVIEW.md`. - Resolution reference: docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows - Follow-up PR URL: N/A -- Reply URL: PENDING +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2830#discussion_r4540585294 ## Processing Log @@ -222,6 +222,7 @@ Round 1: da2ce7 review 5859800072 (`F1` to `F5`) and Copilot review 5859882741 ( - 2026-11-11 16:08 UTC - Round 2 review of da2ce7 received at 14:26 UTC (`F6` to `F8`); this audit and the stamp fix are the commits of the round. - 2026-11-11 16:11 UTC - Round 2 replies for `F6` to `F8` posted after the two fix commits; their reply URLs are recorded in the commit that carries this entry. - 2026-11-11 16:40 UTC - Round 3 review of da2ce7 received at 16:25 UTC (`F11`, `F9`, `F10`); the fix commit is `docs(pr-reviews): [#2830] restore the template sections and fix the R1 and F5 rows`. From this round the author resolves threads after replying, as the restored template says; all earlier threads are resolved with them. +- 2026-11-11 16:45 UTC - Round 3 replies posted at 16:44 UTC after the fix commit; their reply URLs are in the commit that carries this entry. ## Completion Rules