Skip to content

docs(issues): add the #2471 spec and refresh the SI-22, SI-23 and SI-24 specs - #2483

Merged
josecelano merged 10 commits into
torrust:developfrom
josecelano:2471-fix-http-environment-drop-path-spec
Oct 8, 2026
Merged

josecelano merged 10 commits into
torrust:developfrom
josecelano:2471-fix-http-environment-drop-path-spec

Conversation

@josecelano

Copy link
Copy Markdown
Member

Related to #2471

Spec-only PR. It adds the specification for #2471 and refreshes the SI-22, SI-23 and SI-24 specs with lessons from SI-17 (#2448, #2459) and the recent archive PRs (#2457, #2465). No code changes.

Summary

Files

Only docs/issues/:

  • docs/issues/open/2471-1488-fix-http-environment-drop-path/ (new: ISSUE.md, manual-verification-evidence.md)
  • docs/issues/open/1488-overhaul-tracker-shutdown/ISSUE.md
  • docs/issues/open/2410-1488-si-22-process-queued-events-before-listeners-stop/EPIC.md
  • docs/issues/open/2413-2410-si-22-1-document-event-flows-and-draft-adr/ISSUE.md
  • docs/issues/open/2416-2410-si-22-4-stop-producers-before-listeners/ISSUE.md
  • docs/issues/open/2449-1488-si-23-migrate-rest-api-test-environment/ISSUE.md
  • docs/issues/open/2450-1488-si-24-migrate-health-check-api-test-environment/ISSUE.md
  • docs/issues/drafts/1488-si-18-deprecate-legacy-shutdown-api/ISSUE.md and docs/issues/drafts/1488-si-19-remove-legacy-shutdown-api/ISSUE.md (roadmap position only)

Validation

Copilot AI balanced review requested due to automatic review settings October 8, 2026 07:08
@josecelano josecelano self-assigned this Oct 8, 2026
@josecelano
josecelano requested a review from da2ce7 October 8, 2026 07:08

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.

🟡 Changes recommended

The new bug spec omits a required design-review checkpoint, and several lifecycle and timestamp statements need correction.

6 open findings
What changed in this PR

Adds the #2471 HTTP test-environment regression specification and updates the shutdown roadmap and related SI specifications.

Changes:

  • Documents #2471 with reproduction evidence and a DropGuard fix plan.
  • Updates SI-22 through SI-24 lifecycle requirements.
  • Renumbers the #1488 roadmap.
File Description
docs/​issues/​open/​2471-1488-fix-http-environment-drop-path/​ISSUE.md Adds the #2471 bug specification.
docs/​issues/​open/​2471-1488-fix-http-environment-drop-path/​manual-verification-evidence.md Records the regression reproduction.
docs/​issues/​open/​1488-overhaul-tracker-shutdown/​ISSUE.md Inserts #2471 into the roadmap.
docs/​issues/​open/​2410-1488-si-22-process-queued-events-before-listeners-stop/​EPIC.md Refines SI-22 token and stop-order design.
docs/​issues/​open/​2413-2410-si-22-1-document-event-flows-and-draft-adr/​ISSUE.md Expands inventory and link-migration tasks.
docs/​issues/​open/​2416-2410-si-22-4-stop-producers-before-listeners/​ISSUE.md Updates test-environment requirements.
docs/​issues/​open/​2449-1488-si-23-migrate-rest-api-test-environment/​ISSUE.md Adds REST API drop-path requirements.
docs/​issues/​open/​2450-1488-si-24-migrate-health-check-api-test-environment/​ISSUE.md Adds health-check drop-path requirements.
docs/​issues/​drafts/​1488-si-18-deprecate-legacy-shutdown-api/​ISSUE.md Renumbers the roadmap position.
docs/​issues/​drafts/​1488-si-19-remove-legacy-shutdown-api/​ISSUE.md Renumbers the roadmap position.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Oct 8, 2026
Records Copilot review findings F1 to F6, all fixed and replied to.

Co-authored-by: Copilot <[email protected]>
josecelano and others added 10 commits October 8, 2026 09:41
Regression from SI-16: dropping the HTTP test environment without stop()
leaves its server running. Includes the reproduction evidence.

Co-authored-by: Copilot <[email protected]>
Insert torrust#2471 as sequence 14, before SI-22, which changes the same HTTP
test environment. Renumber the later rows and the EPIC position lines in
the SI-22, SI-23, SI-24, SI-18 and SI-19 specs.

Co-authored-by: Copilot <[email protected]>
- torrust#2410/torrust#2416 T9: keep SI-17's join-all failure reporting, cancel both
  tokens on drop, add the late-event test for UDP too, and wait for torrust#2471.
- torrust#2413/torrust#2410 T1: record the test environments' listener chains.
- torrust#2413/torrust#2410 T2a: find links with rg, since lychee skips closed specs;
  historical records keep the old path (maintainer decision).
- torrust#2413 T2b: record the DropGuard rule in the glossary.
- Update stale state: spec-only PR torrust#2421 merged, SI-16 and SI-17 done,
  torrust#2413's implementation branch and parent line.

Co-authored-by: Copilot <[email protected]>
Migrating to a cancellation token loses the halt sender's stop-on-drop,
as SI-16 did (torrust#2471). Both specs now require a DropGuard, a T1 drop
test, and AC7.

Co-authored-by: Copilot <[email protected]>
T9 gives each test environment independent server and listener tokens,
each with its own DropGuard, mirroring JobManager's per-component tokens.
The parent-child token option is rejected.

Co-authored-by: Copilot <[email protected]>
…thesis

The fix-bug evidence contract requires the original symptom and the
hypothesis being tested; V1 gave only the goal and initial state.

Co-authored-by: Copilot <[email protected]>
…point

The fix changes asynchronous cleanup of a reusable test fixture, so the
issue workflow requires a design review after the first passing slice and
before maintainer review and commit.

Co-authored-by: Copilot <[email protected]>
…only

Dropping an environment drops its task handles, so a DropGuard can request
shutdown but cannot join the tasks. Replace the "no new detached task"
claim with that limit, as the UDP environment documents.

Co-authored-by: Copilot <[email protected]>
Their roadmap positions changed when torrust#2471 was inserted, but their
last-updated-utc still predated that edit.

Co-authored-by: Copilot <[email protected]>
Records Copilot review findings F1 to F6, all fixed and replied to.

Co-authored-by: Copilot <[email protected]>
@josecelano
josecelano force-pushed the 2471-fix-http-environment-drop-path-spec branch from ad8727e to 0f5270e Compare October 8, 2026 08:44
@josecelano

Copy link
Copy Markdown
Member Author

ACK 0f5270e

@josecelano
josecelano merged commit 0a59d44 into torrust:develop Oct 8, 2026
1 check passed
@josecelano
josecelano deleted the 2471-fix-http-environment-drop-path-spec branch October 8, 2026 09:10
josecelano added a commit that referenced this pull request Oct 16, 2026
…ssues/closed

86e452d chore(issues): archive closed issue #2471 spec to docs/issues/closed (Jose Celano)

Pull request description:

  Related to #2471

  Archives the spec for issue #2471, closed on GitHub when PR #2544 merged on 2026-10-16, from `docs/issues/open/` to `docs/issues/closed/`.

  - Verified issue #2471 is `CLOSED` on GitHub.
  - Updated the spec frontmatter (`status: done`, `spec-path`, `related-pr`, `last-updated-utc`) and the evidence file's `issue-spec` path.
  - Ticked the workflow checkpoints and the acceptance criteria, citing da2ce7's approving review 5539758788 of PR #2544 as the reviewer validation, and added the archive entry to the progress log. No retrospective is needed: the one material discovery is recorded in the spec, in V1's correction, in V4, and in the PR #2544 audit.
  - Fixed the relative links that the move broke inside the archived spec, and updated the live links in EPIC #1488 (roadmap row 14 is now Done), EPIC #2482 and the PR #2544 audit frontmatter. The PR #2483 audit is a historical record and is left as it was.
  - The pre-commit hook and the pre-push checks passed.

ACKs for top commit:
  josecelano:
    ACK 86e452d

Tree-SHA512: 67b909c4219285b47998efb9f91ce63cbbf27c80b7ac745a5eefbf34106e70de2f05d0a77f5d0dd36b25900ba3d26fdf251ae4bfcb73eb9bd2536c75db560fcf
josecelano added a commit that referenced this pull request Oct 26, 2026
…ssues/closed

9986378 docs(issues): [#2450] tick the acceptance criteria as the maintainer instructed (Jose Celano)
c46388a chore(issues): archive closed issue #2450 spec to docs/issues/closed (Jose Celano)

Pull request description:

  Related to #2450

  Archives the spec of #2450 (SI-24, closed on GitHub when PR #2652 merged) from `docs/issues/open/` to `docs/issues/closed/`.

  - Moves the spec folder and sets `status: done`, `spec-path` and the evidence file's `issue-spec`.
  - Marks tasks T4 and T5 DONE, and ticks the acceptance criteria AC1 to AC8, the definition-of-done items and the three review checkpoints, because the maintainer instructed it; each acceptance row has its evidence pointer.
  - Marks roadmap row 17 of EPIC #1488 Done and updates its two status sentences that said the health-check API test environment still used the legacy stop path.
  - Repairs every live link to the old path: EPIC #1488, EPIC #2482, the 2482 gate draft and the closed SI-17 spec. The SI-18, SI-19 and SI-21 drafts had no link to it. The old path stays in the spec's own "drafted" checkpoint and in the review audits of #2451 and #2483, which are historical records.

  Commits, oldest first:

  - `chore(issues): archive closed issue #2450 spec to docs/issues/closed`
  - `docs(issues): [#2450] tick the acceptance criteria as the maintainer instructed`

  Verification: `linter all` exits 0 and the local link check passes. This pull request changes only Markdown, so CI should run only Docs Lint.

ACKs for top commit:
  josecelano:
    ACK 9986378

Tree-SHA512: 11208959be782d1c52523c30a181fc9f2b9c11827408f4d70294df33b86c617f2768f38e85fc52832b4d86c776579971b7218a677e3002b515e5886621b8c83b
@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed only documentation (one new issue specification and refreshed shutdown-epic specifications), with no executable code, build or CI change.

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.

3 participants