From ed8a1d72a06ba04101a36c4bc70b308174fca7f1 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 09:49:41 +0000 Subject: [PATCH 01/16] docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate The maintainer decided on 2026-11-18 that a workspace crate may be published once its own unit-testing coverage was overhauled in EPIC #1347, instead of the first publish waiting for EPIC #1347 to close as a whole. - #2583 spec: dated maintainer decision, prerequisite 4, T3, T5, procedure step 1, AC7 and the workflow checkpoint; new "Testing (#1347)" checklist column (6 crates met, core open, 13 without a sub-issue); four pending maintainer decisions recorded as Open Questions; stale 2026-10-20 facts noted for T4. - EPIC #1669: the two #2583 rows and a progress-log entry. - EPIC #1347: a short cross-reference to the per-crate gate. Related to #2583 and #1669. Spec-only change; nothing is published. Co-Authored-By: Claude Fable 5.2 --- .../1347-overhaul-packages-testing/EPIC.md | 8 + .../open/1669-overhaul-packages/EPIC.md | 14 +- .../ISSUE.md | 154 ++++++++++++++---- 3 files changed, 138 insertions(+), 38 deletions(-) diff --git a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md index d6023e4b2f..e9a4e8b112 100644 --- a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md +++ b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md @@ -102,6 +102,14 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | 14 | #2902 - Add tests to the tracker-core package | `docs/issues/open/2902-1347-add-tests-tracker-core/ISSUE.md` | TODO | Lowest unit-only lines of the packages in the EPIC coverage table: 80.31% (MySQL/PostgreSQL drivers 0-4%, SQLite failure branches, `statistics/` reached only by the integration binary). Slices S0-S5 proposed; S0 is the spec-only PR. | | 15 | Additional package-testing subissues | Create a folder-style spec when a concrete package need is identified | TODO | Permitted but not required upfront; retain scope in this EPIC. | +**Publishing gate (maintainer decision of 2026-11-18).** A workspace crate may be published for +the first time once its own package-testing subissues in this table are closed; EPIC #1669 no longer +waits for this EPIC to close as a whole. The per-crate gate is tracked in the "Testing (#1347)" +column of the +[#2583 Per-Crate Checklist](../2583-1669-first-publish-of-workspace-crates/ISSUE.md#per-crate-checklist), +which also lists the 13 publishable crates that have no subissue here yet and the pending +maintainer decisions about them. This EPIC still owns which subissues are created and when. + ## Package Coverage Tracking Add a row only when work begins on a package subissue. Record its baseline before adding tests and diff --git a/docs/issues/open/1669-overhaul-packages/EPIC.md b/docs/issues/open/1669-overhaul-packages/EPIC.md index 82499d4a46..a915328dfd 100644 --- a/docs/issues/open/1669-overhaul-packages/EPIC.md +++ b/docs/issues/open/1669-overhaul-packages/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 1669 spec-path: docs/issues/open/1669-overhaul-packages/EPIC.md epic-owner: josecelano -last-updated-utc: "2026-11-11 08:59" +last-updated-utc: "2026-11-18 09:47" semantic-links: skill-links: - create-issue @@ -665,7 +665,7 @@ Status: TODO unless noted. - [x] [#2446](https://github.com/torrust/torrust-tracker/issues/2446) SI-01: Establish baseline: dependency graph + README audit _(analysis; no blockers; informs all other subissues)_ — **DONE** (2026-10-06 coupling report, refreshed README audit and dependency diagram; three findings drafted as subissues) - [x] [#2576](https://github.com/torrust/torrust-tracker/issues/2576) Update all package READMEs and crates.io metadata before the first publish _(documentation; was blocked on #2482, which is done; before the first publish of any unpublished crate)_ -- [ ] [#2583](https://github.com/torrust/torrust-tracker/issues/2583) First publish of the unpublished workspace crates _(publish tracking issue; per-crate checklist in dependency order; blocked on #2482, #2576, #1488 and #1347; at the end of this EPIC)_ +- [ ] [#2583](https://github.com/torrust/torrust-tracker/issues/2583) First publish of the unpublished workspace crates _(publish tracking issue; per-crate checklist in dependency order; blocked on #1488 and, per crate, on that crate's #1347 testing gate; #2482 and #2576 are done; at the end of this EPIC)_ - [x] [#2582](https://github.com/torrust/torrust-tracker/issues/2582) Remove the self dev-dependency that stops the health check API server crate from being packaged _(bug; pre-publish sub-issue P1 of #2583; not blocked)_ - [x] [#2454](https://github.com/torrust/torrust-tracker/issues/2454) Mark public error enums `#[non_exhaustive]` before first publish _(Pre-publish API checklist; per crate, before its first publish)_ — **DONE** (2026-10-20, PR #2568) - [x] [#2482](https://github.com/torrust/torrust-tracker/issues/2482) Reorganize test support code shared between workspace packages _(sub-EPIC; findings 1 and 2 of the 2026-10-06 coupling report; amends DEC-13)_ — **DONE** (all nine subissues merged by 2026-11-09; the maintainer closes the issue) @@ -702,7 +702,7 @@ Details: | Clock rename | [#1821](https://github.com/torrust/torrust-tracker/issues/1821) — Rename `torrust-tracker-clock` to `torrust-clock` | [issue #1821](https://github.com/torrust/torrust-tracker/issues/1821) | DONE | Rule P; published on crates.io; no blockers; prerequisite for clock extraction | | Located error rename | [#1823](https://github.com/torrust/torrust-tracker/issues/1823) — Rename `torrust-tracker-located-error` to `torrust-located-error` | [docs/issues/closed/1823-1669-10-rename-torrust-tracker-located-error-to-torrust-located-error/ISSUE.md](../../closed/1823-1669-10-rename-torrust-tracker-located-error-to-torrust-located-error/ISSUE.md) | DONE | Rule P; completed | | README refresh | [#2576](https://github.com/torrust/torrust-tracker/issues/2576) — Update all package READMEs and crates.io metadata before the first publish | [docs/issues/closed/2576-1669-update-all-package-readmes/ISSUE.md](../../closed/2576-1669-update-all-package-readmes/ISSUE.md) | DONE | Documentation and `Cargo.toml` metadata; was blocked on #2482 (done); must merge before the first publish of any unpublished crate | -| First publish | [#2583](https://github.com/torrust/torrust-tracker/issues/2583) — First publish of the unpublished workspace crates | [docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md](../2583-1669-first-publish-of-workspace-crates/ISSUE.md) | BLOCKED | 20 library crates, one at a time in dependency order; blocked on #2482, #2576, #1488 and #1347; root crate and console client published elsewhere | +| First publish | [#2583](https://github.com/torrust/torrust-tracker/issues/2583) — First publish of the unpublished workspace crates | [docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md](../2583-1669-first-publish-of-workspace-crates/ISSUE.md) | BLOCKED | 20 library crates, one at a time in dependency order; blocked on #1488 and, per crate, on that crate's #1347 testing gate (#2482 and #2576 are done); root crate and console client published elsewhere | | Health check packaging fix | [#2582](https://github.com/torrust/torrust-tracker/issues/2582) — Remove the self dev-dependency that stops the health check API server crate from being packaged | [docs/issues/closed/2582-1669-remove-health-check-self-dev-dependency/ISSUE.md](../../closed/2582-1669-remove-health-check-self-dev-dependency/ISSUE.md) | DONE | Bug; pre-publish sub-issue P1 of #2583; adds a CI `cargo package --workspace --no-verify` check | | Bencode migration | [#1881](https://github.com/torrust/torrust-tracker/issues/1881) SI-16: Migrate `contrib/bencode` to `torrust/torrust-bittorrent` as `torrust-bencode` | [docs/issues/closed/1881-1669-16-migrate-contrib-bencode-to-torrust-bittorrent/ISSUE.md](../../closed/1881-1669-16-migrate-contrib-bencode-to-torrust-bittorrent/ISSUE.md) | DONE | Rule E; torrust-bencode 3.0.0 published; contrib/bencode removed from tracker workspace | | Peer-ID move | [#1884](https://github.com/torrust/torrust-tracker/issues/1884) — Move `bittorrent-peer-id` to `torrust/torrust-bittorrent` as `torrust-peer-id` | [docs/issues/closed/1884-1669-19-move-bittorrent-peer-id-to-torrust-bittorrent/ISSUE.md](../../closed/1884-1669-19-move-bittorrent-peer-id-to-torrust-bittorrent/ISSUE.md) | DONE | Rule E; published as torrust-peer-id 0.1.0 on crates.io; 3 tracker consumers migrated; packages/peer-id removed | @@ -1097,6 +1097,14 @@ Previously referenced tools (screenshots from CodeScene already in the issue com CI job now exists on `develop`; the maintainer plans to make it a required status check. - 2026-11-10 12:33 UTC - AI assistant (Claude Code, #2482 close-out) - Sub-EPIC #2482 is DONE: its nine subissues (#2618, #2628, #2645, #2670, #2681, #2699, #2724, #2745, #2757) are merged and closed, and its acceptance criteria are ticked with evidence (AC8: the 2026-11-09 coupling report has nine `optional (testing)` edges and no `testing` feature in a `default` chain). Its spec moved to `docs/issues/closed/2482-1669-reorganize-shared-test-support/` and the links here, in #2576, #2583, the ADR and the closed specs were updated. The #2482 row and checklist box are `DONE`; #2576 is no longer blocked by #2482 (its `Blocked` label is removed separately, by the maintainer). The maintainer closes issue #2482. - 2026-11-11 08:59 UTC - Claude (Sonnet 5.5, #2576 close-out) - #2576 is DONE: PR #2812 merged 2026-11-11 08:23 UTC, issue closed, spec archived to `docs/issues/closed/2576-1669-update-all-package-readmes/`. Nothing was published. The remaining order is #2583 (first publish), then #2594. The last review of PR #2812 (review 5850042659) left eight findings, mostly audit and retrospective wording, unaddressed at the merge. +- 2026-11-18 09:47 UTC - Claude Code (Claude Fable 5.2) - The maintainer decided on 2026-11-18 that the + EPIC #1347 prerequisite of the first publish (#2583) is per crate: a crate may be published once + its own unit-testing coverage was overhauled in EPIC #1347, and this EPIC no longer waits for + EPIC #1347 to close as a whole. The #2583 spec tracks the gate per crate ("Testing (#1347)" + column: 6 crates met, `core` open, 13 without a sub-issue) and lists four pending maintainer + decisions (its Open Questions OQ1-OQ4, including whether the EPIC #1488 prerequisite also becomes + per crate). #2594 needs `http-protocol`, `udp-protocol` and `client-lib` published; none has a + #1347 sub-issue yet. No status changed: #2583 and #2594 stay `BLOCKED`. ## Acceptance Criteria diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 4cd6c647da..9ed682077e 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2583 spec-path: docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md branch: "2583-1669-first-publish-of-workspace-crates-spec" related-pr: null -last-updated-utc: "2026-11-11 12:34" +last-updated-utc: "2026-11-18 09:47" semantic-links: skill-links: - create-issue @@ -27,6 +27,7 @@ semantic-links: - "issue #1488" - "issue #1347" - docs/issues/open/1669-overhaul-packages/EPIC.md + - docs/issues/open/1347-overhaul-packages-testing/EPIC.md - docs/issues/closed/2482-1669-reorganize-shared-test-support/EPIC.md - docs/issues/closed/2576-1669-update-all-package-readmes/ISSUE.md - docs/issues/closed/2582-1669-remove-health-check-self-dev-dependency/ISSUE.md @@ -73,12 +74,63 @@ The maintainer decided on 2026-10-20: | Console client `torrust-tracker-client` | Not published here. Its first publish comes from its own repository in the client-extraction issue. | | crates.io owners | `josecelano` and `da2ce7`, as for the four published workspace crates. | | Crates kept unpublished | None beyond the ten `publish = false` members. | -| Other prerequisites | EPIC #1488 (shutdown overhaul) and EPIC #1347 (package testing, which reviews test coverage of every workspace package) close first. | +| Other prerequisites | EPIC #1488 (shutdown overhaul) closes first. The EPIC #1347 (package testing) part of this row was replaced on 2026-11-18 by a per-crate testing gate (see below). | | `cargo package` failure | Fix it in its own sub-issue (P1, #2582), created together with this issue. | | Stale publish docs | Fix them in this issue before the first publish (T2). | +The maintainer decided on 2026-11-18: + +| Question | Decision | +| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| EPIC #1347 prerequisite | Per crate, not EPIC-wide. A crate may be published once its own unit-testing coverage was overhauled in EPIC #1347. This issue no longer waits for EPIC #1347 to close as a whole. | +| Tracking the testing gate | Per crate in this spec: the "Testing (#1347)" column of the [Per-Crate Checklist](#per-crate-checklist). | + +What follows from this decision, without any new decision: + +- Publishing stays in dependency order. A crate can be published when its own testing gate is met + **and** every crate it depends on or dev-depends on is `PUBLISHED`. A crate whose testing gate is + met still waits for dependencies whose gate is not. +- The other prerequisites did not change (see [Open Questions](#open-questions) OQ2 and OQ3). +- T2 (publish procedure check) was never blocked by EPIC #1347 and is still not blocked. + +State on 2026-11-18 (EPIC #1347 `Subissues` table and the GitHub state of each sub-issue): + +- **Testing gate met** (the crate's #1347 sub-issues are closed): `primitives` (#2824), `udp-core` + (#1348), `http-core` (#1349), `axum-http-server` (#2136, #2140), `udp-server` (#2149, #2283) and + `axum-rest-api-server` (#2637). +- **Sub-issue open:** `core` (#2902, `TODO`). +- **No #1347 sub-issue yet** (13 crates): `events`, `http-protocol`, `udp-protocol`, + `rest-api-protocol`, `configuration`, `swarm-coordination-registry`, `client-lib`, + `rest-api-application`, `rest-api-client`, `axum-server`, `test-helpers`, + `rest-api-runtime-adapter` and `axum-health-check-api-server`. +- `primitives` (level 0, no workspace dependencies) is the only crate whose testing gate and + dependency gate are both met. The five other crates with a met testing gate all depend on crates + without one. `primitives` still waits for prerequisites 3 and 5. +- The client extraction (#2594) needs `http-protocol`, `udp-protocol` and `client-lib` published + (rows 3, 4 and 8). None of the three has a #1347 sub-issue, and they depend only on each other, + so meeting their testing gate is the shortest path to unblock #2594. + +### Open Questions + +Pending maintainer decisions, raised by the 2026-11-18 decision. They are not decided here; until +they are, the spec keeps the stricter reading (noted in each question). + +| ID | Question | Until decided | +| --- | -------- | ------------- | +| OQ1 | Does every publishable crate need its own #1347 testing sub-issue, or can a small crate meet the gate with a recorded coverage review and no new tests? | A crate without a closed #1347 sub-issue does not meet the gate (`NONE` in the checklist). | +| OQ2 | Does the EPIC #1488 prerequisite also become per crate (only the crates whose API the shutdown overhaul changes), or does it stay EPIC-wide? EPIC #1488 is expected to close soon. | EPIC-wide: prerequisite 3 as written. | +| OQ3 | Does prerequisite 5 (the rest of EPIC #1669's API work is done, so this is the last publishing step) stay as it is, or become per crate too? | As written: prerequisite 5 applies to every crate. | +| OQ4 | `test-helpers` is already published (3.0.0) and is a dev-dependency of six checklist crates and of the root crate. What is its testing gate? | Same as OQ1: not met. This blocks the six checklist crates that dev-depend on it. | + ### Facts checked on 2026-10-20 +> **Stale on 2026-11-18; T4 owns the update.** `cargo metadata --no-deps` on `develop` now lists 35 +> workspace members, 13 with `publish = false` (still 22 publishable). `primitives` is `3.1.0` +> locally (3.0.0 on crates.io) and `axum-health-check-api-server` is `0.2.0`, while the checklist +> says `0.1.0`. `test-helpers` now depends only on `configuration`. Six crates list themselves as +> a path-only dev-dependency (no `version`) to enable their `testing` feature. The facts and the +> checklist's dependency and version columns below are kept as checked on 2026-10-20. + - **Publishable crates.** `cargo metadata --no-deps` lists 32 workspace members. 22 have no `publish = false`. The other 10 (`e2e-tools`, `persistence-benchmark`, `torrent-repository-benchmarking` and the seven `contrib/dev-tools/` members) are never published. @@ -133,7 +185,9 @@ publishes it. ## Prerequisites -The first publish of any crate starts only when all of these hold: +The first publish of a crate starts only when all of these hold. Prerequisites 1, 2, 3 and 5 +apply to every crate; prerequisites 4 and 6 are per crate, so crates become publishable at +different times, always in checklist order: 1. **#2482 is closed.** The test-support reorganisation can change public APIs (server `testing`/`environment` modules, `test-helpers`, `Mock*` types in `tracker-core`), change @@ -144,8 +198,12 @@ The first publish of any crate starts only when all of these hold: publish of any unpublished crate. 3. **EPIC #1488 (shutdown overhaul) is closed.** It changes the server environments and shutdown API of the server crates. -4. **EPIC #1347 (package testing) is closed.** It reviews the test coverage of every workspace - package, so crates are published after their tests are reviewed. +4. **Per crate: its EPIC #1347 testing gate is met.** The crate's own unit-testing coverage was + overhauled in EPIC #1347 (package testing): its #1347 sub-issues are closed. The gate is tracked + in the "Testing (#1347)" column of the [Per-Crate Checklist](#per-crate-checklist). EPIC #1347 + does not need to be closed as a whole (maintainer decision of 2026-11-18). What meets the gate + for a crate without a sub-issue, and for `test-helpers`, is pending + ([Open Questions](#open-questions) OQ1 and OQ4). 5. **The rest of EPIC #1669's API work is done**, so this is the EPIC's last publishing step. 6. **Per crate:** the [Pre-publish API checklist](../../open/1669-overhaul-packages/EPIC.md#pre-publish-api-checklist) @@ -156,7 +214,7 @@ The first publish of any crate starts only when all of these hold: ### In Scope - Checking the checklist again when the prerequisites are met (crate set, dependency order, names, - versions, packaging check), because #2482, #1488 and #1347 can change all of them. + versions, packaging check, testing gates), because #2482, #1488 and #1347 can change them. - Bringing the package publish procedure up to date before the first publish (T2). - For each crate whose version changes: a small pull request that sets its version and every dependent's `version` requirement, right before its publish. @@ -191,29 +249,41 @@ depends on 15 of these crates and is published by the tracker release after all Status values: `TODO`, `BLOCKED`, `IN_PROGRESS`, `PUBLISHED`, `DEFERRED`. -| Order | Level | Crate | Depends on | Dev-depends on | Version to publish | Pre-publish notes | Status | -| ----- | ----- | ----- | ---------- | -------------- | ------------------ | ----------------- | ------ | -| 1 | 0 | `torrust-tracker-primitives` | - | - | 4.0.0 | Published 3.0.0. Major owed (#2454). | BLOCKED | -| 2 | 0 | `torrust-tracker-events` | - | - | 0.1.0 | `RecvError` stays exhaustive on purpose (#2454 E1). | BLOCKED | -| 3 | 0 | `torrust-tracker-http-protocol` | - | - | 0.1.0 | Blocks the client extraction. | BLOCKED | -| 4 | 0 | `torrust-tracker-udp-protocol` | - | - | 0.1.0 | `RequestParseError` stays exhaustive on purpose (#2454 E2). Blocks the client extraction. | BLOCKED | -| 5 | 0 | `torrust-tracker-rest-api-protocol` | - | - | 0.1.0 | - | BLOCKED | -| 6 | 1 | `torrust-tracker-configuration` | primitives | - | 4.0.0 | Published 3.0.0. Major owed (#2454; `Error::Infallible` removed). | BLOCKED | -| 7 | 1 | `torrust-tracker-swarm-coordination-registry` | events, primitives | - | 0.1.0 | - | BLOCKED | -| 8 | 1 | `torrust-tracker-client-lib` | http-protocol, udp-protocol | - | 0.1.0 | LGPL license links fixed by #2576. Blocks the client extraction. | BLOCKED | -| 9 | 1 | `torrust-tracker-rest-api-application` | primitives, rest-api-protocol | - | 0.1.0 | - | BLOCKED | -| 10 | 1 | `torrust-tracker-rest-api-client` | rest-api-protocol | - | 0.1.0 | LGPL license links fixed by #2576. | BLOCKED | -| 11 | 2 | `torrust-tracker-axum-server` | configuration | - | 0.1.0 | - | BLOCKED | -| 12 | 2 | `torrust-tracker-test-helpers` | client-lib, configuration, http-protocol, primitives, udp-protocol | - | 4.0.0 (probably) | Published 3.0.0. Major probably owed after #2482; decided in T4 against the published API. Dev-dependency of 7 crates below. | BLOCKED | -| 13 | 2 | `torrust-tracker-client` | client-lib, http-protocol, udp-protocol | - | - | Console CLI. Not published here: its first publish comes from its own repository in the client-extraction issue. | DEFERRED | -| 14 | 3 | `torrust-tracker-core` | configuration, events, primitives, swarm-coordination-registry | test-helpers | 0.1.0 | #2482 may change its `Mock*` types. | BLOCKED | -| 15 | 4 | `torrust-tracker-http-core` | configuration, core, events, http-protocol, primitives, swarm-coordination-registry | test-helpers | 0.1.0 | - | BLOCKED | -| 16 | 4 | `torrust-tracker-udp-core` | configuration, core, events, primitives, swarm-coordination-registry, udp-protocol | - | 0.1.0 | - | BLOCKED | -| 17 | 5 | `torrust-tracker-axum-http-server` | axum-server, configuration, core, http-core, http-protocol, primitives, swarm-coordination-registry | client-lib, test-helpers | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | -| 18 | 5 | `torrust-tracker-udp-server` | client-lib, configuration, core, events, primitives, swarm-coordination-registry, udp-core, udp-protocol | test-helpers | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | -| 19 | 6 | `torrust-tracker-rest-api-runtime-adapter` | configuration, core, http-core, primitives, rest-api-application, rest-api-protocol, swarm-coordination-registry, udp-core, udp-server | - | 0.1.0 | - | BLOCKED | -| 20 | 7 | `torrust-tracker-axum-rest-api-server` | axum-server, configuration, core, http-core, primitives, rest-api-application, rest-api-client, rest-api-protocol, rest-api-runtime-adapter, swarm-coordination-registry, udp-core, udp-server | rest-api-client, test-helpers | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | -| 21 | 8 | `torrust-tracker-axum-health-check-api-server` | axum-server, configuration, primitives | axum-http-server, axum-rest-api-server, test-helpers, udp-server | 0.1.0 | The self dev-dependency is removed (sub-issue P1, #2582, closed). Its four workspace dev-dependencies go first. | BLOCKED | +"Testing (#1347)" is the crate's testing gate (prerequisite 4), checked on 2026-11-18 against the +EPIC #1347 [`Subissues` table](../1347-overhaul-packages-testing/EPIC.md#subissues) and GitHub: + +- `MET`: the crate's #1347 sub-issues are closed. +- `OPEN`: the crate has a #1347 sub-issue that is not closed. +- `NONE`: the crate has no #1347 sub-issue. What meets its gate is pending (OQ1; OQ4 for + `test-helpers`). + +A `MET` gate alone does not unblock a row: every crate in its "Depends on" and "Dev-depends on" +columns must be `PUBLISHED` first, and prerequisites 1, 2, 3, 5 and 6 must hold. Update the column +when a #1347 sub-issue is created or closed; EPIC #1347 owns the sub-issues themselves. + +| Order | Level | Crate | Depends on | Dev-depends on | Testing (#1347) | Version to publish | Pre-publish notes | Status | +| ----- | ----- | ----- | ---------- | -------------- | --------------- | ------------------ | ----------------- | ------ | +| 1 | 0 | `torrust-tracker-primitives` | - | - | `MET`: [#2824](../../closed/2824-1347-add-tests-primitives/ISSUE.md) closed | 4.0.0 | Published 3.0.0. Major owed (#2454). | BLOCKED | +| 2 | 0 | `torrust-tracker-events` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RecvError` stays exhaustive on purpose (#2454 E1). | BLOCKED | +| 3 | 0 | `torrust-tracker-http-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | Blocks the client extraction. | BLOCKED | +| 4 | 0 | `torrust-tracker-udp-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RequestParseError` stays exhaustive on purpose (#2454 E2). Blocks the client extraction. | BLOCKED | +| 5 | 0 | `torrust-tracker-rest-api-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | +| 6 | 1 | `torrust-tracker-configuration` | primitives | - | `NONE`: no sub-issue (OQ1) | 4.0.0 | Published 3.0.0. Major owed (#2454; `Error::Infallible` removed). | BLOCKED | +| 7 | 1 | `torrust-tracker-swarm-coordination-registry` | events, primitives | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | +| 8 | 1 | `torrust-tracker-client-lib` | http-protocol, udp-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | LGPL license links fixed by #2576. Blocks the client extraction. | BLOCKED | +| 9 | 1 | `torrust-tracker-rest-api-application` | primitives, rest-api-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | +| 10 | 1 | `torrust-tracker-rest-api-client` | rest-api-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | LGPL license links fixed by #2576. | BLOCKED | +| 11 | 2 | `torrust-tracker-axum-server` | configuration | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | +| 12 | 2 | `torrust-tracker-test-helpers` | client-lib, configuration, http-protocol, primitives, udp-protocol | - | `NONE`: no sub-issue (OQ1, OQ4) | 4.0.0 (probably) | Published 3.0.0. Major probably owed after #2482; decided in T4 against the published API. Dev-dependency of 7 crates below. | BLOCKED | +| 13 | 2 | `torrust-tracker-client` | client-lib, http-protocol, udp-protocol | - | - | - | Console CLI. Not published here: its first publish comes from its own repository in the client-extraction issue. | DEFERRED | +| 14 | 3 | `torrust-tracker-core` | configuration, events, primitives, swarm-coordination-registry | test-helpers | `OPEN`: [#2902](../2902-1347-add-tests-tracker-core/ISSUE.md) open (`TODO`) | 0.1.0 | #2482 may change its `Mock*` types. | BLOCKED | +| 15 | 4 | `torrust-tracker-http-core` | configuration, core, events, http-protocol, primitives, swarm-coordination-registry | test-helpers | `MET`: [#1349](../../closed/1349-1347-add-tests-http-core/ISSUE.md) closed | 0.1.0 | - | BLOCKED | +| 16 | 4 | `torrust-tracker-udp-core` | configuration, core, events, primitives, swarm-coordination-registry, udp-protocol | - | `MET`: [#1348](../../closed/1348-1347-add-tests-udp-core/ISSUE.md) closed | 0.1.0 | - | BLOCKED | +| 17 | 5 | `torrust-tracker-axum-http-server` | axum-server, configuration, core, http-core, http-protocol, primitives, swarm-coordination-registry | client-lib, test-helpers | `MET`: [#2136](../../closed/2136-1347-add-tests-axum-http-server/ISSUE.md) and [#2140](../../closed/2140-1347-review-axum-http-server-integration-tests/ISSUE.md) closed | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | +| 18 | 5 | `torrust-tracker-udp-server` | client-lib, configuration, core, events, primitives, swarm-coordination-registry, udp-core, udp-protocol | test-helpers | `MET`: [#2149](../../closed/2149-1347-add-focused-udp-server-package-tests/ISSUE.md) and [#2283](../../closed/2283-1347-increase-udp-server-package-coverage/ISSUE.md) closed | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | +| 19 | 6 | `torrust-tracker-rest-api-runtime-adapter` | configuration, core, http-core, primitives, rest-api-application, rest-api-protocol, swarm-coordination-registry, udp-core, udp-server | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | +| 20 | 7 | `torrust-tracker-axum-rest-api-server` | axum-server, configuration, core, http-core, primitives, rest-api-application, rest-api-client, rest-api-protocol, rest-api-runtime-adapter, swarm-coordination-registry, udp-core, udp-server | rest-api-client, test-helpers | `MET`: [#2637](../../closed/2637-1347-add-tests-axum-rest-api-server/ISSUE.md) closed | 0.1.0 | #2482 and #1488 may change its public `testing`/`environment` module. | BLOCKED | +| 21 | 8 | `torrust-tracker-axum-health-check-api-server` | axum-server, configuration, primitives | axum-http-server, axum-rest-api-server, test-helpers, udp-server | `NONE`: no sub-issue (OQ1) | 0.1.0 | The self dev-dependency is removed (sub-issue P1, #2582, closed). Its four workspace dev-dependencies go first. | BLOCKED | ### Pre-Publish Sub-Issues @@ -228,8 +298,9 @@ For each crate, in checklist order, follow (the `deployment-packages.yaml` path), as updated by T2. In short, without repeating that document: -1. Confirm every crate it depends on or dev-depends on is `PUBLISHED` in this checklist and - indexed on crates.io, and that its pre-publish sub-issues are closed. +1. Confirm its testing gate is `MET` in the "Testing (#1347)" column (check the sub-issue state + on GitHub again), every crate it depends on or dev-depends on is `PUBLISHED` in this checklist + and indexed on crates.io, and its pre-publish sub-issues are closed. 2. If its version changes, open a small pull request to `develop` that sets it and every dependent's `version` requirement, and wait for the merge. 3. `cargo package -p ` passes (it now resolves its dependencies from crates.io). @@ -271,9 +342,9 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | -- | ------ | ---- | ----------------------- | | T1 | DONE | Open pre-publish sub-issue P1 | #2582 created with this issue on 2026-10-20, linked to #1669 and to its checklist row. It does not wait for the prerequisites. | | T2 | TODO | Bring the publish procedure up to date | Not blocked. The release-process spec #2808 already fixed the pre-publish defects: the `pkg/...` push from `torrust/main` is gone, the tag is created on the published commit, and the `release-new-version` crate list and every-package version bump are gone. What remains for this issue is to confirm the procedure in `docs/release-process/workspace-packages.md` fits the first publish (publish order, and each crate's version together with its dependents' `version` requirements in one commit), and to fix any gap found there. | -| T3 | BLOCKED | Wait for the prerequisites | #2482, #1488 and #1347 closed; #2576 merged; the rest of the EPIC's API work done; #2582 closed before row 21. | +| T3 | BLOCKED | Wait for the prerequisites | For every crate: #2482 closed (done), #2576 merged (done), #1488 closed, the rest of the EPIC's API work done. Per crate: its "Testing (#1347)" gate `MET` and its dependencies `PUBLISHED`; #2582 closed (done) before row 21. EPIC #1347 does not need to close as a whole. | | T4 | BLOCKED | Check the checklist again | Re-run the checks in "Facts checked" (crate set, order, crates.io names, versions, `cargo package --workspace --no-verify`) and update the checklist; record them in `manual-verification-evidence.md`. Decide the `test-helpers` version against its published 3.0.0 API. | -| T5 | BLOCKED | Publish each crate in checklist order | One crate at a time with the per-crate procedure; each row `PUBLISHED` with date and evidence. | +| T5 | BLOCKED | Publish each crate in checklist order | One crate at a time with the per-crate procedure; each row `PUBLISHED` with date and evidence. A crate is published when its own gates are met; the task does not wait for every crate's testing gate before the first publish. | | T6 | BLOCKED | Hand over | Tell the client-extraction issue (#2594) that `client-lib`, `http-protocol` and `udp-protocol` are published, and the next tracker release that every library crate is published and the root crate owes 4.0.0. | | T7 | BLOCKED | Verify and review acceptance criteria | Automatic checks and manual scenarios recorded; acceptance criteria re-reviewed. | @@ -299,7 +370,7 @@ release branch and a signed tag. - [x] Spec reviewed and approved by user/maintainer - [x] GitHub issue created and issue number added to this spec - [ ] Spec-only PR merged into `develop` before implementation -- [ ] #2482, #1488 and #1347 closed and #2576 merged before the first publish +- [ ] #2482 and #1488 closed and #2576 merged before the first publish; each crate's #1347 testing gate `MET` before that crate's publish - [ ] Implementation completed (every checklist row `PUBLISHED` or `DEFERRED` with a reason) - [ ] Automatic verification completed (`linter all`, `cargo package`, `deployment-packages.yaml` runs) - [ ] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` @@ -331,6 +402,14 @@ release branch and a signed tag. issue on GitHub. With the maintainer's approval, T6 and the References name it and link its spec instead of the removed draft. - 2026-11-11 12:34 UTC - Claude Code (Claude Sonnet 5.5) - PR torrust/torrust-tracker#2825 (issue #2808) re-scoped T2 to what the release-process spec #2808 left (the `torrust/main` push, the old step 6 and the `release-new-version` crate list were fixed there). +- 2026-11-18 09:47 UTC - Claude Code (Claude Fable 5.2) - Applied the maintainer's 2026-11-18 decision: + the EPIC #1347 prerequisite is per crate (see Maintainer Decisions). Prerequisite 4, T3, T5, the + procedure's step 1, AC7 and the workflow checkpoint changed; the checklist gained the + "Testing (#1347)" column, filled from the EPIC #1347 `Subissues` table and the GitHub state of + each sub-issue (6 crates `MET`, `core` `OPEN`, 13 `NONE`). Four questions are recorded as pending + maintainer decisions (Open Questions OQ1-OQ4). Noted, without fixing them, the "Facts checked on + 2026-10-20" items that are stale on `develop` (T4 owns the update). Spec-only change; no crate's + status changed. ## Acceptance Criteria @@ -345,7 +424,8 @@ release branch and a signed tag. - [ ] AC5: Each published crate's crates.io page shows the #2576 README and metadata, its docs.rs build succeeded, and its README's docs.rs link resolves. - [ ] AC6: Each newly published crate is owned on crates.io by `josecelano` and `da2ce7`. -- [ ] AC7: No crate was published before #2482, #1488 and #1347 closed and #2576 merged. +- [ ] AC7: No crate was published before #2482 and #1488 closed and #2576 merged, nor before its + own #1347 testing gate was `MET`. - [ ] AC8: The package publish procedure in `docs/release-process/workspace-packages.md` and the `release-new-version` skill match the ADR and both workflows before the first publish (T2). - [ ] `linter all` exits with code `0` @@ -403,6 +483,10 @@ None planned. The crates.io name check is a `curl` loop recorded in the evidence prerequisites, a `cargo package` check per crate, and one crate at a time. - **Stale order.** #2482, #1488 and #1347 can add crates or change dependencies. Mitigation: T4 checks the checklist again before the first publish. +- **Publishing spread over time.** With a per-crate testing gate the workspace stays partly + published for longer, and a crate published early can still change before its dependents are + published, which costs it a new version. Mitigation: dependency order, and prerequisites 3 and 5 + still apply to every crate (OQ2 and OQ3 decide whether that stays). - **Long tail.** 20 publishes, one at a time, can take days; crates.io also rate-limits how many new crates one account can publish in a short time. Mitigation: nothing depends on publishing fast; the checklist records where the work stopped. From 1c5900f0a11cc919bc92af2f17b5a84a0507eeff Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:16:39 +0000 Subject: [PATCH 02/16] docs(issues): [#2583] say dependency order instead of checklist order Review finding F1 of PR 2935: checklist order read as row or level order, which contradicts the per-crate gate. Co-Authored-By: Claude Fable 5.2 --- .../ISSUE.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 9ed682077e..6aa0677da5 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -187,7 +187,7 @@ publishes it. The first publish of a crate starts only when all of these hold. Prerequisites 1, 2, 3 and 5 apply to every crate; prerequisites 4 and 6 are per crate, so crates become publishable at -different times, always in checklist order: +different times, always in dependency order (every dependency and dev-dependency first): 1. **#2482 is closed.** The test-support reorganisation can change public APIs (server `testing`/`environment` modules, `test-helpers`, `Mock*` types in `tracker-core`), change @@ -218,8 +218,8 @@ different times, always in checklist order: - Bringing the package publish procedure up to date before the first publish (T2). - For each crate whose version changes: a small pull request that sets its version and every dependent's `version` requirement, right before its publish. -- Publishing each crate through `deployment-packages.yaml`, one at a time, in checklist order, with - a signed `pkg//v` tag. +- Publishing each crate through `deployment-packages.yaml`, one at a time, in dependency order + (every dependency and dev-dependency first), with a signed `pkg//v` tag. - Checking each publish on crates.io and docs.rs, including that the README links #2576 recorded as pending (each crate's own docs.rs page) now resolve. - Making `josecelano` and `da2ce7` the crates.io owners of each newly published crate. @@ -243,7 +243,9 @@ different times, always in checklist order: Order is dependency order, leaves first, counting normal, build and dev-dependencies between workspace crates (it matches the order `cargo package --workspace` used). Crates in the same level -do not depend on each other and can go in any order within the level. "Depends on" and +do not depend on each other and can go in any order within the level. The row and level numbers +only present that order: a crate waits for the crates it depends on or dev-depends on, not for +every crate in an earlier row or level. "Depends on" and "Dev-depends on" drop the `torrust-tracker-` prefix. The root crate (level 9) is not listed: it depends on 15 of these crates and is published by the tracker release after all of them. @@ -293,7 +295,7 @@ when a #1347 sub-issue is created or closed; EPIC #1347 owns the sub-issues them ## Per-Crate Publish Procedure -For each crate, in checklist order, follow +For each crate, in dependency order (every dependency and dev-dependency first), follow [Publishing a Workspace Package](../../../release-process/workspace-packages.md#publishing-a-workspace-package) (the `deployment-packages.yaml` path), as updated by T2. In short, without repeating that document: @@ -344,7 +346,7 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | T2 | TODO | Bring the publish procedure up to date | Not blocked. The release-process spec #2808 already fixed the pre-publish defects: the `pkg/...` push from `torrust/main` is gone, the tag is created on the published commit, and the `release-new-version` crate list and every-package version bump are gone. What remains for this issue is to confirm the procedure in `docs/release-process/workspace-packages.md` fits the first publish (publish order, and each crate's version together with its dependents' `version` requirements in one commit), and to fix any gap found there. | | T3 | BLOCKED | Wait for the prerequisites | For every crate: #2482 closed (done), #2576 merged (done), #1488 closed, the rest of the EPIC's API work done. Per crate: its "Testing (#1347)" gate `MET` and its dependencies `PUBLISHED`; #2582 closed (done) before row 21. EPIC #1347 does not need to close as a whole. | | T4 | BLOCKED | Check the checklist again | Re-run the checks in "Facts checked" (crate set, order, crates.io names, versions, `cargo package --workspace --no-verify`) and update the checklist; record them in `manual-verification-evidence.md`. Decide the `test-helpers` version against its published 3.0.0 API. | -| T5 | BLOCKED | Publish each crate in checklist order | One crate at a time with the per-crate procedure; each row `PUBLISHED` with date and evidence. A crate is published when its own gates are met; the task does not wait for every crate's testing gate before the first publish. | +| T5 | BLOCKED | Publish each crate in dependency order | One crate at a time with the per-crate procedure; each row `PUBLISHED` with date and evidence. Dependency order means every dependency and dev-dependency first, not row or level order. A crate is published when its own gates are met; the task does not wait for every crate's testing gate before the first publish. | | T6 | BLOCKED | Hand over | Tell the client-extraction issue (#2594) that `client-lib`, `http-protocol` and `udp-protocol` are published, and the next tracker release that every library crate is published and the root crate owes 4.0.0. | | T7 | BLOCKED | Verify and review acceptance criteria | Automatic checks and manual scenarios recorded; acceptance criteria re-reviewed. | From 49d4eb362074d5ce662254f8aa2f7877c62bdfe4 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:17:19 +0000 Subject: [PATCH 03/16] docs(issues): [#2583] note the EPIC #2912 constraints on primitives and configuration 4.0.0 Review finding F2 of PR 2935: #2914 and #2917 must land before those crates' 4.0.0 is published. Co-Authored-By: Claude Fable 5.2 --- .../2583-1669-first-publish-of-workspace-crates/ISSUE.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 6aa0677da5..db40252c3d 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -105,7 +105,9 @@ State on 2026-11-18 (EPIC #1347 `Subissues` table and the GitHub state of each s `rest-api-runtime-adapter` and `axum-health-check-api-server`. - `primitives` (level 0, no workspace dependencies) is the only crate whose testing gate and dependency gate are both met. The five other crates with a met testing gate all depend on crates - without one. `primitives` still waits for prerequisites 3 and 5. + without one. `primitives` still waits for prerequisites 3 and 5, and EPIC #2912 (remove source + locations from errors) requires its SI-2 (#2914, `TODO`) to land before `primitives` 4.0.0 is + published. That constraint comes from EPIC #2912; it is not a prerequisite decided in this issue. - The client extraction (#2594) needs `http-protocol`, `udp-protocol` and `client-lib` published (rows 3, 4 and 8). None of the three has a #1347 sub-issue, and they depend only on each other, so meeting their testing gate is the shortest path to unblock #2594. @@ -265,12 +267,12 @@ when a #1347 sub-issue is created or closed; EPIC #1347 owns the sub-issues them | Order | Level | Crate | Depends on | Dev-depends on | Testing (#1347) | Version to publish | Pre-publish notes | Status | | ----- | ----- | ----- | ---------- | -------------- | --------------- | ------------------ | ----------------- | ------ | -| 1 | 0 | `torrust-tracker-primitives` | - | - | `MET`: [#2824](../../closed/2824-1347-add-tests-primitives/ISSUE.md) closed | 4.0.0 | Published 3.0.0. Major owed (#2454). | BLOCKED | +| 1 | 0 | `torrust-tracker-primitives` | - | - | `MET`: [#2824](../../closed/2824-1347-add-tests-primitives/ISSUE.md) closed | 4.0.0 | Published 3.0.0. Major owed (#2454). EPIC #2912 requires #2914 (SI-2) to land before 4.0.0 is published. | BLOCKED | | 2 | 0 | `torrust-tracker-events` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RecvError` stays exhaustive on purpose (#2454 E1). | BLOCKED | | 3 | 0 | `torrust-tracker-http-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | Blocks the client extraction. | BLOCKED | | 4 | 0 | `torrust-tracker-udp-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RequestParseError` stays exhaustive on purpose (#2454 E2). Blocks the client extraction. | BLOCKED | | 5 | 0 | `torrust-tracker-rest-api-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | -| 6 | 1 | `torrust-tracker-configuration` | primitives | - | `NONE`: no sub-issue (OQ1) | 4.0.0 | Published 3.0.0. Major owed (#2454; `Error::Infallible` removed). | BLOCKED | +| 6 | 1 | `torrust-tracker-configuration` | primitives | - | `NONE`: no sub-issue (OQ1) | 4.0.0 | Published 3.0.0. Major owed (#2454; `Error::Infallible` removed). EPIC #2912 requires #2917 (SI-5) to land before 4.0.0 is published. | BLOCKED | | 7 | 1 | `torrust-tracker-swarm-coordination-registry` | events, primitives | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | | 8 | 1 | `torrust-tracker-client-lib` | http-protocol, udp-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | LGPL license links fixed by #2576. Blocks the client extraction. | BLOCKED | | 9 | 1 | `torrust-tracker-rest-api-application` | primitives, rest-api-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | From 5c17a437a3585c9973af8446e64ce1e4f68bf76c Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:17:58 +0000 Subject: [PATCH 04/16] docs(issues): [#2583] list #2876 for primitives and say how #1347 rows are counted Review finding F3 of PR 2935. Co-Authored-By: Claude Fable 5.2 --- .../2583-1669-first-publish-of-workspace-crates/ISSUE.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index db40252c3d..362d21a200 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -95,7 +95,7 @@ What follows from this decision, without any new decision: State on 2026-11-18 (EPIC #1347 `Subissues` table and the GitHub state of each sub-issue): -- **Testing gate met** (the crate's #1347 sub-issues are closed): `primitives` (#2824), `udp-core` +- **Testing gate met** (the crate's #1347 sub-issues are closed): `primitives` (#2824, #2876), `udp-core` (#1348), `http-core` (#1349), `axum-http-server` (#2136, #2140), `udp-server` (#2149, #2283) and `axum-rest-api-server` (#2637). - **Sub-issue open:** `core` (#2902, `TODO`). @@ -261,13 +261,18 @@ EPIC #1347 [`Subissues` table](../1347-overhaul-packages-testing/EPIC.md#subissu - `NONE`: the crate has no #1347 sub-issue. What meets its gate is pending (OQ1; OQ4 for `test-helpers`). +How the rows of that table are counted: a crate's sub-issues are the rows about that package's +own tests, which are its "add tests", test-review and coverage rows and their test-support +follow-ups (#2876 for `primitives`). A bug found by the test work (#2838) and the coverage-tooling +rows (#2222, #2301, #2361) belong to no crate and do not count. + A `MET` gate alone does not unblock a row: every crate in its "Depends on" and "Dev-depends on" columns must be `PUBLISHED` first, and prerequisites 1, 2, 3, 5 and 6 must hold. Update the column when a #1347 sub-issue is created or closed; EPIC #1347 owns the sub-issues themselves. | Order | Level | Crate | Depends on | Dev-depends on | Testing (#1347) | Version to publish | Pre-publish notes | Status | | ----- | ----- | ----- | ---------- | -------------- | --------------- | ------------------ | ----------------- | ------ | -| 1 | 0 | `torrust-tracker-primitives` | - | - | `MET`: [#2824](../../closed/2824-1347-add-tests-primitives/ISSUE.md) closed | 4.0.0 | Published 3.0.0. Major owed (#2454). EPIC #2912 requires #2914 (SI-2) to land before 4.0.0 is published. | BLOCKED | +| 1 | 0 | `torrust-tracker-primitives` | - | - | `MET`: [#2824](../../closed/2824-1347-add-tests-primitives/ISSUE.md) and [#2876](../../closed/2876-1347-peer-id-test-helper/ISSUE.md) closed | 4.0.0 | Published 3.0.0. Major owed (#2454). EPIC #2912 requires #2914 (SI-2) to land before 4.0.0 is published. | BLOCKED | | 2 | 0 | `torrust-tracker-events` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RecvError` stays exhaustive on purpose (#2454 E1). | BLOCKED | | 3 | 0 | `torrust-tracker-http-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | Blocks the client extraction. | BLOCKED | | 4 | 0 | `torrust-tracker-udp-protocol` | - | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | `RequestParseError` stays exhaustive on purpose (#2454 E2). Blocks the client extraction. | BLOCKED | From 294360e1fdd566d1b9794a6953afb0f0805164c5 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:18:34 +0000 Subject: [PATCH 05/16] docs(issues): [#2583] correct the test-helpers dev-dependent count in row 12 Review finding F6 of PR 2935: six checklist crates and the root crate. Co-Authored-By: Claude Fable 5.2 --- .../open/2583-1669-first-publish-of-workspace-crates/ISSUE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 362d21a200..088f7ee42b 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -283,7 +283,7 @@ when a #1347 sub-issue is created or closed; EPIC #1347 owns the sub-issues them | 9 | 1 | `torrust-tracker-rest-api-application` | primitives, rest-api-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | | 10 | 1 | `torrust-tracker-rest-api-client` | rest-api-protocol | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | LGPL license links fixed by #2576. | BLOCKED | | 11 | 2 | `torrust-tracker-axum-server` | configuration | - | `NONE`: no sub-issue (OQ1) | 0.1.0 | - | BLOCKED | -| 12 | 2 | `torrust-tracker-test-helpers` | client-lib, configuration, http-protocol, primitives, udp-protocol | - | `NONE`: no sub-issue (OQ1, OQ4) | 4.0.0 (probably) | Published 3.0.0. Major probably owed after #2482; decided in T4 against the published API. Dev-dependency of 7 crates below. | BLOCKED | +| 12 | 2 | `torrust-tracker-test-helpers` | client-lib, configuration, http-protocol, primitives, udp-protocol | - | `NONE`: no sub-issue (OQ1, OQ4) | 4.0.0 (probably) | Published 3.0.0. Major probably owed after #2482; decided in T4 against the published API. Dev-dependency of 6 crates below and of the root crate. | BLOCKED | | 13 | 2 | `torrust-tracker-client` | client-lib, http-protocol, udp-protocol | - | - | - | Console CLI. Not published here: its first publish comes from its own repository in the client-extraction issue. | DEFERRED | | 14 | 3 | `torrust-tracker-core` | configuration, events, primitives, swarm-coordination-registry | test-helpers | `OPEN`: [#2902](../2902-1347-add-tests-tracker-core/ISSUE.md) open (`TODO`) | 0.1.0 | #2482 may change its `Mock*` types. | BLOCKED | | 15 | 4 | `torrust-tracker-http-core` | configuration, core, events, http-protocol, primitives, swarm-coordination-registry | test-helpers | `MET`: [#1349](../../closed/1349-1347-add-tests-http-core/ISSUE.md) closed | 0.1.0 | - | BLOCKED | From 8b18fd1f0a0494f6a63cd83b5f35569602543904 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:20:02 +0000 Subject: [PATCH 06/16] docs(issues): [#1347] cover the next publish of published crates in the gate paragraph Review finding F4 of PR 2935. Co-Authored-By: Claude Fable 5.2 --- docs/issues/open/1347-overhaul-packages-testing/EPIC.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md index e9a4e8b112..8a13df9efd 100644 --- a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md +++ b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md @@ -102,8 +102,9 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | 14 | #2902 - Add tests to the tracker-core package | `docs/issues/open/2902-1347-add-tests-tracker-core/ISSUE.md` | TODO | Lowest unit-only lines of the packages in the EPIC coverage table: 80.31% (MySQL/PostgreSQL drivers 0-4%, SQLite failure branches, `statistics/` reached only by the integration binary). Slices S0-S5 proposed; S0 is the spec-only PR. | | 15 | Additional package-testing subissues | Create a folder-style spec when a concrete package need is identified | TODO | Permitted but not required upfront; retain scope in this EPIC. | -**Publishing gate (maintainer decision of 2026-11-18).** A workspace crate may be published for -the first time once its own package-testing subissues in this table are closed; EPIC #1669 no longer +**Publishing gate (maintainer decision of 2026-11-18).** A workspace crate may be published +under #2583 (a first publish, or the next publish of an already published crate) once its own +package-testing subissues in this table are closed; EPIC #1669 no longer waits for this EPIC to close as a whole. The per-crate gate is tracked in the "Testing (#1347)" column of the [#2583 Per-Crate Checklist](../2583-1669-first-publish-of-workspace-crates/ISSUE.md#per-crate-checklist), From 2ba2b7bf8a1a0eb0e3ee52ba8b3cf3f5b066c74d Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:20:46 +0000 Subject: [PATCH 07/16] docs(issues): [#1347] stamp and log the publishing gate paragraph Review finding F5 of PR 2935. Co-Authored-By: Claude Fable 5.2 --- docs/issues/open/1347-overhaul-packages-testing/EPIC.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md index 8a13df9efd..c03ece8a2f 100644 --- a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md +++ b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 1347 spec-path: docs/issues/open/1347-overhaul-packages-testing/EPIC.md epic-owner: josecelano -last-updated-utc: "2026-11-17 12:43" +last-updated-utc: "2026-11-18 10:20" semantic-links: skill-links: - create-issue @@ -369,6 +369,7 @@ For each subissue implementation, the completion policy is: - 2026-11-16 21:52 UTC - Claude Code (Opus 5.5) - #2876 closed by PR #2888 (merged 2026-11-16 21:49 UTC); row 13 set to `DONE` and the spec archived to `docs/issues/closed/2876-1347-peer-id-test-helper/`. - 2026-11-17 10:57 UTC - Claude Code (Sonnet 5.5) - Created #2902 (`tracker-core`, row 14; the link under #1347 is set by the maintainer). Clean baseline at `5833cdae9`, filtered to the package source: unit-only (`--all-features --lib`) lines 80.31% (4,099 / 5,104), regions 80.20%, functions 72.01%, 157 unit tests; aggregate lines 82.15%; integration-only 44.05% (12 tests). The MySQL and PostgreSQL driver suites skip themselves without Docker and two environment variables, so those 10 files count as 0-4% covered; the container-gated scope is not yet measured. Delivered in slices S0-S5; the row stays `TODO` until the first implementation slice starts. - 2026-11-17 12:43 UTC - Claude Code (Opus 5.5) - #2902 T1b, measured on 2026-11-17 after the maintainer allowed pulling the `mysql:8.0` and `postgres:16` images: with both driver suites running, the `tracker-core` aggregate is lines 93.80% (4,830 / 5,149). Correction: the commit that recorded T1b edited the 10:57 entry above in place; its original text is restored (review finding F9 of #2903). +- 2026-11-18 10:20 UTC - Claude Code (Claude Fable 5.2) - Added the "Publishing gate" paragraph under the `Subissues` table through PR torrust/torrust-tracker#2935 (issue #2583): by the maintainer's decision of 2026-11-18, a crate may be published under #2583 once its own package-testing subissues are closed, and EPIC #1669 no longer waits for this EPIC to close as a whole. No subissue was created or changed. ## Acceptance Criteria From b53cc7f2a0e00afe1a9a84707ba9458c379c12be Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:21:28 +0000 Subject: [PATCH 08/16] docs(issues): [#2583] state the dependency wait in terms of PUBLISHED Review finding F8 of PR 2935 (Copilot). Co-Authored-By: Claude Fable 5.2 --- .../open/2583-1669-first-publish-of-workspace-crates/ISSUE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 088f7ee42b..58c358f76a 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -89,7 +89,7 @@ What follows from this decision, without any new decision: - Publishing stays in dependency order. A crate can be published when its own testing gate is met **and** every crate it depends on or dev-depends on is `PUBLISHED`. A crate whose testing gate is - met still waits for dependencies whose gate is not. + met still waits for every dependency and dev-dependency that is not `PUBLISHED`. - The other prerequisites did not change (see [Open Questions](#open-questions) OQ2 and OQ3). - T2 (publish procedure check) was never blocked by EPIC #1347 and is still not blocked. From 614cec892ceee94ea1646c8e90edfe22b5c71b6b Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:22:35 +0000 Subject: [PATCH 09/16] docs(issues): [#2583] log review round 1 of PR 2935 Co-Authored-By: Claude Fable 5.2 --- .../2583-1669-first-publish-of-workspace-crates/ISSUE.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md index 58c358f76a..1a22683af8 100644 --- a/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md +++ b/docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2583 spec-path: docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md branch: "2583-1669-first-publish-of-workspace-crates-spec" related-pr: null -last-updated-utc: "2026-11-18 09:47" +last-updated-utc: "2026-11-18 10:22" semantic-links: skill-links: - create-issue @@ -419,6 +419,12 @@ release branch and a signed tag. maintainer decisions (Open Questions OQ1-OQ4). Noted, without fixing them, the "Facts checked on 2026-10-20" items that are stale on `develop` (T4 owns the update). Spec-only change; no crate's status changed. +- 2026-11-18 10:22 UTC - Claude Code (Claude Fable 5.2) - Review round 1 of PR torrust/torrust-tracker#2935 + (audit: `docs/pr-reviews/pr-2935-review/PR-REVIEW.md`). "Checklist order" now reads "dependency + order (every dependency and dev-dependency first)" in the prerequisites, the scope, the procedure + and T5; the `primitives` state line and rows 1 and 6 name the EPIC #2912 constraints (#2914, + #2917); row 1 lists #2876 and the column legend says how EPIC #1347 rows are counted; row 12 says + six crates and the root crate; the dependency wait is stated in terms of `PUBLISHED`. ## Acceptance Criteria From 1a6274ae06ebce6956a1b493fed4d0ea84b6706a Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:25:36 +0000 Subject: [PATCH 10/16] docs(pr-reviews): [#2583] audit review round 1 of PR 2935 Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 216 ++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/pr-reviews/pr-2935-review/PR-REVIEW.md diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md new file mode 100644 index 0000000000..c6e2bb2262 --- /dev/null +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -0,0 +1,216 @@ +--- +pr-number: 2935 +pr-url: https://github.com/torrust/torrust-tracker/pull/2935 +last-updated-utc: "2026-11-18 10:25" +--- + + + +# PR #2935 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2935. + + + +## 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`. `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 covers two reviews of head `ed8a1d72a` (the first commit of the PR; its subject is `docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate`). Review 5954581202 (da2ce7, APPROVED) has six inline findings (F1 to F6) and one finding in its body (F7, on the PR description, which has no thread). Review 5954617412 (Copilot, COMMENTED, a lite review) has three inline findings (F8 to F10) without a severity bracket. The audit severity scale has no medium level, so this audit maps Copilot's `Medium severity` badge to `Minor (inferred)` and its `Low severity` badge to `Nit (inferred)`, as the PR #2929 audit does. + +| Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | +| ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | +| F1 | review-finding:pr-2935-f1 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F2 | review-finding:pr-2935-f2 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F3 | review-finding:pr-2935-f3 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F4 | review-finding:pr-2935-f4 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F5 | review-finding:pr-2935-f5 | Human | Nit | metadata | ORIGINAL | FIXED | RESOLVED | +| F6 | review-finding:pr-2935-f6 | Human | Nit | correctness | ORIGINAL | FIXED | RESOLVED | +| F7 | review-finding:pr-2935-f7 | Human | Nit | documentation | ORIGINAL | FIXED | NON_RESOLVABLE | +| F8 | review-finding:pr-2935-f8 | Copilot | Minor (inferred) | documentation | ORIGINAL | FIXED | RESOLVED | +| F9 | review-finding:pr-2935-f9 | Copilot | Minor (inferred) | correctness | RE_RAISE_OF:F6 | NO_ACTION | SUPERSEDED | +| F10 | review-finding:pr-2935-f10 | Copilot | Nit (inferred) | formatting | ORIGINAL | NO_ACTION | SUPERSEDED | + +## Finding Details + +### F1 - "Always in checklist order" contradicts the dependency-only gate + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229665 +- Concern: "Checklist order" in the prerequisites intro, T5 and the procedure lead-in read as row or level order, while the spec gates a crate only on its own testing gate and on its dependencies and dev-dependencies being `PUBLISHED`. Under level order the shortest-path claim for #2594 would not hold. +- Solution: The prerequisites intro, the In Scope bullet, the procedure lead-in and T5 say "dependency order (every dependency and dev-dependency first)". T5 adds that this is not row or level order, and the checklist intro says the row and level numbers only present the order. +- Current-tree verification: `grep -n 'checklist order' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing; `grep -c 'every dependency and dev-dependency first' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 4. +- Resolution reference: `docs(issues): [#2583] say dependency order instead of checklist order` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612343656 + +### F2 - The `primitives` state line omits #2914, which EPIC #2912 requires before `primitives` 4.0.0 + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229686 +- Concern: EPIC #2912 lists SI-2 (#2914) as "Must land before `primitives` 4.0.0 is published" and SI-5 (#2917) the same for `configuration` 4.0.0. The spec named neither, so "`primitives` still waits for prerequisites 3 and 5" read as the complete list. +- Solution: The `primitives` state line names #2914 as a constraint that comes from EPIC #2912, not a prerequisite decided in #2583, and the pre-publish notes of rows 1 and 6 name #2914 and #2917. +- Current-tree verification: `grep -n '2914\|2917' docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows both "Must land before" notes (rows 2 and 5); `grep -c '#2914' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 2 and `grep -c '#2917' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 1, plus the progress-log entry that names both. `gh issue view` reported #2914 and #2917 as open. +- Resolution reference: `docs(issues): [#2583] note the EPIC #2912 constraints on primitives and configuration 4.0.0` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612344228 + +### F3 - Row 1 cites only #2824, but the EPIC #1347 table also holds #2876 for `primitives` + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229705 +- Concern: The column definition did not say whether bug and follow-up rows of the EPIC #1347 table count, which crate a multi-crate row belongs to, or that the CI rows belong to none, so the column could not be recomputed by its own rule. +- Solution: Row 1 and the state list cite #2824 and #2876. The column legend says a crate's sub-issues are the rows about that package's own tests and their test-support follow-ups, and that the bug row #2838 and the coverage-tooling rows #2222, #2301 and #2361 belong to no crate. No gate value changed. The reply says the rule is the author's wording and that the maintainer may confirm it with OQ1. +- Current-tree verification: `grep -n 'How the rows of that table are counted' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds the legend paragraph; `grep -c '2876-1347-peer-id-test-helper' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 1 (row 1). +- Resolution reference: `docs(issues): [#2583] list #2876 for primitives and say how #1347 rows are counted` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612344719 + +### F4 - "Published for the first time" is narrower than the decision it reports + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229738 +- Concern: The EPIC #1347 paragraph said a crate may be "published for the first time", which leaves the next publish of the three already published crates ungated when read alone. +- Solution: The paragraph says "may be published under #2583 (a first publish, or the next publish of an already published crate) once ...". +- Current-tree verification: `grep -n 'next publish of an already published crate' docs/issues/open/1347-overhaul-packages-testing/EPIC.md` finds the paragraph; `grep -n 'for the first time' docs/issues/open/1347-overhaul-packages-testing/EPIC.md` finds nothing. +- Resolution reference: `docs(issues): [#1347] cover the next publish of published crates in the gate paragraph` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612345552 + +### F5 - EPIC #1347 gains a paragraph without a stamp or a Progress Log entry + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229748 +- Concern: `last-updated-utc` of the EPIC #1347 spec stayed at its previous value and its Progress Log had no entry for the new paragraph, unlike the other two files of the commit. +- Solution: The stamp is "2026-11-18 10:20" and the Progress Log has an entry with the same time for the paragraph. +- Current-tree verification: `grep -n '2026-11-18 10:20' docs/issues/open/1347-overhaul-packages-testing/EPIC.md` finds the frontmatter stamp and the last Progress Log entry. +- Resolution reference: `docs(issues): [#1347] stamp and log the publishing gate paragraph` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612346029 + +### F6 - Row 12 still says "Dev-dependency of 7 crates below" + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229728 +- Concern: Row 12 said seven crates while OQ4 says six checklist crates and the root crate, which is what the Dev-depends on column and the manifests show. +- Solution: Row 12 says "Dev-dependency of 6 crates below and of the root crate". +- Current-tree verification: `grep -n '7 crates' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing; `grep -c '6 crates below and of the root crate' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 1. +- Resolution reference: `docs(issues): [#2583] correct the test-helpers dev-dependent count in row 12` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612345099 + +### F7 - The description's "rebased on the current develop" predates a merge on `develop` + +- PR number: 2935 +- Source review ID: 5954581202 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#pullrequestreview-5954581202 +- Concern: The PR description said the branch is rebased on the current `develop`, but #2920 merged 18 seconds before that statement was true of the opened PR. +- Solution: The description's Validation section says the first commit was rebased on `develop` at `90a7c7d3f` before the PR was opened and that `develop` has moved since. The fix is outside the repository tree. +- Current-tree verification: `gh pr view 2935 --json body` shows the reworded Validation line and no "current `develop`" wording. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6975743968 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6975743968 + +### F8 - The dependency wait was stated in terms of the testing gate + +- PR number: 2935 +- Source review ID: 5954617412 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612258392 +- Concern: "A crate whose testing gate is met still waits for dependencies whose gate is not" does not match the rule before it, which blocks on dependencies that are not `PUBLISHED`. +- Solution: The sentence reads "still waits for every dependency and dev-dependency that is not `PUBLISHED`". +- Current-tree verification: `grep -n 'dependencies whose gate is not' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing; `grep -c 'dev-dependency that is not' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 1. +- Resolution reference: `docs(issues): [#2583] state the dependency wait in terms of PUBLISHED` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612346501 + +### F9 - Conflicting counts of the crates that dev-depend on `test-helpers` + +- PR number: 2935 +- Source review ID: 5954617412 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612258508 +- Concern: OQ4 says six checklist crates and the row 12 note said seven. +- Solution: No further change: this is the mismatch of F6, already fixed by its commit when the review was processed. +- Current-tree verification: `grep -n '7 crates' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612346967 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612346967 + +### F10 - "subissue" instead of "sub-issue" in the EPIC #1347 paragraph + +- PR number: 2935 +- Source review ID: 5954617412 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612258595 +- Concern: Copilot asked for "sub-issue" for consistency with the rest of the docs. +- Solution: No change. The EPIC #1347 spec writes "subissue" throughout, including its `## Subissues` heading, so the new paragraph follows the file it is in. +- Current-tree verification: `grep -ci subissue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` printed 52 and `grep -ci sub-issue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` printed 0 when the reply was written. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612347402 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612347402 + +## Processing Log + +- 2026-11-18 10:25 UTC - Started audit. Round 1: review 5954581202 (da2ce7, APPROVED, 10:14:16Z) with findings F1 to F7 and review 5954617412 (Copilot, COMMENTED, 10:16:39Z) with findings F8 to F10, both on the first commit of the PR. Committed one fix per finding for F1 to F6 and F8 (10:16Z to 10:21Z) and a progress-log commit in the #2583 spec (10:23Z). Edited the PR description for F7 and answered it in the PR conversation (10:24Z). F9 re-raises F6 and F10 needs no change. Replied on the nine threads (10:23Z) and resolved them (10:24Z), before pushing, so that one push carries the fixes and this record: the fix commits were local when the replies were posted, and each reply says so. + + + +## Completion Rules + +- 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 6c698214e3d73a0f93db9e9fcbc9891b046ec24b Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:26:20 +0000 Subject: [PATCH 11/16] docs(pr-reviews): [#2583] cite the reviewed commit by subject in the PR 2935 audit Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index c6e2bb2262..b87d6dd536 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -43,7 +43,7 @@ deliver findings through GitHub and have no repository-artifact obligation. ## Findings -Round 1 covers two reviews of head `ed8a1d72a` (the first commit of the PR; its subject is `docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate`). Review 5954581202 (da2ce7, APPROVED) has six inline findings (F1 to F6) and one finding in its body (F7, on the PR description, which has no thread). Review 5954617412 (Copilot, COMMENTED, a lite review) has three inline findings (F8 to F10) without a severity bracket. The audit severity scale has no medium level, so this audit maps Copilot's `Medium severity` badge to `Minor (inferred)` and its `Low severity` badge to `Nit (inferred)`, as the PR #2929 audit does. +Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate`, which was the head when both were submitted. Review 5954581202 (da2ce7, APPROVED) has six inline findings (F1 to F6) and one finding in its body (F7, on the PR description, which has no thread). Review 5954617412 (Copilot, COMMENTED, a lite review) has three inline findings (F8 to F10) without a severity bracket. The audit severity scale has no medium level, so this audit maps Copilot's `Medium severity` badge to `Minor (inferred)` and its `Low severity` badge to `Nit (inferred)`, as the PR #2929 audit does. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | From c536de6dd182609c0db7f0ee1ab10a9be3db762e Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:40:14 +0000 Subject: [PATCH 12/16] docs(pr-reviews): [#2583] record the verification outputs of the PR 2935 audit at the head Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index b87d6dd536..4d7bb38248 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -68,7 +68,7 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] - Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229665 - Concern: "Checklist order" in the prerequisites intro, T5 and the procedure lead-in read as row or level order, while the spec gates a crate only on its own testing gate and on its dependencies and dev-dependencies being `PUBLISHED`. Under level order the shortest-path claim for #2594 would not hold. - Solution: The prerequisites intro, the In Scope bullet, the procedure lead-in and T5 say "dependency order (every dependency and dev-dependency first)". T5 adds that this is not row or level order, and the checklist intro says the row and level numbers only present the order. -- Current-tree verification: `grep -n 'checklist order' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing; `grep -c 'every dependency and dev-dependency first' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 4. +- Current-tree verification: `grep -n 'checklist order' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` finds nothing; `grep -c 'every dependency and dev-dependency first' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 5 (four spec lines and the round 1 progress-log entry). - Resolution reference: `docs(issues): [#2583] say dependency order instead of checklist order` - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612343656 @@ -81,7 +81,7 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] - Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612229686 - Concern: EPIC #2912 lists SI-2 (#2914) as "Must land before `primitives` 4.0.0 is published" and SI-5 (#2917) the same for `configuration` 4.0.0. The spec named neither, so "`primitives` still waits for prerequisites 3 and 5" read as the complete list. - Solution: The `primitives` state line names #2914 as a constraint that comes from EPIC #2912, not a prerequisite decided in #2583, and the pre-publish notes of rows 1 and 6 name #2914 and #2917. -- Current-tree verification: `grep -n '2914\|2917' docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows both "Must land before" notes (rows 2 and 5); `grep -c '#2914' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 2 and `grep -c '#2917' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 1, plus the progress-log entry that names both. `gh issue view` reported #2914 and #2917 as open. +- Current-tree verification: `grep -n '2914\|2917' docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows both "Must land before" notes (rows 2 and 5); `grep -c '#2914' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 3 and `grep -c '#2917' docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md` prints 2 (both counts include the round 1 progress-log entry). `gh issue view` reported #2914 and #2917 as open. - Resolution reference: `docs(issues): [#2583] note the EPIC #2912 constraints on primitives and configuration 4.0.0` - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612344228 @@ -185,7 +185,7 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] - Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612258595 - Concern: Copilot asked for "sub-issue" for consistency with the rest of the docs. - Solution: No change. The EPIC #1347 spec writes "subissue" throughout, including its `## Subissues` heading, so the new paragraph follows the file it is in. -- Current-tree verification: `grep -ci subissue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` printed 52 and `grep -ci sub-issue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` printed 0 when the reply was written. +- Current-tree verification: `grep -ci subissue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` prints 53 and `grep -ci sub-issue docs/issues/open/1347-overhaul-packages-testing/EPIC.md` prints 0. The reply says 52: that count was taken before the stamp-and-log commit of F5 added a line, and was already 53 when the reply was posted. - Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612347402 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612347402 From 58cba4ffb63e86aded828c3ede43f378c39a3269 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:40:59 +0000 Subject: [PATCH 13/16] docs(pr-reviews): [#2583] correct the timing in the F7 concern of the PR 2935 audit Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index 4d7bb38248..05f99d5e31 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -144,7 +144,7 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] - Source review ID: 5954581202 - Reviewer finding ID: N/A - Source URL: https://github.com/torrust/torrust-tracker/pull/2935#pullrequestreview-5954581202 -- Concern: The PR description said the branch is rebased on the current `develop`, but #2920 merged 18 seconds before that statement was true of the opened PR. +- Concern: The PR description said the branch is rebased on the current `develop`, but #2920 merged 18 seconds after the first commit, before the PR was opened. - Solution: The description's Validation section says the first commit was rebased on `develop` at `90a7c7d3f` before the PR was opened and that `develop` has moved since. The fix is outside the repository tree. - Current-tree verification: `gh pr view 2935 --json body` shows the reworded Validation line and no "current `develop`" wording. - Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6975743968 From 3d07b4773abd44ac40fc7fa1c17661854dbb4156 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:42:41 +0000 Subject: [PATCH 14/16] docs(pr-reviews): [#2583] audit review round 2 of PR 2935 Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 46 ++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index 05f99d5e31..1a93117a5c 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -1,7 +1,7 @@ --- pr-number: 2935 pr-url: https://github.com/torrust/torrust-tracker/pull/2935 -last-updated-utc: "2026-11-18 10:25" +last-updated-utc: "2026-11-18 10:42" --- @@ -44,6 +44,7 @@ deliver findings through GitHub and have no repository-artifact obligation. ## Findings Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate`, which was the head when both were submitted. Review 5954581202 (da2ce7, APPROVED) has six inline findings (F1 to F6) and one finding in its body (F7, on the PR description, which has no thread). Review 5954617412 (Copilot, COMMENTED, a lite review) has three inline findings (F8 to F10) without a severity bracket. The audit severity scale has no medium level, so this audit maps Copilot's `Medium severity` badge to `Minor (inferred)` and its `Low severity` badge to `Nit (inferred)`, as the PR #2929 audit does. +Round 2: review 5954958077 (da2ce7, APPROVED) of the head that round 1 pushed has two inline findings on this record and one finding in its body on the PR description. The reviewer numbered them F8, F9 and F10, which this audit already uses, so they are F11, F12 and F13 here, with the reviewer's ID in each detail entry. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -57,6 +58,9 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] | F8 | review-finding:pr-2935-f8 | Copilot | Minor (inferred) | documentation | ORIGINAL | FIXED | RESOLVED | | F9 | review-finding:pr-2935-f9 | Copilot | Minor (inferred) | correctness | RE_RAISE_OF:F6 | NO_ACTION | SUPERSEDED | | F10 | review-finding:pr-2935-f10 | Copilot | Nit (inferred) | formatting | ORIGINAL | NO_ACTION | SUPERSEDED | +| F11 | review-finding:pr-2935-f11 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F12 | review-finding:pr-2935-f12 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F13 | review-finding:pr-2935-f13 | Human | Nit | documentation | ORIGINAL | FIXED | NON_RESOLVABLE | ## Finding Details @@ -190,9 +194,49 @@ Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612347402 +### F11 - Three "Current-tree verification" counts were not the output at the head + +- PR number: 2935 +- Source review ID: 5954958077 +- Reviewer finding ID: F8 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612541275 +- Concern: The counts recorded for F1 (4), F2 (2 and 1) and F10 (52) were not what the commands print at the pushed head (5, 3 and 2, and 53). +- Solution: The three counts were written from the fix diffs without running the commands. Every command named in a Current-tree verification field of this record was then run on the current tree, and the F1, F2 and F10 entries record the printed values; the F10 entry notes that its reply says 52. The other entries already matched the output. +- Current-tree verification: on the current tree, `grep -c 'every dependency and dev-dependency first'`, `grep -c '#2914'` and `grep -c '#2917'` on the #2583 spec printed 5, 3 and 2, and `grep -ci subissue` on the EPIC #1347 spec printed 53; the `grep -n` and other `grep -c` commands of F1 to F10 printed what their entries say (no match, or 1, or the two `2026-11-18 10:20` lines). +- Resolution reference: `docs(pr-reviews): [#2583] record the verification outputs of the PR 2935 audit at the head` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612566964 + +### F12 - The F7 concern reversed the timing + +- PR number: 2935 +- Source review ID: 5954958077 +- Reviewer finding ID: F9 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612541290 +- Concern: The F7 concern said #2920 merged 18 seconds "before that statement was true of the opened PR", which reads as the opposite of what happened: the merge came 18 seconds after the first commit and before the PR was opened. +- Solution: The F7 concern says "#2920 merged 18 seconds after the first commit, before the PR was opened". +- Current-tree verification: `grep -c 'merged 18 seconds after the first commit' docs/pr-reviews/pr-2935-review/PR-REVIEW.md` prints 3 (the F7 concern and this entry's concern and solution); `gh pr view 2935 --json createdAt` printed `2026-11-18T09:54:05Z`. +- Resolution reference: `docs(pr-reviews): [#2583] correct the timing in the F7 concern of the PR 2935 audit` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612567484 + +### F13 - The description's gate table and consequence line lag the spec + +- PR number: 2935 +- Source review ID: 5954958077 +- Reviewer finding ID: F10 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#pullrequestreview-5954958077 +- Concern: The description's "State of the gate" table cited only #2824 for `primitives`, and its consequence line omitted the #2914 constraint that the spec states since round 1. The description is copied into the merge commit. +- Solution: The table cites #2824 and #2876, and the consequence line says `primitives` also waits for #2914 from EPIC #2912. The fix is outside the repository tree. +- Current-tree verification: `gh pr view 2935 --json body -q .body | grep -c '#2876'` and the same with `'#2914'` are recorded in the Processing Log entry of round 2. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6976144390 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6976144390 + ## Processing Log - 2026-11-18 10:25 UTC - Started audit. Round 1: review 5954581202 (da2ce7, APPROVED, 10:14:16Z) with findings F1 to F7 and review 5954617412 (Copilot, COMMENTED, 10:16:39Z) with findings F8 to F10, both on the first commit of the PR. Committed one fix per finding for F1 to F6 and F8 (10:16Z to 10:21Z) and a progress-log commit in the #2583 spec (10:23Z). Edited the PR description for F7 and answered it in the PR conversation (10:24Z). F9 re-raises F6 and F10 needs no change. Replied on the nine threads (10:23Z) and resolved them (10:24Z), before pushing, so that one push carries the fixes and this record: the fix commits were local when the replies were posted, and each reply says so. +- 2026-11-18 10:42 UTC - Round 2: review 5954958077 (da2ce7, APPROVED, 10:39:31Z) with findings F11 to F13 (the reviewer's F8 to F10). Ran every command named in the Current-tree verification fields and committed the corrected counts (F11, 10:40:14Z) and the F7 timing (F12, 10:40:59Z). Edited the PR description for F13; afterwards `gh pr view 2935 --json body -q .body | grep -c '#2876'` printed 1 and the same with `'#2914'` printed 2. Replied on the two threads (10:41:35Z and 10:41:38Z), answered F13 in the PR conversation (10:41:41Z) and resolved the two threads (10:42Z), before pushing, as in round 1; each reply says the fix was not pushed yet. From 375c754dfff56b721d1c8efccf73d83f63eb08c8 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:54:06 +0000 Subject: [PATCH 15/16] docs(pr-reviews): [#2583] name the lines the F12 verification matches in the PR 2935 audit Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index 1a93117a5c..162141454c 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -215,7 +215,7 @@ Round 2: review 5954958077 (da2ce7, APPROVED) of the head that round 1 pushed ha - Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612541290 - Concern: The F7 concern said #2920 merged 18 seconds "before that statement was true of the opened PR", which reads as the opposite of what happened: the merge came 18 seconds after the first commit and before the PR was opened. - Solution: The F7 concern says "#2920 merged 18 seconds after the first commit, before the PR was opened". -- Current-tree verification: `grep -c 'merged 18 seconds after the first commit' docs/pr-reviews/pr-2935-review/PR-REVIEW.md` prints 3 (the F7 concern and this entry's concern and solution); `gh pr view 2935 --json createdAt` printed `2026-11-18T09:54:05Z`. +- Current-tree verification: `grep -c 'merged 18 seconds after the first commit' docs/pr-reviews/pr-2935-review/PR-REVIEW.md` prints 3 (the F7 concern, this entry's solution and this line, which quotes the pattern); `gh pr view 2935 --json createdAt` printed `2026-11-18T09:54:05Z`. - Resolution reference: `docs(pr-reviews): [#2583] correct the timing in the F7 concern of the PR 2935 audit` - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612567484 From 459c7642abe4e068723f54496b807e918f17fcaf Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 10:56:04 +0000 Subject: [PATCH 16/16] docs(pr-reviews): [#2583] audit review round 3 of PR 2935 Co-Authored-By: Claude Fable 5.2 --- docs/pr-reviews/pr-2935-review/PR-REVIEW.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md index 162141454c..3c1e3cbb76 100644 --- a/docs/pr-reviews/pr-2935-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2935-review/PR-REVIEW.md @@ -1,7 +1,7 @@ --- pr-number: 2935 pr-url: https://github.com/torrust/torrust-tracker/pull/2935 -last-updated-utc: "2026-11-18 10:42" +last-updated-utc: "2026-11-18 10:55" --- @@ -45,6 +45,7 @@ deliver findings through GitHub and have no repository-artifact obligation. Round 1 covers two reviews of the first commit of the PR, `docs(issues): [#2583] make the #1347 publish prerequisite a per-crate testing gate`, which was the head when both were submitted. Review 5954581202 (da2ce7, APPROVED) has six inline findings (F1 to F6) and one finding in its body (F7, on the PR description, which has no thread). Review 5954617412 (Copilot, COMMENTED, a lite review) has three inline findings (F8 to F10) without a severity bracket. The audit severity scale has no medium level, so this audit maps Copilot's `Medium severity` badge to `Minor (inferred)` and its `Low severity` badge to `Nit (inferred)`, as the PR #2929 audit does. Round 2: review 5954958077 (da2ce7, APPROVED) of the head that round 1 pushed has two inline findings on this record and one finding in its body on the PR description. The reviewer numbered them F8, F9 and F10, which this audit already uses, so they are F11, F12 and F13 here, with the reviewer's ID in each detail entry. +Round 3: review 5955142092 (da2ce7, APPROVED) of the head that round 2 pushed has one inline finding on this record, numbered F11 by the reviewer and F14 here. Copilot review 5955142083 (COMMENTED, of the head that round 1 pushed) reports no open issue and makes no row. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -61,6 +62,7 @@ Round 2: review 5954958077 (da2ce7, APPROVED) of the head that round 1 pushed ha | F11 | review-finding:pr-2935-f11 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F12 | review-finding:pr-2935-f12 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F13 | review-finding:pr-2935-f13 | Human | Nit | documentation | ORIGINAL | FIXED | NON_RESOLVABLE | +| F14 | review-finding:pr-2935-f14 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -233,10 +235,24 @@ Round 2: review 5954958077 (da2ce7, APPROVED) of the head that round 1 pushed ha - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#issuecomment-6976144390 +### F14 - The F12 verification parenthetical named the wrong lines + +- PR number: 2935 +- Source review ID: 5955142092 +- Reviewer finding ID: F11 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612699501 +- Concern: The F12 verification count of 3 was right, but its parenthetical attributed one match to the F12 concern, whose wording differs from the pattern; the third match is the verification line itself, which quotes the pattern. +- Solution: The parenthetical names the three matching lines: the F7 concern, the F12 solution and the F12 verification line. +- Current-tree verification: the command quoted in the F12 verification field, run with `-n` at the fix commit, matched lines 151, 217 and 218 of this record: the F7 concern, the F12 solution and the F12 verification line. The round 3 paragraph of the Findings section then added two lines above them, so on the tree with this entry the same command matches lines 153, 219 and 220, the same three lines. This entry does not contain the pattern. +- Resolution reference: `docs(pr-reviews): [#2583] name the lines the F12 verification matches in the PR 2935 audit` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2935#discussion_r4612736513 + ## Processing Log - 2026-11-18 10:25 UTC - Started audit. Round 1: review 5954581202 (da2ce7, APPROVED, 10:14:16Z) with findings F1 to F7 and review 5954617412 (Copilot, COMMENTED, 10:16:39Z) with findings F8 to F10, both on the first commit of the PR. Committed one fix per finding for F1 to F6 and F8 (10:16Z to 10:21Z) and a progress-log commit in the #2583 spec (10:23Z). Edited the PR description for F7 and answered it in the PR conversation (10:24Z). F9 re-raises F6 and F10 needs no change. Replied on the nine threads (10:23Z) and resolved them (10:24Z), before pushing, so that one push carries the fixes and this record: the fix commits were local when the replies were posted, and each reply says so. - 2026-11-18 10:42 UTC - Round 2: review 5954958077 (da2ce7, APPROVED, 10:39:31Z) with findings F11 to F13 (the reviewer's F8 to F10). Ran every command named in the Current-tree verification fields and committed the corrected counts (F11, 10:40:14Z) and the F7 timing (F12, 10:40:59Z). Edited the PR description for F13; afterwards `gh pr view 2935 --json body -q .body | grep -c '#2876'` printed 1 and the same with `'#2914'` printed 2. Replied on the two threads (10:41:35Z and 10:41:38Z), answered F13 in the PR conversation (10:41:41Z) and resolved the two threads (10:42Z), before pushing, as in round 1; each reply says the fix was not pushed yet. +- 2026-11-18 10:55 UTC - Round 3: review 5955142092 (da2ce7, APPROVED, 10:52:08Z) with finding F14 (the reviewer's F11), and Copilot review 5955142083 (COMMENTED, 10:52:07Z) with no open issue. Committed the F14 fix (10:54:06Z), replied on its thread (10:54:59Z) and resolved it (10:55Z), before pushing, as in the earlier rounds; the reply says the fix was not pushed yet.