Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
ed8a1d7
docs(issues): [#2583] make the #1347 publish prerequisite a per-crate…
josecelano-bot Nov 18, 2026
1c5900f
docs(issues): [#2583] say dependency order instead of checklist order
josecelano-bot Nov 18, 2026
49d4eb3
docs(issues): [#2583] note the EPIC #2912 constraints on primitives a…
josecelano-bot Nov 18, 2026
5c17a43
docs(issues): [#2583] list #2876 for primitives and say how #1347 row…
josecelano-bot Nov 18, 2026
294360e
docs(issues): [#2583] correct the test-helpers dev-dependent count in…
josecelano-bot Nov 18, 2026
8b18fd1
docs(issues): [#1347] cover the next publish of published crates in t…
josecelano-bot Nov 18, 2026
2ba2b7b
docs(issues): [#1347] stamp and log the publishing gate paragraph
josecelano-bot Nov 18, 2026
b53cc7f
docs(issues): [#2583] state the dependency wait in terms of PUBLISHED
josecelano-bot Nov 18, 2026
614cec8
docs(issues): [#2583] log review round 1 of PR 2935
josecelano-bot Nov 18, 2026
1a6274a
docs(pr-reviews): [#2583] audit review round 1 of PR 2935
josecelano-bot Nov 18, 2026
6c69821
docs(pr-reviews): [#2583] cite the reviewed commit by subject in the …
josecelano-bot Nov 18, 2026
c536de6
docs(pr-reviews): [#2583] record the verification outputs of the PR 2…
josecelano-bot Nov 18, 2026
58cba4f
docs(pr-reviews): [#2583] correct the timing in the F7 concern of the…
josecelano-bot Nov 18, 2026
3d07b47
docs(pr-reviews): [#2583] audit review round 2 of PR 2935
josecelano-bot Nov 18, 2026
375c754
docs(pr-reviews): [#2583] name the lines the F12 verification matches…
josecelano-bot Nov 18, 2026
459c764
docs(pr-reviews): [#2583] audit review round 3 of PR 2935
josecelano-bot Nov 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/issues/open/1347-overhaul-packages-testing/EPIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -102,6 +102,15 @@ 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
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),
which also lists the 13 publishable crates that have no subissue here yet and the pending
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved
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
Expand Down Expand Up @@ -360,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

Expand Down
14 changes: 11 additions & 3 deletions docs/issues/open/1669-overhaul-packages/EPIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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

Expand Down
Loading
Loading