Skip to content

chore(issues): archive closed issue #2637 spec to docs/issues/closed - #2781

Merged
josecelano merged 1 commit into
torrust:developfrom
josecelano-bot:chore/archive-issue-2637-spec
Nov 9, 2026
Merged

josecelano merged 1 commit into
torrust:developfrom
josecelano-bot:chore/archive-issue-2637-spec

Conversation

@josecelano-bot

Copy link
Copy Markdown
Contributor

Related to #2637

Archives the spec of issue #2637 (closed on GitHub by #2772) from docs/issues/open/ to docs/issues/closed/, following the cleanup-completed-issues skill. Documentation only, plus one comment path.

Summary

Validation

The pre-commit script passed, cargo +nightly fmt --all -- --check, linter markdown and linter cspell passed, and git diff --cached --check is clean. rg for the old docs/issues/open/2637 path finds only the two historical review records above. The pre-push hook passed on the branch.

🤖 Generated with Claude Code

…closed

Issue torrust#2637 is closed (S6 merged through torrust#2772). Move the spec folder, set status done and
the closed spec-path, repair the live references (the EPIC row and links, two closed specs, a
source comment) and the relative links of the moved files.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 9, 2026 12:19
@josecelano

Copy link
Copy Markdown
Member

ACK b29e63b

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at b29e63b1bbc03a9e7a85d9d192deb11a7c8a5617. Recomputed from the bytes at this head, against the merge base 314721d8b; git merge-tree against develop 314721d8b is clean and writes exactly the head's tree.

Process: an archive move, governed by .github/skills/dev/planning/cleanup-completed-issues/SKILL.md and, for the commit and description, .github/skills/dev/git-workflow/open-pull-request/SKILL.md. Steps 0.6, 2, 3 and 5 hold: no draft is linked to an issue, the primary spec has the closed status and spec-path, and every checkpoint is ticked. Step 4 holds for paths but not for its metadata clause (F2).

The change against its claim: all 29 files moved and none stayed; the only edits are the lines the description lists. The source change is one path in a doc comment inside a test module. The seven merges on the EPIC row exist on develop and the coverage deltas recompute. One sentence of the description overstates its search (F3).

Consistency: the 191 relative links (26 with anchors) and 166 frontmatter paths in the 32 changed Markdown files resolve at this head. Searching the folder name finds only repaired references, branch names and historical review records. The project dictionary is untouched.

Hygiene: one commit, b29e63b1b, in the subject form the skill prescribes, its body matching its diff, author equal to committer, with one attribution footer that no rule in the tree forbids. git diff --check is empty, the PR-branch commit-id check prints nothing, and the closing-keyword pattern matches none of the title, description or message.

Findings (none blocking: each is a small edit, repairable after merge, and none alters what the archive records):

  • F1 Minor: the EPIC log entry landed in ## References.
  • F2 Minor: three edited documents keep a stale last-updated-utc.
  • F3 Minor: the description's search claim omits a third review record.
  • F4 Nit: the archived plan index still says in-progress.

Checked, no finding: the recorded merge time of 12:08 UTC follows the merge commit's 12:04 UTC by the same few minutes as earlier slices; retaining the old path in the review records follows Step 4; the related-issue wording suits an issue already closed; the issue's closed state itself cannot be read offline, and the merge commit on develop carries its closing reference.

Checks

On the loop's compute node at this head, against the merge base 314721d8b (receipt server-gates-kranich-552): the repository's pre-commit gate exit 0 (148 s, including linter all and the workspace doc tests over the one changed Rust doc comment), clippy-allow-reasons against the base exit 0, and the tree left clean; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 15 errors / 4 warnings at this head and at the base re-measured, so none is new. The forge reports this head as mergeable. GitHub checks at this head at posting time: "Package Coverage Regression: completed/success; Package Coverage (torrust-tracker-axum-rest-api-server): completed/success; Generate Coverage Report: completed/success; Discover Package Coverage: completed/success; Docker E2E: completed/skipped; Unit (stable): in_progress/pending; Workspace Packaging: completed/success; Unit (nightly): in_progress/pending; Shipped Features: completed/success; Layer Boundary Bans: completed/success; Documented Clippy Allows: completed/success; Docs Lint: completed/success; Test (Docker) (release): queued/pending; Build on ubuntu-latest (stable): completed/success; Build on windows-latest (nightly): completed/success; Build on windows-latest (stable): completed/success; Build on macos-latest (nightly): completed/success; Build on ubuntu-latest (nightly): completed/success; Build on macos-latest (stable): completed/success". At posting, develop is 314721d8b.


- GitHub EPIC: https://github.com/torrust/torrust-tracker/issues/1347
- Related issues: #1348, #1349, #2136, #2149, #2637
- 2026-11-09 12:10 UTC - Claude Code - #2637 S6 merged through #2772 (2026-11-09 12:08 UTC) and issue #2637 closed: the `axum-rest-api-server` package is DONE. Final figures (unchanged): unit-only lines 96.67%, aggregate 97.67%. The spec was archived to `docs/issues/closed/` and the subissue row is `DONE`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Minor][F1] The new EPIC log entry sits in ## References, not in ### Progress Log.

This line falls between the Related issues and Package inventory bullets of the list that starts at line 379, while ### Progress Log ends at line 341. The log therefore still ends on the S6 finish, and the close is recorded among the links. The text of the entry is accurate; only its place is wrong. Moving this line to directly after line 341 repairs it.

- .github/skills/dev/debugging/fix-bug/SKILL.md
- .github/skills/dev/planning/create-issue/SKILL.md
- docs/issues/open/2637-1347-add-tests-axum-rest-api-server/ISSUE.md
- docs/issues/closed/2637-1347-add-tests-axum-rest-api-server/ISSUE.md

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Minor][F2] Three edited documents keep a stale last-updated-utc.

Step 4 of cleanup-completed-issues says to set the field to the current date when modifying an affected document that has it. This file (still 2026-10-26 17:08), docs/issues/closed/2726-rest-api-https-health-check/ISSUE.md (2026-11-05 13:49) and the moved manual-verification-evidence.md (2026-11-09 10:36) each had a path changed and the field left as it was. The primary spec and the EPIC were refreshed, so the omission is limited to these three.

- 2026-11-06 16:44 UTC - Claude Code (Sonnet 5.5) - The final independent review of S6 passed (three LOW findings: the unviable-mutant categories were recounted and a stale review outcome corrected, and one LOW/INFO finding confirmed existing statements and needed no fix). T7 and T8 are `DONE`, the acceptance criteria AC1-AC17 are re-reviewed and checked, and the implementation retrospective is written. The S6 pull request awaits the maintainer's approval; the issue closes and the spec moves to `docs/issues/closed/` in the clean-up pull request after the merge.
- 2026-11-06 16:52 UTC - Claude Code (Sonnet 5.5) - S6 rebased onto `develop` (it brought #2745, the `testing` feature gate of the test environment). Coverage re-measured with clean workspaces: unchanged (unit-only lines 2,324 / 2,404, 96.67%; aggregate 2,348 / 2,404, 97.67%). The whole-package mutation run was repeated on the rebased tree after the `authenticate` test: 71 caught, 3 missed, 44 unviable; the `|` to `^` survivor is killed (this corrects the first-run figures of the 2026-11-06 16:37 entry, 70 caught and 4 missed).
- 2026-11-09 10:38 UTC - Claude Code (Sonnet 5.5) - S6 pull request #2772 (<https://github.com/torrust/torrust-tracker/pull/2772>, `Closes #2637`) was opened on 2026-11-06 16:59 UTC as `josecelano-bot` from its fork; recorded now in the frontmatter and the slice table (the S5 pattern). The reviews of Copilot (one new comment on the test case names) and of the maintainer's reviewer da2ce7 (14 findings) were processed on 2026-11-09; the audit is `docs/pr-reviews/pr-2772-review/PR-REVIEW.md`. Corrections: `Version` is used by the tracker binary (the earlier no-consumer claim, in the lib plan, lessons and two log entries, was wrong); the S5 comparison of the final measurement; the production-code statement (S2 had one behavior-preserving refactor); the manual evidence was redone in the template form.
- 2026-11-09 12:10 UTC - Claude Code (Sonnet 5.5) - S6 merged through #2772 (2026-11-09 12:08 UTC, `Closes #2637`) and issue #2637 is `CLOSED` on GitHub. Archived the spec to `docs/issues/closed/` (this clean-up pull request): `status: done`, `spec-path` and the artifact paths updated, the EPIC row set to `DONE`, and the live references to the old path repaired.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Minor][F3] The description's search claim is narrower than the tree: docs/issues/open/2637 hits three review records, not two.

This concerns the description, so it is anchored at the nearest line about the same repair. A search for that string at this head reports docs/pr-reviews/pr-2638-review/PR-REVIEW.md (1 line), pr-2746-review (2) and also docs/pr-reviews/pr-2772-review/PR-REVIEW.md (5 lines, as open/2637-* globs in recorded commands). All three are historical, so keeping them is right, but the Validation sentence and the "Left as they are" bullet name only two, and the description lands in the merge commit. The same description says "the two coverage-table links": those are two rows with two links each, four in all.

doc-type: issue
issue-type: task
status: in-progress
status: done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Nit][F4] The archived plan index still says status: in-progress.

This is outside the diff, anchored at the spec's own status line: test-refactor-plans/README.md is a pure rename with status: in-progress on line 5, while all 19 of its plan rows are DONE and this spec is now done. Step 4 preserves a status only while the lifecycle state has not changed. The archived indexes of 1348-1347-add-tests-udp-core and 2283-1347-increase-udp-server-package-coverage carry status: done.

@da2ce7

da2ce7 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

ACK b29e63b — the 29-file archive move, its repaired references and all relative links recomputed at this head, with no blocking finding standing

@josecelano

Copy link
Copy Markdown
Member

ACK b29e63b

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

What changed in this PR

Archives the closed Issue #2637 spec by moving it from the open area to closed and updating live references accordingly.

Changes:

  • Update doc/spec metadata and semantic links to point at docs/issues/closed/2637-...
  • Mark #2637 as done/DONE and record closure in the #2637 spec + EPIC #1347
  • Repair in-repo references (including one Rust doc comment path) that still pointed to the old open location
File Description
packages/​axum-rest-api-server/​src/​v1/​context/​whitelist/​handlers.rs Updates a doc comment path to the archived (closed) issue spec location.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​wiring-modules-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-routes-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-responses-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-middlewares-auth-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-whitelist-routes-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-whitelist-responses-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-whitelist-handlers-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-torrent-routes-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-torrent-responses-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-torrent-handlers-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-stats-routes-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-stats-responses-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-stats-handlers-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-health-check-handlers-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-auth-key-routes-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-auth-key-responses-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​v1-context-auth-key-handlers-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​testing-support-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​server-tests.md Updates semantic-links references to archived artifacts under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​routes-tests.md Updates semantic-links references to archived specs/plans under closed/.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​test-refactor-plans/​lib-tests.md Updates semantic-links reference to the archived coverage evidence path.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​manual-verification-evidence.md Updates the issue-spec pointer to the archived spec location.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​lessons.md Updates the EPIC guidelines link to match the archived spec’s new location.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​implementation-retrospective.md Updates related-artifacts to the archived spec paths.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​agent-review-reports.md Updates related-artifacts to the archived spec paths.
docs/​issues/​open/​2637-1347-add-tests-axum-rest-api-server/​ISSUE.md Marks issue done, updates spec-path/artifacts/log entries, and records the spec archive.
docs/​issues/​open/​1347-overhaul-packages-testing/​EPIC.md Marks #2637 DONE, updates spec/coverage links to closed/, and logs completion.
docs/​issues/​closed/​2726-rest-api-https-health-check/​ISSUE.md Repairs a related-artifacts reference to point at #2637’s archived spec.
docs/​issues/​closed/​2653-rest-api-auth-ignores-unreadable-authorization-header/​ISSUE.md Repairs a related-artifacts reference to point at #2637’s archived spec.

Review effort: Lite

@josecelano
josecelano merged commit 86c7ed2 into torrust:develop Nov 9, 2026
19 checks passed
josecelano added a commit that referenced this pull request Nov 9, 2026
…e test_ prefix in the test-support ADR

95529ec docs(adrs): clarify rule C placement, src/testing and the test_ prefix in the test-support ADR (josecelano-bot)

Pull request description:

  Related to #2637

  Clarifies ADR `20261021190318` (share workspace test support through `testing` features) with one dated in-place amendment, as the earlier amendments of the same ADR do. Documentation only. This is the follow-up recorded in the `lessons.md` of the #2637 spec; it has no issue of its own.

  ## Summary

  The amendment records three answers the maintainer confirmed on 2026-11-09 to the questions raised in the #2637 review of `axum-rest-api-server`:

  1. **Rule C placement.** A helper used only inside one crate may live at the crate root as a private `#[cfg(test)] mod` with an inner `#![cfg(test)]` in its file (as `axum-rest-api-server`'s `src/test_support.rs` does). It needs no `testing` feature and does not go under `src/testing/`.
  2. **What `src/testing/` holds.** Only test support that other crates use, compiled behind the package's `testing` feature (rules A and D).
  3. **Naming.** A file that contains only test code outside a `#[cfg(test)] mod tests` carries the prefix `test_`. `tracker-core`'s `test_helpers.rs` and `whitelist/test_helpers.rs` already follow it, so nothing moves.

  The decision of the ADR stands; no rule is changed. The confirmation is the maintainer's reply in the #2637 session; his earlier remarks (2026-10-28) are in the #2637 spec's progress log and plans.

  ## Validation

  The pre-commit script (including `linter all`) and the pre-push script passed. The reference to the #2637 lessons is plain text, so the PR does not depend on the archive PR #2781 merging first.

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

ACKs for top commit:
  josecelano:
    ACK 95529ec
  da2ce7:
    ACK 95529ec — the three amendment items recomputed against the tree at this head, with the ADR's links and the merge against develop verified

Tree-SHA512: 12847b521c99629227bfc00933e0261fc40e75641edb86b25007be14f49913df48760875f42ed17f3d399698d5bf5c9da04e8865d45c8780c4c4611711b0fdf4
josecelano added a commit that referenced this pull request Nov 16, 2026
…ssues/closed

1f364b5 chore(issues): archive closed issue #2824 spec to docs/issues/closed (josecelano-bot)

Pull request description:

  Related to #2824 (already closed by #2864) and EPIC #1347.

  Archives the spec for issue #2824 from `docs/issues/open/` to `docs/issues/closed/`, following the `cleanup-completed-issues` skill (precedent: #2781 for #2637).

  - Verified #2824 is `CLOSED` on GitHub (2026-11-15 21:05 UTC) and PR #2864 is merged.
  - Updated frontmatter: `status: done`, `spec-path`, `last-updated-utc`, the artifact paths in `ISSUE.md`, `implementation-retrospective.md`, `manual-verification-evidence.md` and `test-refactor-plans/s1-peer-role-serialization.md`.
  - Ticked AC10 and the "Issue closed" checkpoint, set the S4 slice row to `DONE`, and added the archive entry to the progress log.
  - EPIC #1347: row 11 is `DONE` with its new path, the two coverage tables link to the closed folder, and a log entry records the close.
  - Repaired the live references: the `lessons.md` link to the EPIC's subissue guidelines, the #2850 spec's related artifact, and the `error-locations-si-2-primitives` draft. The PR review audit records (`pr-2834-review`) keep the old path as history.
  - Pre-commit hooks passed, including the local link check.

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

ACKs for top commit:
  josecelano:
    ACK 1f364b5

Tree-SHA512: 075370acbd55e2f39d42245f4641f54cb844f9c7be248545373fa26a240b82c45226053c5b77f48688aff0d15d181477232f9fa1ba5b690991c37378b8a677a4

This branch was previously deployed

1 inactive deployment
coverage — b29e63b1 Deployed Nov 9, 2026 by josecelano-bot via Generate Coverage Report #2964
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants