Skip to content

docs(issues): [#2392] add the #2394 audit's new issues as EPIC orders 6 to 8 - #2910

Merged
josecelano merged 10 commits into
torrust:developfrom
josecelano-bot:2392-audit-follow-up-issues-spec
Nov 17, 2026
Merged

josecelano merged 10 commits into
torrust:developfrom
josecelano-bot:2392-audit-follow-up-issues-spec

Conversation

@josecelano-bot

@josecelano-bot josecelano-bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Spec-only follow-up of the #2394 shared-resource audit (PR #2891, close-out PR #2898). No code changes.

The audit drafted three new problems (D1, D2, D3). This PR adds their specs under their GitHub issues and syncs EPIC #2392:

The branch history was rewritten once, with the maintainer's approval. In the first commit's body, "closed" no longer sits next to "#2394", so GitHub won't read it as a closing keyword (review finding F4). The tree is unchanged. The audit maps the commit ids that round 1 cited to commit subjects.

Validation

  • linter all passes, and the pre-commit hook passes on each of the branch's commits.

Related to #2392
Related to #2396
Related to #2906
Related to #2907
Related to #2908

🤖 Generated with Claude Code

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.

🟢 Approval recommended

No active review issues block the documentation-only updates to test-isolation tracking and follow-up scope.

No open issues 🎉

What changed in this PR

This documentation-only PR turns the shared-resource audit’s three new problems into planned issues under the test-isolation EPIC. It updates tracking and scope without changing runtime or test code.

Changes:

  • Promotes drafts to issues #2906–#2908 and updates their metadata, evidence links, and audit references.
  • Adds EPIC orders 6–8, marks Phase 2 and AC4 complete, and keeps AC2 pending on orders 6 and 7.
  • Extends #2396 to cover the qBittorrent runner and container test script’s local default image tags.
File Description
docs/​issues/​open/​2908-2392-compose-cleanup-after-failed-start/​ISSUE.md Promotes the failed-start cleanup draft to planned issue #2908.
docs/​issues/​open/​2907-2392-remove-leaked-test-temporary-files/​manual-verification-evidence.md Points evidence metadata to the moved #2907 spec.
docs/​issues/​open/​2907-2392-remove-leaked-test-temporary-files/​ISSUE.md Promotes the temporary-file cleanup draft to planned issue #2907.
docs/​issues/​open/​2906-2392-fixed-port-metrics-test-concurrent-runs/​manual-verification-evidence.md Points evidence metadata to the moved #2906 spec.
docs/​issues/​open/​2906-2392-fixed-port-metrics-test-concurrent-runs/​ISSUE.md Promotes the concurrent metrics-test draft to planned issue #2906.
docs/​issues/​open/​2396-2392-e2e-unique-tracker-image-tag/​ISSUE.md Adds two local image tags to scope, tasks, and acceptance criteria.
docs/​issues/​open/​2392-test-isolation/​EPIC.md Adds orders 6–8 and updates progress, dependencies, and acceptance evidence.
docs/​issues/​closed/​2394-2392-audit-shared-test-resources/​ISSUE.md Updates references and records creation of the three follow-up issues.
docs/​issues/​closed/​2394-2392-audit-shared-test-resources/​inventory.md Maps drafts D1–D3 to their numbered issues and new spec paths.

Review effort: Balanced

@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 1ee2afe4d512d52918e3fa39c011643313e5d7e3. Recomputed from the bytes at this head, against the merge base 5833cdae9; git merge-tree against develop 5833cdae9 writes a tree identical to the head's tree, with no conflicts.

Process: a spec-only change governed by create-issue and open-pull-request. The three moves follow create-issue Step 4: folders renamed {number}-2392-…, github-issue, spec-path, headings and evidence issue-spec updated, status planned, which the validator accepts in open/.

The change against its claim: the description's claims hold except where the findings say. Recomputed: the inventory has 38 findings = 29 + 1 + 5 + 3, and the five covered rows map to orders 1 (P1), 3 (P9) and 4 (C1 to C3), as AC4 now says; fixed_ports.rs binds 0.0.0.0:17091-17094; the evidence shows one failure in each of 20 pairs; the two added default tags, their build switches and the CI --skip-build / BUILD_IMAGE=false uses match runner.rs:22 and the script's lines 18-19.

Consistency: every spec-path, issue-spec and related artifact resolves; no relative link breaks. The old draft paths survive only in "drafted in" checkpoints and the PR 2891 audit's historical lines. No other index needs a row; no added word is new to the tree.

Hygiene: both commits are Conventional docs(issues): [#2392] …, author = committer, and each body matches its diff (ba0df8f14 moves and closed records, 1ee2afe4d EPIC and order 4). Each carries one attribution footer line (no rule in the tree on it), and the description carries one attribution footer line too. git diff --check is clean and the commit-id check prints nothing. Title and description match no closing keyword; the folded commit scan matches once (F4).

Findings

  • F1 Major: the order 6 spec reads as approved while its approach is still undecided.
  • F2 Minor: order 8's "like order 3" names the wrong sibling.
  • F3 Minor: order 2's row still announces a close-out that has merged.
  • F4 Minor: the first commit body matches the closing-keyword scan.
  • F5 Nit: inventory row C3 is now stale.
  • F6 Nit: three changed files keep their old last-updated-utc.
  • F7 Suggestion: orders 6 to 8 have no phase or Delivery Strategy line.

Checked, no finding: branch equals the PR branch, related-pr: null as in the template, the order 4 extension (background, scope, T5, AC3), the EPIC semantic links, the title's form.

Checks

On the loop's compute node at this head, against the merge base 5833cdae9 (receipt server-gates-kranich-1078): the repository's pre-commit gate and lint roster exit 0 (351 s wall). The PR changes documentation only, so no package tests apply. F1 checked against the bytes at posting: in docs/issues/open/2906-2392-fixed-port-metrics-test-concurrent-runs/ISSUE.md, line 163 ticks "Spec reviewed and approved by user/maintainer", while line 76 still reads "Candidate approach, to be confirmed in spec review" and line 93 "the maintainer must approve the extension in spec review". The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 5833cdae9.

josecelano-bot and others added 5 commits November 17, 2026 15:26
torrust#2907 and torrust#2908

Move the three new-problem drafts of the torrust#2394 audit (D1, D2, D3) to
docs/issues/open/ with their GitHub issue numbers, and point the torrust#2394
records in docs/issues/closed/ at the new specs.

Related to torrust#2906
Related to torrust#2907
Related to torrust#2908

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…orrust#2396's scope

Add torrust#2906, torrust#2907 and torrust#2908 to the EPIC, mark Phase 2 done and AC4 DONE,
point AC2 at orders 6 and 7, and extend torrust#2396 with the local default
image tags found by the torrust#2394 audit (finding C3, decision Q2).

Related to torrust#2392
Related to torrust#2396

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st#2908 test boundary open until T2

The draft approval did not decide the loopback-helper extension for torrust#2906,
which the EPIC limits to the 9 torrust#2393 tests. Say so in its Scope, Architectural
Decisions and T2, and schedule torrust#2908's regression-boundary choice in T2.

Related to torrust#2906
Related to torrust#2908

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… plan

Orders 6 and 7 gate AC2; order 8 joins Phase 3's exit criteria and its note
points at order 4, which owns the qBittorrent runner's image tag. Order 2's
row records that the torrust#2394 close-out PR has merged.

Related to torrust#2392

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dence timestamps

Inventory row C3 now cites torrust#2396's extended scope, the issue-closed checkpoint
records that the close-out PR has merged, and the moved evidence files and
the inventory get a new last-updated-utc.

Related to torrust#2392
Related to torrust#2906
Related to torrust#2907

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano-bot
josecelano-bot force-pushed the 2392-audit-follow-up-issues-spec branch from 1ee2afe to ae1f1e2 Compare November 17, 2026 15:29
Round 1: da2ce7's seven findings, all fixed, replied to and resolved.

Related to torrust#2392

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano

Copy link
Copy Markdown
Member

ACK 5946e8a

@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 17, 2026 15:33
da2ce7
da2ce7 previously approved these changes Nov 17, 2026

@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 5946e8a38d1f6b3c98ec6e65f83779c377c1897b. Recomputed from the bytes at this head, against the merge base 5833cdae9; git merge-tree against develop 5833cdae9 writes a tree identical to the head's tree, with no conflicts.

Process: create-issue and open-pull-request as in round 1, plus process-pr-review for the replies and the record. The history was rewritten: the range-diff shows 2c6eafc7f differs from its predecessor only in its reworded body and 13c4d48ff carries the identical patch; b08b19260, d23ddd9c2, ae1f1e2d6 and 5946e8a38 are new.

The change against its claim: each new commit touches exactly the files its body names. Round 1 findings, all fixed: F1 (the order 6 spec's Scope, Architectural Decisions and T2 now keep the loopback extension open until T2, matching EPIC row 6; the order 8 spec's step 2 points at T2), F2 ("like order 4"), F3 (row and checkpoint), F4 (the folded scan over every body is empty), F5 (row C3), F6 (all stamps at or before their commits), F7 (Delivery Strategy and Phase 3 exit).

Audit record: one row per round-1 thread (seven); the automated review raised nothing and has no thread. Each row's source and reply ids match the captured comments, the late start is logged, and the validator's logic run offline on the captured comments reports 7 rows, 2 log entries, 0 failures. Every thread has a reply, a row and a resolution before the audit commit.

Hygiene: six Conventional commits, author = committer, each carrying one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too. git diff --check is clean; title, description and folded commit messages match no closing keyword. The commit-id check prints one line (F8).

Findings

  • F8 Minor: the record names the branch head by id, and does not map the ids round 1 cited.
  • F9 Minor: the description still says "both commits" and does not say the history was rewritten.

Neither blocks: both are repairable before the merge, and no content statement is wrong. Approved at this head.

Checked, no finding: the record's verbatim sections match the template; its 15:31 stamp rounds the 15:30:41 commit; no added word is new to the tree.

Checks

On the loop's compute node at this head, against the merge base 5833cdae9 (receipt server-gates-kranich-1091): the repository's pre-commit gate and lint roster exit 0 (52 s wall), and the audit validator passes the record (7 rows, 2 log entries, 0 failures). The PR changes documentation only, so no package tests apply. The branch history was rewritten since round 1; the round compared the new commits with the old by range-diff. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 5833cdae9.

@da2ce7

da2ce7 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

ACK 5946e8a — F1 to F7 verified fixed in the bytes, every round-1 thread replied to, recorded and resolved, and the audit validator passing offline at this head

…st#2910 audit

The round 1 log entry named the branch head by id; it now names the commit
subject. The Findings section maps the two ids round 1 cited before the
history rewrite to their commit subjects.

Related to torrust#2392

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano-bot

Copy link
Copy Markdown
Contributor Author

Review 5941589792, finding F9 (Minor): FIXED by editing the PR description at 15:44:37Z.

  • The Validation line now reads "the pre-commit hook passes on each of the branch's commits", so it no longer gives a commit count.
  • A new paragraph says the history was rewritten once with the maintainer's approval (F4), that the tree is unchanged, and that the review audit maps the commit ids round 1 cited to commit subjects.

…review audit

da2ce7's F8 and F9, both fixed, replied to and resolved.

Related to torrust#2392

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

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

Copilot review overview

3 open issues

Review effort: Lite

josecelano-bot and others added 2 commits November 17, 2026 15:52
…oach in the conditional

The Scope said the approach is undecided, then described it as if settled.
It now says what the loopback approach would do if chosen.

Related to torrust#2906

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rust#2910 review audit

Copilot's F10 to F12: F11 fixed; F10 and F12 need no change, replied to
with the reasons. All three threads resolved.

Related to torrust#2392

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@josecelano

Copy link
Copy Markdown
Member

ACK 7b102b7

@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 17, 2026 15:59

@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 f353d29c04a2f5f00d55cc861cc0c255a2efa6c8. Recomputed from the bytes at this head, against the merge base 5833cdae9; git merge-tree against develop 5833cdae9 writes a tree identical to the head's tree, with no conflicts.

Process: create-issue for the spec edit, process-pr-review for the record and replies. Since the approved head, 1ed5b167a, 944fb9762 and f353d29c0 touch only the review audit record, and 7b102b7b5 touches only the order 6 spec. Each does what its body says.

The change against its claim: 7b102b7b5 writes the Scope's candidate approach in the conditional and keeps the F1 fix. The approach stays undecided until T2, Architectural Decisions says the draft approval did not approve the extension, and T2 starts after the maintainer decides. F8 and F9 stay fixed.

Record against the capture: 12 threads, all opened before the record's last commit (15:56:47Z), each with a reply, a row and a resolution. The automated review's three findings are rows F10 to F12: F11 is FIXED by 7b102b7b5, and F10 and F12 are NO_ACTION/SUPERSEDED with the exact "Superseded by" replies process-pr-review step 7 asks for. Their reasons hold: F10's detail cites create-issue Optional Step 6, and F12's cites template line 136. The validator's logic, run offline on the captured comments, reports 12 rows, 7 log entries, 0 failures.

Hygiene: the four commits since the approved head are Conventional, author = committer, each carrying one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too. git diff --check is clean, the commit-id check prints only the two mapped ids, and title, description and folded commit messages match no closing keyword.

Findings: none.

Checked, no finding: log stamps at or before their commits; the 15:56 entry records the corrected step citation; no added word is new to the tree.

Checks

On the loop's compute node at this head, against the merge base 5833cdae9 (receipt server-gates-kranich-1095): the repository's pre-commit gate and lint roster exit 0 (95 s wall), and the audit validator passes the record (12 rows, 7 log entries, 0 failures). The PR changes documentation only, so no package tests apply. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: in_progress/pending". At posting, develop is 5833cdae9.

@da2ce7

da2ce7 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

ACK f353d29 — F1 to F9 verified fixed, all twelve threads replied to, recorded and resolved, and the audit validator passing offline at this head

@josecelano

Copy link
Copy Markdown
Member

ACK f353d29

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.

🟢 Approval recommended

No active review issues remain for this documentation-only update to test-isolation planning and tracking.

No open issues 🎉

3 resolved since last review

Review effort: Balanced

@josecelano
josecelano merged commit 61e3fed into torrust:develop Nov 17, 2026
1 check passed
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