From 9796436047f042efb5d2800d89ad4ec973706a81 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 10:13:58 +0000 Subject: [PATCH 01/11] docs(issues): add issue specification for #2855 Co-Authored-By: Claude Sonnet 5.5 --- .../ISSUE.md | 179 ++++++++++++++++++ .../manual-verification-evidence.md | 69 +++++++ project-words.txt | 2 + 3 files changed, 250 insertions(+) create mode 100644 docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md create mode 100644 docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md new file mode 100644 index 0000000000..07537859da --- /dev/null +++ b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md @@ -0,0 +1,179 @@ +--- +schema-version: 1 +doc-type: issue +issue-type: bug +status: planned +priority: p1 +epic: null +github-issue: 2855 +spec-path: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +branch: "2855-container-regression-timeout-sigint-spec" +related-pr: null +last-updated-utc: "2026-11-13 10:10" +semantic-links: + skill-links: + - create-issue + related-artifacts: + - .github/skills/dev/debugging/fix-bug/SKILL.md + - .github/skills/dev/planning/create-issue/SKILL.md + - contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh +--- + + + +# Issue #2855 - Container regression script fails when `timeout` is uutils + +## Goal + +Make `test-mounted-no-persistence-configuration.sh` stop the tracker container reliably with +SIGINT regardless of which `timeout` implementation (GNU or uutils) the host provides, so the +"Test (Docker) (release)" job of the Container workflow is green again on `develop`. + +## Background + +The Container workflow step "Run Persistence Transition Regression" fails with exit code 1 on +`develop` and on unrelated PR branches (develop runs 43184363486, 43225433196, 43299605132; last +success 43059027926 on 2026-11-11 16:30 UTC). The diff between the last success and the first +failure touches only `docs/`, so no repository change caused it. + +What happens, step by step: + +1. `run_tracker` runs `timeout --signal=INT --kill-after=3s 10s docker run --rm ... `. +2. After 10 s `timeout` must deliver SIGINT to the `docker` client, which forwards it to the + tracker (PID 1 in the container). The tracker then logs `Torrust tracker shutting down (SIGINT)` + and exits 0; the script accepts exit status 0 or 124. +3. With the **uutils** `timeout` (the default `timeout` on Ubuntu 26.04, `rust-coreutils`), run + without `--foreground`, the docker client never forwards the signal: the tracker keeps running, + `--kill-after=3s` SIGKILLs the client after 3 s, the status is 137, and the script's final + `test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124` fails, ending the step with exit 1. + The tracker log shows no shutdown line, matching the failing CI logs. + +The tracker is not at fault: `docker kill --signal=INT` and `--signal=TERM` both stop the image +cleanly with exit 0, and `kill -INT ` does too. GNU `timeout` (with or without +`--foreground`) and uutils `timeout --foreground` also work. + +Impact: the Container workflow is red on every `develop` push and PR run on the self-hosted +runner, hiding real regressions and blocking the E2E steps that follow it in the job. + +Why it regressed with no repository change: the job runs on the self-hosted `torrust-hetzner` +runner (`torrust-runner-01`, Ubuntu 26.04.1), whose `timeout` is the uutils one. The runner's +apt history (`/var/log/apt/history.log`) shows `rust-coreutils` upgraded from 0.8.0 to +0.10.0-1ubuntu2~26.04.1 on 2026-11-12 06:36 UTC, between the last green run (2026-11-11 16:30) +and the first red run (2026-11-12 08:36). The failure was reproduced locally with the same +version, 0.10.0. That 0.8.0 passed the script is inferred from the green runs, not tested. + +## Scope + +### In Scope + +- Make the `timeout` invocation in `run_tracker` deliver SIGINT to the docker client on both + implementations (`--foreground`). +- Print the unexpected exit status when `run_tracker` fails, so the next failure is diagnosable. + +### Out of Scope + +- Changing tracker shutdown code (verified correct). +- Changing the runner image or pinning its coreutils. + +## Architectural Decisions + +- Related ADRs: `docs/adrs/20260926142648_adopt_self_hosted_hetzner_runner_for_container_tests.md` +- ADRs to create: None known + +## Design and Ownership Review + +Not applicable. + +## Bug-Fix Process + +Follows `.github/skills/dev/debugging/fix-bug/SKILL.md`. Analysis and reproduction (outcome: +**Reproduced**) are recorded in `manual-verification-evidence.md`. + +## Regression Test Strategy + +The maintained regression test is the script itself, which already fails (exit 1) on the broken +`timeout` invocation. A unit test is not practical because the defect is a host-tool and +process-boundary interaction. Red is proven by the local run before the fix; green by the same +run after it, plus the Container workflow on the fix PR. + +## Implementation Plan + +| ID | Status | Task | Notes / Expected Output | +| --- | ------ | ------------------------------------------------------------------------- | -------------------------------------------- | +| T1 | DONE | Reproduce and record evidence | `manual-verification-evidence.md` V1, V2 | +| T2 | TODO | Record red run of the script before the fix | Evidence V1 (already captured) | +| T3 | TODO | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only | +| T4 | TODO | Green run locally and Container workflow green on the PR | Evidence V3 and PR checks | + +## Commit Points + +| Task | Coherent change set | Commit policy | +| ---- | -------------------------------------------------------- | ---------------------------------------------------- | +| T3 | `fix(container): [#2855] stop the tracker with timeout --foreground` | Commit after focused validation and required review. | + +## Progress Tracking + +### Workflow Checkpoints + +- [x] Folder-style spec drafted in `docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md` +- [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 +- [ ] Implementation completed +- [ ] Automatic verification completed +- [ ] Manual verification scenarios executed and recorded +- [ ] Acceptance criteria reviewed after implementation +- [ ] Implementation completion review recorded +- [ ] Issue closed and spec moved to `docs/issues/closed/` + +### Progress Log + +- 2026-11-13 10:10 UTC - Claude Code (Claude Sonnet 5.5) - Drafted spec, reproduced the failure locally - `manual-verification-evidence.md` +- 2026-11-13 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 + +## Acceptance Criteria + +- [ ] AC1: `test-mounted-no-persistence-configuration.sh` passes with uutils `timeout` 0.10.0. +- [ ] AC2: It still passes with GNU `timeout`. +- [ ] AC3: The Container workflow "Test (Docker) (release)" job is green on the fix PR. +- [ ] `linter all` exits with code `0` +- [ ] Acceptance criteria are re-reviewed after implementation and reflect actual behavior + +## Verification Plan + +### Automatic Checks + +- `linter all` +- The regression script with `timeout` and `gnutimeout` + +### Manual Verification Scenarios + +| ID | Scenario | Human-oriented command/steps | Expected Result | Status | Evidence | +| --- | ---------------------------------- | ------------------------------------------------------------------------- | ---------------------- | ------ | -------------------------------------------- | +| M1 | Reproduce the failure | Run the script against a locally built release image | Status 137, exit 1 | DONE | `manual-verification-evidence.md` section V1 | +| M2 | Isolate the cause | Run the container under each `timeout` variant | Only uutils w/o flag fails | DONE | `manual-verification-evidence.md` section V2 | +| M4 | Runner package history | `ssh torrust-runner-01` apt history | rust-coreutils upgrade 2026-11-12 | DONE | section V4 | +| M3 | Recheck after the fix | Rerun the script with both `timeout` implementations | Exit 0 | TODO | `manual-verification-evidence.md` section V3 | + +### Acceptance Verification + +| AC ID | Status | Evidence | +| ----- | ------ | -------- | +| AC1 | TODO | | +| AC2 | TODO | | +| AC3 | TODO | | + +## Risks and Trade-offs + +- `--foreground` only signals the direct child; this is what is wanted (the docker client). No + other process in the script depends on group signalling. +- The 0.8.0 behavior was not tested directly; the fix is correct for both implementations regardless. + +## Implementation Completion Review + +- Retrospective: `Not yet assessed` + +## References + +- Failing runs: 43184363486, 43225433196, 43299605132; last success 43059027926 +- Related ADR: `docs/adrs/20260926142648_adopt_self_hosted_hetzner_runner_for_container_tests.md` diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md new file mode 100644 index 0000000000..01ad2ae9b2 --- /dev/null +++ b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -0,0 +1,69 @@ +--- +doc-type: manual-verification-evidence +issue-spec: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +last-updated-utc: "2026-11-13 10:10" +--- + +# Manual Verification Evidence + +## Environment and Prerequisites + +- Date (UTC): 2026-11-13 +- Artifact under test: release image built from `develop` at the merge of #2841 + (`docker build --target release -f Containerfile .`) +- OS: Ubuntu 26.04, Docker 28.3.3, `timeout` = uutils coreutils 0.10.0 + (`rust-coreutils 0.10.0-1ubuntu2~26.04.1`); GNU `timeout` as `/usr/bin/gnutimeout` + (`gnu-coreutils 9.7`) + +## Verification Processes + +### V1 - Reproduce the failing step + +- Status: `DONE` (outcome: **Reproduced**) + +Ran the script with `BUILD_IMAGE=false`, printing the exit status of each `run_tracker`: + +```text ++ echo RUN_TRACKER_STATUS=137 +RUN_TRACKER_STATUS=137 ++ test 137 -eq 0 -o 137 -eq 124 +(script exits 1) +``` + +The container log ends at `Tracker shutdown signal handlers installed.` plus health-check +requests, with no `shutting down (SIGINT)` line, as in the failing CI logs (run 43299605132). +CI's script exits 1 because of the final `test`, not because the tracker returned 1. + +### V2 - Isolate the cause + +- Status: `DONE` + +| Command | Result | +| -------------------------------------------------------------- | --------------------------------------------- | +| `docker kill --signal=INT ` | exit 0, `successfully shutdown` | +| `docker kill --signal=TERM ` | exit 0, `successfully shutdown` | +| `kill -INT ` (`docker run --rm` in the bg) | `shutting down (SIGINT)`, `successfully shutdown` | +| `/usr/bin/gnutimeout --signal=INT --kill-after=3s 6s docker run ...` | status 124, shutdown logged | +| `/usr/bin/gnutimeout --foreground --signal=INT ...` | status 124, shutdown logged | +| `timeout --signal=INT --kill-after=3s 6s docker run ...` (uutils) | **status 137, no shutdown line** | +| `timeout --foreground --signal=INT ...` (uutils) | status 124, shutdown logged | + +Conclusion: the tracker handles SIGINT; uutils `timeout` without `--foreground` does not get the +signal to the docker client. + +### V3 - Recheck after the fix + +- Status: `TODO` + +### V4 - Runner package history + +- Status: `DONE` + +`ssh torrust-runner-01 'dpkg -l | grep coreutils; grep -h -B2 -A3 rust-coreutils /var/log/apt/history.log*'`: + +```text +ii rust-coreutils 0.10.0-1ubuntu2~26.04.1 +/usr/bin/timeout -> ../lib/cargo/bin/coreutils/timeout (timeout (uutils coreutils) 0.10.0) +Start-Date: 2026-11-12 06:36:55 +Upgrade: rust-coreutils:amd64 (0.8.0-0ubuntu3, 0.10.0-1ubuntu2~26.04.1) +``` diff --git a/project-words.txt b/project-words.txt index a448719d6a..1928b83da5 100644 --- a/project-words.txt +++ b/project-words.txt @@ -283,6 +283,7 @@ ghac ghdata ghtoken githubmerge +gnutimeout goaway gpgsign gzprintf @@ -613,6 +614,7 @@ urlencode uroot usize utoipa +uutils valgrind valueonly valuevec From f2f0e4e7359be7770252de3d12083f40c24b35ff Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 11:18:39 +0000 Subject: [PATCH 02/11] docs(issues): [#2855] address PR #2856 review findings F1-F7 - V1: record the exact edit and invocation used to reproduce the red run (F2). - V2: reformat as a numbered table with the actual observed output per row; state the mechanism as a hypothesis instead of an unverified claim (F3). - V3: record the recheck after the fix, with both timeout implementations (previously TODO). - V4: split the runner check into the three commands actually run, each with its own real output, instead of one block no single command could print (F1). - V5: record the leftover containers the bug leaves on the runner, and why the daily prune does not remove them (F4). - ISSUE.md: align the Background, Scope, Implementation Plan, checkpoints, M-table and AC table with the above; restore the three workflow checkpoints the draft had dropped; add HH:MM to the second progress-log entry (F6, F7). Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 63 +++++--- .../manual-verification-evidence.md | 148 +++++++++++++++--- project-words.txt | 1 + 3 files changed, 166 insertions(+), 46 deletions(-) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md index 07537859da..4f470c15dc 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md @@ -8,8 +8,8 @@ epic: null github-issue: 2855 spec-path: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" -related-pr: null -last-updated-utc: "2026-11-13 10:10" +related-pr: 2857 +last-updated-utc: "2026-11-13 11:20" semantic-links: skill-links: - create-issue @@ -43,17 +43,25 @@ What happens, step by step: tracker (PID 1 in the container). The tracker then logs `Torrust tracker shutting down (SIGINT)` and exits 0; the script accepts exit status 0 or 124. 3. With the **uutils** `timeout` (the default `timeout` on Ubuntu 26.04, `rust-coreutils`), run - without `--foreground`, the docker client never forwards the signal: the tracker keeps running, - `--kill-after=3s` SIGKILLs the client after 3 s, the status is 137, and the script's final - `test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124` fails, ending the step with exit 1. - The tracker log shows no shutdown line, matching the failing CI logs. + without `--foreground`, the tracker never receives SIGINT: it keeps running, `--kill-after=3s` + SIGKILLs the `docker run` client after 3 s instead, the status is 137, and the script's + `test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124` (line 39) fails, ending the step with + exit 1. The tracker log shows no shutdown line, matching the failing CI logs. Whether the + signal reaches the client and is not forwarded, or never reaches the client at all, is a + hypothesis (`manual-verification-evidence.md` V2); the fix below is correct under either + reading. The tracker is not at fault: `docker kill --signal=INT` and `--signal=TERM` both stop the image cleanly with exit 0, and `kill -INT ` does too. GNU `timeout` (with or without `--foreground`) and uutils `timeout --foreground` also work. Impact: the Container workflow is red on every `develop` push and PR run on the self-hosted -runner, hiding real regressions and blocking the E2E steps that follow it in the job. +runner, hiding real regressions and blocking the E2E steps that follow it in the job. Each failed +run also leaves its tracker container running: `docker run --rm` only removes the container on +exit, and `--kill-after` kills the attached client, not the container, so it never exits. The +runner's daily prune (`contrib/dev-tools/self-hosted-runner/docker-ci-prune.sh`) only removes +*stopped* containers, so these accumulate; 26 were running on the runner at the time of writing, +the oldest since before this regression's first red run (`manual-verification-evidence.md` V5). Why it regressed with no repository change: the job runs on the self-hosted `torrust-hetzner` runner (`torrust-runner-01`, Ubuntu 26.04.1), whose `timeout` is the uutils one. The runner's @@ -74,6 +82,8 @@ version, 0.10.0. That 0.8.0 passed the script is inferred from the green runs, n - Changing tracker shutdown code (verified correct). - Changing the runner image or pinning its coreutils. +- Removing the leftover containers already accumulated on the runner (`manual-verification-evidence.md` + V5); that changes shared-runner state and is left to the maintainer or a follow-up. ## Architectural Decisions @@ -101,15 +111,15 @@ run after it, plus the Container workflow on the fix PR. | ID | Status | Task | Notes / Expected Output | | --- | ------ | ------------------------------------------------------------------------- | -------------------------------------------- | | T1 | DONE | Reproduce and record evidence | `manual-verification-evidence.md` V1, V2 | -| T2 | TODO | Record red run of the script before the fix | Evidence V1 (already captured) | -| T3 | TODO | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only | -| T4 | TODO | Green run locally and Container workflow green on the PR | Evidence V3 and PR checks | +| T2 | DONE | Record red run of the script before the fix | Evidence V1: `RUN_TRACKER_STATUS=137`, exit 1 | +| T3 | DONE | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only | +| T4 | IN_PROGRESS | Green run locally and Container workflow green on the PR | Evidence V3 done locally; PR #2857 checks pending | ## Commit Points | Task | Coherent change set | Commit policy | | ---- | -------------------------------------------------------- | ---------------------------------------------------- | -| T3 | `fix(container): [#2855] stop the tracker with timeout --foreground` | Commit after focused validation and required review. | +| T3 | `fix(container): [#2855] stop the tracker with timeout --foreground` (PR #2857; identify by this Conventional Commit subject, not a branch commit id, which a rebase onto `develop` can rewrite) | Commit after focused validation and required review. | ## Progress Tracking @@ -119,17 +129,21 @@ run after it, plus the Container workflow on the fix PR. - [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 -- [ ] Implementation completed -- [ ] Automatic verification completed -- [ ] Manual verification scenarios executed and recorded -- [ ] Acceptance criteria reviewed after implementation -- [ ] Implementation completion review recorded -- [ ] Issue closed and spec moved to `docs/issues/closed/` +- [x] Implementation completed +- [x] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) +- [ ] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` +- [ ] Acceptance criteria reviewed after implementation and updated with evidence +- [ ] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed +- [ ] Reviewer validated acceptance criteria and updated checkboxes +- [ ] Independent reviewer reports recorded in issue-local `agent-review-reports.md` when reviewers received this folder-style specification +- [ ] Committer verified spec progress is up to date before commit +- [ ] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` ### Progress Log - 2026-11-13 10:10 UTC - Claude Code (Claude Sonnet 5.5) - Drafted spec, reproduced the failure locally - `manual-verification-evidence.md` -- 2026-11-13 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 +- 2026-11-13 10:40 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 +- 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 ## Acceptance Criteria @@ -152,16 +166,17 @@ run after it, plus the Container workflow on the fix PR. | --- | ---------------------------------- | ------------------------------------------------------------------------- | ---------------------- | ------ | -------------------------------------------- | | M1 | Reproduce the failure | Run the script against a locally built release image | Status 137, exit 1 | DONE | `manual-verification-evidence.md` section V1 | | M2 | Isolate the cause | Run the container under each `timeout` variant | Only uutils w/o flag fails | DONE | `manual-verification-evidence.md` section V2 | -| M4 | Runner package history | `ssh torrust-runner-01` apt history | rust-coreutils upgrade 2026-11-12 | DONE | section V4 | -| M3 | Recheck after the fix | Rerun the script with both `timeout` implementations | Exit 0 | TODO | `manual-verification-evidence.md` section V3 | +| M3 | Recheck after the fix | Rerun the fixed script with uutils `timeout`, then with GNU `timeout` via `PATH` | Exit 0, both times | DONE | `manual-verification-evidence.md` section V3 | +| M4 | Runner package history | `ssh torrust-runner-01` apt history, dpkg, and `timeout --version` | rust-coreutils upgrade 2026-11-12 | DONE | `manual-verification-evidence.md` section V4 | +| M5 | Leftover containers on the runner | `ssh torrust-runner-01 'docker ps -a'` | Running containers accumulate; prune does not remove them | DONE | `manual-verification-evidence.md` section V5 | ### Acceptance Verification | AC ID | Status | Evidence | | ----- | ------ | -------- | -| AC1 | TODO | | -| AC2 | TODO | | -| AC3 | TODO | | +| AC1 | DONE | `manual-verification-evidence.md` V3 (uutils run) | +| AC2 | DONE | `manual-verification-evidence.md` V3 (GNU run via `PATH`) | +| AC3 | TODO | PR #2857 checks (pending) | ## Risks and Trade-offs @@ -177,3 +192,5 @@ run after it, plus the Container workflow on the fix PR. - Failing runs: 43184363486, 43225433196, 43299605132; last success 43059027926 - Related ADR: `docs/adrs/20260926142648_adopt_self_hosted_hetzner_runner_for_container_tests.md` +- Related issues: #2855 +- Related PRs: #2856 (spec-only), #2857 (implementation) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md index 01ad2ae9b2..478de3614f 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 10:10" +last-updated-utc: "2026-11-13 11:20" --- # Manual Verification Evidence @@ -10,10 +10,10 @@ last-updated-utc: "2026-11-13 10:10" - Date (UTC): 2026-11-13 - Artifact under test: release image built from `develop` at the merge of #2841 - (`docker build --target release -f Containerfile .`) + (`docker build --target release --tag tt:repro -f Containerfile .`, tagged `tt:repro`) - OS: Ubuntu 26.04, Docker 28.3.3, `timeout` = uutils coreutils 0.10.0 - (`rust-coreutils 0.10.0-1ubuntu2~26.04.1`); GNU `timeout` as `/usr/bin/gnutimeout` - (`gnu-coreutils 9.7`) + (`rust-coreutils 0.10.0-1ubuntu2~26.04.1`); GNU `timeout` reached as `/usr/bin/gnutimeout` + (`gnu-coreutils 9.7`, a separate binary installed alongside uutils, not a PATH shim) ## Verification Processes @@ -21,49 +21,151 @@ last-updated-utc: "2026-11-13 10:10" - Status: `DONE` (outcome: **Reproduced**) -Ran the script with `BUILD_IMAGE=false`, printing the exit status of each `run_tracker`: +Edit applied to a working copy of the script (not committed; `PROJECT_ROOT` pinned to the +working directory, and the unchanged `run_tracker` call instrumented to print the real exit +status before the accept/reject `test`): + +```diff +- timeout --signal=INT --kill-after=3s 10s docker run --rm \ ++ timeout --signal=INT --kill-after=3s 10s docker run --rm \ + --env USER_ID="$(id -u)" \ + --volume "${TEST_DIRECTORY}/etc:/etc/torrust/tracker:rw" \ + --volume "${TEST_DIRECTORY}/lib:/var/lib/torrust/tracker:rw" \ + --volume "${TEST_DIRECTORY}/log:/var/log/torrust/tracker:rw" \ + "${IMAGE_TAG}" || exit_status=$? + ++ echo "RUN_TRACKER_STATUS=${exit_status}" >&2 + test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124 +``` + +Command: `IMAGE_TAG=tt:repro BUILD_IMAGE=false bash -x ./instrumented-copy.sh` ```text ++ exit_status=137 + echo RUN_TRACKER_STATUS=137 RUN_TRACKER_STATUS=137 + test 137 -eq 0 -o 137 -eq 124 -(script exits 1) ``` +(script exits 1; `set -e` stops at the failing `test`) + The container log ends at `Tracker shutdown signal handlers installed.` plus health-check requests, with no `shutting down (SIGINT)` line, as in the failing CI logs (run 43299605132). -CI's script exits 1 because of the final `test`, not because the tracker returned 1. +CI's script exits 1 because of the `test` on line 39 of +`contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh`, not because +`docker run` itself returned 1. ### V2 - Isolate the cause - Status: `DONE` -| Command | Result | -| -------------------------------------------------------------- | --------------------------------------------- | -| `docker kill --signal=INT ` | exit 0, `successfully shutdown` | -| `docker kill --signal=TERM ` | exit 0, `successfully shutdown` | -| `kill -INT ` (`docker run --rm` in the bg) | `shutting down (SIGINT)`, `successfully shutdown` | -| `/usr/bin/gnutimeout --signal=INT --kill-after=3s 6s docker run ...` | status 124, shutdown logged | -| `/usr/bin/gnutimeout --foreground --signal=INT ...` | status 124, shutdown logged | -| `timeout --signal=INT --kill-after=3s 6s docker run ...` (uutils) | **status 137, no shutdown line** | -| `timeout --foreground --signal=INT ...` (uutils) | status 124, shutdown logged | - -Conclusion: the tracker handles SIGINT; uutils `timeout` without `--foreground` does not get the -signal to the docker client. +All runs below use the mounted `share/default/config/tracker.container.no-persistence.toml` +(health-check only) and the `tt:repro` image; `` is the one started by a plain +`docker run -d ...` with the same volumes, waited 4s to reach `Started on: http://...1313` +before each signal. + +| # | Command | Observed | +| --- | --- | --- | +| 1 | `docker kill --signal=INT ` | `exit=0 status=exited`; log has `shutting down (SIGINT) ...` then `successfully shutdown.` | +| 2 | `docker kill --signal=TERM ` | `exit=0 status=exited`; log has `shutting down (SIGTERM) ...` then `successfully shutdown.` | +| 3 | `kill -INT ` of a `docker run --rm ...` client running in the background | `client_exit=0`; log has `shutting down (SIGINT) ...` then `successfully shutdown.` | +| 4 | `/usr/bin/gnutimeout --signal=INT --kill-after=3s 6s docker run --rm ...` | `exit=124`; log has `shutting down (SIGINT) ...` then `successfully shutdown.` | +| 5 | `/usr/bin/gnutimeout --foreground --signal=INT --kill-after=3s 6s docker run --rm ...` | `exit=124`; log has `shutting down (SIGINT) ...` then `successfully shutdown.` | +| 6 | `timeout --signal=INT --kill-after=3s 6s docker run --rm ...` (uutils, no flag) | **`exit=137`; no `shutting down` line in the log** | +| 7 | `timeout --foreground --signal=INT --kill-after=3s 6s docker run --rm ...` (uutils) | `exit=124`; log has `shutting down (SIGINT) ...` then `successfully shutdown.` | + +Row 6 is the one case that does not shut the tracker down; it is the invocation the script used +before the fix (row 7's flag is the fix). + +Conclusion: the tracker receives and handles SIGINT and SIGTERM correctly in every case where a +signal reaches it (rows 1-5, 7); only row 6 — uutils `timeout` without `--foreground` — ends +without the tracker ever logging a shutdown. No signal-delivery probe (for example +`/proc//status` on the `docker` client under `timeout`) was recorded, so whether the SIGINT +reaches the client and is not forwarded, or never reaches the client at all, remains a hypothesis; +the fix (`--foreground`) is correct under either reading, since row 7 shows it resolves the +symptom. ### V3 - Recheck after the fix -- Status: `TODO` +- Status: `DONE` + +Ran the unmodified, fixed script (`timeout --foreground --signal=INT --kill-after=3s 10s ...`) +against the same `tt:repro` image, once under each `timeout`: + +```text +$ IMAGE_TAG=tt:repro BUILD_IMAGE=false bash contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh +(exit 0) +mounted-no-persistence-config-preserved-without-sqlite-artifacts +unselected-sqlite-targets-remain-unchanged-across-transitions + +$ PATH=:$PATH IMAGE_TAG=tt:repro BUILD_IMAGE=false bash contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh +(exit 0) +mounted-no-persistence-config-preserved-without-sqlite-artifacts +unselected-sqlite-targets-remain-unchanged-across-transitions +``` + +The second run points the script's bare `timeout` at GNU `timeout` through a directory prepended +to `PATH` containing only a `timeout -> /usr/bin/gnutimeout` symlink, so the unmodified script +(which calls `timeout` by bare name) resolves to the GNU implementation without editing the +script. ### V4 - Runner package history - Status: `DONE` -`ssh torrust-runner-01 'dpkg -l | grep coreutils; grep -h -B2 -A3 rust-coreutils /var/log/apt/history.log*'`: +Three separate commands, run over `ssh torrust-runner-01`, each shown with its own output +(read-only; maintainer-approved per session): ```text -ii rust-coreutils 0.10.0-1ubuntu2~26.04.1 -/usr/bin/timeout -> ../lib/cargo/bin/coreutils/timeout (timeout (uutils coreutils) 0.10.0) +$ dpkg -l | grep coreutils +ii coreutils 9.5-1ubuntu2+0.0.0~ubuntu25 all coreutils meta package +ii coreutils-from-uutils 0.0.0~ubuntu25 all coreutils from the uutils project +ii gnu-coreutils 9.7-3ubuntu2.1 amd64 GNU core utilities +ii rust-coreutils 0.10.0-1ubuntu2~26.04.1 amd64 Universal coreutils utils, written in Rust + +$ readlink -f $(command -v timeout); timeout --version +/usr/lib/cargo/bin/coreutils/timeout +timeout (uutils coreutils) 0.10.0 + +$ grep -h -B2 -A3 "rust-coreutils" /var/log/apt/history.log* Start-Date: 2026-11-12 06:36:55 +Commandline: /usr/bin/unattended-upgrade Upgrade: rust-coreutils:amd64 (0.8.0-0ubuntu3, 0.10.0-1ubuntu2~26.04.1) +End-Date: 2026-11-12 06:36:57 + +Start-Date: 2026-11-12 06:37:00 ``` + +The `rust-coreutils` upgrade (0.8.0 to 0.10.0) ran unattended at 2026-11-12 06:36-06:37 UTC, +between the last green Container run (2026-11-11 16:30) and the first red one (2026-11-12 08:36). +Whether 0.8.0 passed the unmodified script was not tested; only the inference from the green runs +supports it. + +### V5 - Leftover containers on the runner + +- Status: `DONE` + +`docker container prune` (in `contrib/dev-tools/self-hosted-runner/docker-ci-prune.sh`) only +removes **stopped** containers; `docker run --rm`'s container keeps running when its attached +client is SIGKILLed (row 6 above), so `--rm` never fires and the prune filter never matches it. +On the runner: + +```text +$ docker ps -a --format '{{.ID}} {{.Status}} {{.CreatedAt}}' | head -5 +783e39c1bd04 Up 22 minutes (healthy) 2026-11-13 10:52:04 +0000 UTC +114539ac5359 Up 49 minutes (healthy) 2026-11-13 10:25:01 +0000 UTC +a4ecdde3c538 Up About an hour (healthy) 2026-11-13 10:11:37 +0000 UTC +... +2212f3f2e8ef Up 2 days (healthy) 2026-11-11 09:45:50 +0000 UTC + +$ docker ps -a -q | wc -l +26 +``` + +26 containers were running (none stopped), the oldest since 2026-11-11 09:45 UTC, a time before +this regression's first red run; these containers' age range is consistent with, but not proven +to be entirely caused by, the bug fixed here (the runner also runs release-image containers from +other jobs that are not `--rm`'d by this script). The fix (`--foreground`) stops new leftovers +from this script; it does not clean up the ones already running. Cleaning the existing backlog is +left to the maintainer or a follow-up, since it changes state on the shared runner and was not +requested as part of this fix. diff --git a/project-words.txt b/project-words.txt index 1928b83da5..535e30bb9e 100644 --- a/project-words.txt +++ b/project-words.txt @@ -457,6 +457,7 @@ qbittorrent quickcheck randomised readelf +readlink realpath reannounce recaches From aff1b186430a69ad5d4d715ee03de6eeef995d2e Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 15:23:59 +0000 Subject: [PATCH 03/11] docs(issues): [#2855] address PR #2856 review findings F8-F14 Re-ran V5 on the self-hosted runner with a full container listing, an exited-count check, and image/mount identification (31 containers, all this script's, oldest predating the last green run); softened Impact's leftover-container claim to match; named the fixing commit (PR #2857) in V3 and marked T3/T4/AC1-AC3 as validated on that branch; replaced the V1 diff with a complete, reapplyable patch covering both real edits; fixed a progress-log timestamp that postdated its own commit. Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 33 +++++--- .../manual-verification-evidence.md | 80 ++++++++++++------- 2 files changed, 72 insertions(+), 41 deletions(-) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md index 4f470c15dc..2d15c871e6 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2855 spec-path: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" related-pr: 2857 -last-updated-utc: "2026-11-13 11:20" +last-updated-utc: "2026-11-13 14:00" semantic-links: skill-links: - create-issue @@ -60,8 +60,11 @@ runner, hiding real regressions and blocking the E2E steps that follow it in the run also leaves its tracker container running: `docker run --rm` only removes the container on exit, and `--kill-after` kills the attached client, not the container, so it never exits. The runner's daily prune (`contrib/dev-tools/self-hosted-runner/docker-ci-prune.sh`) only removes -*stopped* containers, so these accumulate; 26 were running on the runner at the time of writing, -the oldest since before this regression's first red run (`manual-verification-evidence.md` V5). +*stopped* containers, so these accumulate: 31 were running on the runner at the time of writing, +all identifiable as this script's by image and mount pattern, and none stopped +(`manual-verification-evidence.md` V5). The oldest of them predates the last known-green Container +run, so at least that one is not explained by this regression; the rest, created after the first +red run, are consistent with it but not individually proven to be caused by it. Why it regressed with no repository change: the job runs on the self-hosted `torrust-hetzner` runner (`torrust-runner-01`, Ubuntu 26.04.1), whose `timeout` is the uutils one. The runner's @@ -112,8 +115,8 @@ run after it, plus the Container workflow on the fix PR. | --- | ------ | ------------------------------------------------------------------------- | -------------------------------------------- | | T1 | DONE | Reproduce and record evidence | `manual-verification-evidence.md` V1, V2 | | T2 | DONE | Record red run of the script before the fix | Evidence V1: `RUN_TRACKER_STATUS=137`, exit 1 | -| T3 | DONE | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only | -| T4 | IN_PROGRESS | Green run locally and Container workflow green on the PR | Evidence V3 done locally; PR #2857 checks pending | +| T3 | DONE | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only, on PR #2857's branch (not yet merged to `develop`) | +| T4 | DONE | Green run locally and Container workflow green on the PR | Evidence V3 (local); PR #2857's `Test (Docker) (release)` job passed | ## Commit Points @@ -129,9 +132,11 @@ run after it, plus the Container workflow on the fix PR. - [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 -- [x] Implementation completed +- [x] Implementation completed (on PR #2857's branch; that PR had already been opened and + reviewed before this checkpoint was reconciled — see the 2026-11-13 11:20 UTC progress-log + entry for the process deviation from the recommended spec-first PR sequence) - [x] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) -- [ ] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` +- [x] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` - [ ] Acceptance criteria reviewed after implementation and updated with evidence - [ ] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed - [ ] Reviewer validated acceptance criteria and updated checkboxes @@ -142,14 +147,16 @@ run after it, plus the Container workflow on the fix PR. ### Progress Log - 2026-11-13 10:10 UTC - Claude Code (Claude Sonnet 5.5) - Drafted spec, reproduced the failure locally - `manual-verification-evidence.md` -- 2026-11-13 10:40 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 -- 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 +- 2026-11-13 10:12 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 +- 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit) before this spec-only PR merged, deviating from the recommended spec-first PR sequence in `create-issue` (implementation was started in parallel rather than after merge); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 +- 2026-11-13 14:00 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (31 containers, all this script's, oldest predating the last green run), softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 ## Acceptance Criteria -- [ ] AC1: `test-mounted-no-persistence-configuration.sh` passes with uutils `timeout` 0.10.0. -- [ ] AC2: It still passes with GNU `timeout`. -- [ ] AC3: The Container workflow "Test (Docker) (release)" job is green on the fix PR. +- [x] AC1: `test-mounted-no-persistence-configuration.sh` passes with uutils `timeout` 0.10.0 (on + PR #2857's branch; `develop` lacks the fix until that PR merges). +- [x] AC2: It still passes with GNU `timeout` (same branch). +- [x] AC3: The Container workflow "Test (Docker) (release)" job is green on PR #2857. - [ ] `linter all` exits with code `0` - [ ] Acceptance criteria are re-reviewed after implementation and reflect actual behavior @@ -176,7 +183,7 @@ run after it, plus the Container workflow on the fix PR. | ----- | ------ | -------- | | AC1 | DONE | `manual-verification-evidence.md` V3 (uutils run) | | AC2 | DONE | `manual-verification-evidence.md` V3 (GNU run via `PATH`) | -| AC3 | TODO | PR #2857 checks (pending) | +| AC3 | DONE | PR #2857 `Test (Docker) (release)` job: https://github.com/torrust/torrust-tracker/actions/runs/43410972003/job/131846372838 | ## Risks and Trade-offs diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md index 478de3614f..ad0ce833de 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 11:20" +last-updated-utc: "2026-11-13 14:00" --- # Manual Verification Evidence @@ -21,23 +21,29 @@ last-updated-utc: "2026-11-13 11:20" - Status: `DONE` (outcome: **Reproduced**) -Edit applied to a working copy of the script (not committed; `PROJECT_ROOT` pinned to the -working directory, and the unchanged `run_tracker` call instrumented to print the real exit -status before the accept/reject `test`): - -```diff -- timeout --signal=INT --kill-after=3s 10s docker run --rm \ -+ timeout --signal=INT --kill-after=3s 10s docker run --rm \ - --env USER_ID="$(id -u)" \ - --volume "${TEST_DIRECTORY}/etc:/etc/torrust/tracker:rw" \ - --volume "${TEST_DIRECTORY}/lib:/var/lib/torrust/tracker:rw" \ - --volume "${TEST_DIRECTORY}/log:/var/log/torrust/tracker:rw" \ +Setup (not committed; the instrumented copy is not retained as an issue-local artifact because the +complete patch below reconstructs it exactly from the unmodified script): + +```bash +cp contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh ./instrumented-copy.sh +patch ./instrumented-copy.sh <<'PATCH' +--- a/test-mounted-no-persistence-configuration.sh ++++ b/instrumented-copy.sh +@@ -16 +16 @@ +-PROJECT_ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../../../.." && pwd) ++PROJECT_ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +@@ -37,2 +37,3 @@ run_tracker() { "${IMAGE_TAG}" || exit_status=$? + echo "RUN_TRACKER_STATUS=${exit_status}" >&2 test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124 +PATCH ``` +`PROJECT_ROOT` is pinned because the copy runs directly beside the unmodified script instead of at +its nested path under the repository root; the `run_tracker` call itself is unchanged, only +instrumented to print the real exit status before the accept/reject `test`. + Command: `IMAGE_TAG=tt:repro BUILD_IMAGE=false bash -x ./instrumented-copy.sh` ```text @@ -89,8 +95,9 @@ symptom. - Status: `DONE` -Ran the unmodified, fixed script (`timeout --foreground --signal=INT --kill-after=3s 10s ...`) -against the same `tt:repro` image, once under each `timeout`: +Ran the script with the fix from `fix(container): [#2855] stop the tracker with timeout +--foreground` (PR #2857, `timeout --foreground --signal=INT --kill-after=3s 10s ...`), against the +same `tt:repro` image, once under each `timeout`: ```text $ IMAGE_TAG=tt:repro BUILD_IMAGE=false bash contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh @@ -151,21 +158,38 @@ client is SIGKILLed (row 6 above), so `--rm` never fires and the prune filter ne On the runner: ```text -$ docker ps -a --format '{{.ID}} {{.Status}} {{.CreatedAt}}' | head -5 -783e39c1bd04 Up 22 minutes (healthy) 2026-11-13 10:52:04 +0000 UTC -114539ac5359 Up 49 minutes (healthy) 2026-11-13 10:25:01 +0000 UTC -a4ecdde3c538 Up About an hour (healthy) 2026-11-13 10:11:37 +0000 UTC -... -2212f3f2e8ef Up 2 days (healthy) 2026-11-11 09:45:50 +0000 UTC +$ docker ps -a --format '{{.ID}} {{.Status}} {{.CreatedAt}}' +5e006c603754 Up 2 hours (healthy) 2026-11-13 13:46:16 +0000 UTC +44f49cd688f5 Up 2 hours (healthy) 2026-11-13 13:32:55 +0000 UTC +00c930a09fca Up 2 hours (healthy) 2026-11-13 13:18:40 +0000 UTC +[... 27 more lines, newest to oldest ...] +a040534e2abb Up 31 hours (healthy) 2026-11-12 08:37:16 +0000 UTC +2212f3f2e8ef Up 2 days (healthy) 2026-11-11 09:45:50 +0000 UTC + +$ docker ps -a --filter status=exited -q | wc -l +0 $ docker ps -a -q | wc -l -26 +31 + +$ for c in $(docker ps -aq); do + echo "$c $(docker inspect "$c" --format '{{.Config.Image}} {{range .Mounts}}{{.Source}} {{end}}')" + done +5e006c603754 torrust-tracker:local /tmp/test-mounted-no-persistence-configuration.zzu8BD/etc /tmp/test-mounted-no-persistence-configuration.zzu8BD/lib /tmp/test-mounted-no-persistence-configuration.zzu8BD/log +[... 29 more lines, each torrust-tracker:local with a + /tmp/test-mounted-no-persistence-configuration./{etc,lib,log} mount set ...] +2212f3f2e8ef torrust-tracker:local /tmp/test-mounted-no-persistence-configuration.5G4agY/etc /tmp/test-mounted-no-persistence-configuration.5G4agY/lib /tmp/test-mounted-no-persistence-configuration.5G4agY/log ``` -26 containers were running (none stopped), the oldest since 2026-11-11 09:45 UTC, a time before -this regression's first red run; these containers' age range is consistent with, but not proven -to be entirely caused by, the bug fixed here (the runner also runs release-image containers from -other jobs that are not `--rm`'d by this script). The fix (`--foreground`) stops new leftovers -from this script; it does not clean up the ones already running. Cleaning the existing backlog is -left to the maintainer or a follow-up, since it changes state on the shared runner and was not -requested as part of this fix. +All 31 running containers (none stopped) carry the `torrust-tracker:local` image and a +`/tmp/test-mounted-no-persistence-configuration./{etc,lib,log}` mount set, so every one of +them was started by this script, by its `mktemp -d` temp-directory naming pattern (script line +17). The oldest, `2212f3f2e8ef`, was created 2026-11-11 09:45:50 UTC — before the last known-green +Container run (2026-11-11 16:30 UTC, V4) — so this leftover alone predates the regression and is +not explained by the SIGINT-forwarding bug fixed here; it must come from an earlier, separate +failure of the same script. The remaining 30 containers were created between 2026-11-12 08:37 UTC +(after the first red run, V4) and 2026-11-13 13:46 UTC, consistent with (but, for any individual +container, not proven to be caused by) this regression. The fix (`--foreground`) stops new +leftovers of this kind; it does not clean up the ones already running. Cleaning the existing +backlog is left to the maintainer or a follow-up, since it changes state on the shared runner and +was not requested as part of this fix. From 3841cefbc496d87dd5c8fa58f3e37cfd0a1cf4a1 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 15:24:38 +0000 Subject: [PATCH 04/11] docs(pr-reviews): [#2855] create the PR 2856 review audit record Creates docs/pr-reviews/pr-2856-review/PR-REVIEW.md, started late (round 2 finding F10): records all 18 findings from both review rounds (da2ce7 and Copilot), their dispositions, and the mapping from the nine round-1 replies' cited branch commit id to its Conventional Commit subject. Co-Authored-By: Claude Sonnet 5 --- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 317 ++++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 docs/pr-reviews/pr-2856-review/PR-REVIEW.md diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md new file mode 100644 index 0000000000..b5284257dc --- /dev/null +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -0,0 +1,317 @@ +--- +semantic-links: + skill-links: + - process-pr-review + related-artifacts: + - .github/skills/dev/pr-reviews/process-pr-review/SKILL.md +--- + +# PR #2856 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2856. + +## 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 + +This record was created late (round 2), after round 1's ten findings were already fixed and +replied to. Round 1's nine `da2ce7`-thread replies and all ten resolutions cite commit +`f2f0e4e73` (a branch commit id) rather than its Conventional Commit subject, `docs(issues): +[#2855] address PR #2856 review findings F1-F7`. That subject is the durable resolution +reference for F1-F7 and F15-F17 below; the id-based replies predate this record and are not +edited. + +## 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 is `da2ce7`'s review `5889698232` (F1 to F7) and `copilot-pull-request-reviewer`'s review +`5889723390` (F15 to F17, no reviewer-provided ids), both submitted on the head whose last commit +had the subject `docs(issues): add issue specification for #2855`. Round 2 is `da2ce7`'s review +`5890192507` (F8 to F14), submitted on the head whose last commit has the subject `docs(issues): +[#2855] address PR #2856 review findings F1-F7`, and `copilot-pull-request-reviewer`'s review +`5891738510` (F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8), submitted on +the same head. + +| Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | +| ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | +| F1 | review-finding:pr-2856-f1 | Human | Major | documentation | ORIGINAL | FIXED | RESOLVED | +| F2 | review-finding:pr-2856-f2 | Human | Minor | testing | ORIGINAL | FIXED | RESOLVED | +| F3 | review-finding:pr-2856-f3 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F4 | review-finding:pr-2856-f4 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F5 | review-finding:pr-2856-f5 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F6 | review-finding:pr-2856-f6 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F7 | review-finding:pr-2856-f7 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F8 | review-finding:pr-2856-f8 | Human | Major | documentation | ORIGINAL | FIXED | RESOLVED | +| F9 | review-finding:pr-2856-f9 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F10 | review-finding:pr-2856-f10 | Human | Minor | maintainability | ORIGINAL | FIXED | RESOLVED | +| F11 | review-finding:pr-2856-f11 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F12 | review-finding:pr-2856-f12 | Human | Minor | maintainability | ORIGINAL | FIXED | RESOLVED | +| F13 | review-finding:pr-2856-f13 | Human | Nit | testing | ORIGINAL | FIXED | RESOLVED | +| F14 | review-finding:pr-2856-f14 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F15 | review-finding:pr-2856-f15 | Copilot | Minor (inferred) | documentation | RE_RAISE_OF:F6 | FIXED | RESOLVED | +| F16 | review-finding:pr-2856-f16 | Copilot | Minor (inferred) | formatting | ORIGINAL | NO_ACTION | RESOLVED | +| F17 | review-finding:pr-2856-f17 | Copilot | Nit (inferred) | documentation | RE_RAISE_OF:F7 | FIXED | RESOLVED | +| F18 | review-finding:pr-2856-f18 | Copilot | Minor | testing | ORIGINAL | FIXED | RESOLVED | + +## Finding Details + +### F1 - V4 output not produced by the named command + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390058 +- Concern: V4's block named `dpkg -l | grep coreutils; grep -h -B2 -A3 rust-coreutils /var/log/apt/history.log*` but showed a `readlink`/`timeout --version`-shaped line neither command can print, and silently dropped dpkg columns and the `-A3` context. +- Solution: Split V4 into three separate commands actually run over SSH on `torrust-runner-01`, each with its own real output (`dpkg -l | grep coreutils`, `readlink -f $(command -v timeout); timeout --version`, `grep -h -B2 -A3 "rust-coreutils" /var/log/apt/history.log*`). +- Current-tree verification: `manual-verification-evidence.md` V4 now shows three fenced commands whose output matches each command's real behavior; no elided columns. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562663093 + +### F2 - V1/M3 do not record a repeatable invocation + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390070 +- Concern: V1's script had no `RUN_TRACKER_STATUS` line and no recorded `IMAGE_TAG`/edit, and M3 did not say how the script was pointed at GNU `timeout`. +- Solution: Recorded the exact edit (now a patch that can be reapplied, see F13/F18) and the exact command including `IMAGE_TAG=tt:repro BUILD_IMAGE=false`; M3/V3 now name the `PATH`-prepended-symlink mechanism used to select GNU `timeout` without editing the script. +- Current-tree verification: `manual-verification-evidence.md` V1 and V3 both show the exact command line used. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562663455 + +### F3 - Background step 3 states the mechanism as fact + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390077 +- Concern: Step 3 said the docker client "never forwards the signal", but V2's `kill -INT ` row shows the client does forward a SIGINT it receives; no recorded probe shows whether the signal reaches the client at all. +- Solution: Reworded step 3 to state the observed symptom as fact and the forwarding/delivery mechanism as an explicit, documented hypothesis. +- Current-tree verification: `ISSUE.md` Background step 3 now reads "...is a hypothesis...; the fix below is correct under either reading." +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562663893 + +### F4 - Impact omits the leftover container + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390087 +- Concern: The Impact section did not mention that each failed run leaves its tracker container running on the self-hosted runner. +- Solution: Added the leftover-container explanation to Impact, backed by new evidence V5. +- Current-tree verification: `ISSUE.md` Impact paragraph 2 now describes the leftover-container mechanism, citing V5. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562664191 + +### F5 - PR description missing required sections, head/base inverted + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390092 +- Concern: The description lacked the `open-pull-request` skill's required sections and inverted head and base. +- Solution: Rewrote the description with Summary, Files touched, and Validation performed sections, and corrected the head/base wording. +- Current-tree verification: `gh-bot pr view 2856 --json body` shows all three required sections and the corrected wording. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562664586 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562664586 + +### F6 - T2 status inconsistent with its own note + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390098 +- Concern: T2 was `TODO` while its note said the red run was already captured in V1, and the scenario table listed M1, M2, M4, M3 out of order with an M4 steps cell that did not match the command V4 actually ran. +- Solution: Marked T2 `DONE` against V1, reordered the scenario table to M1-M5, and corrected the M4 steps cell to the actual V4 commands. +- Current-tree verification: `ISSUE.md` Implementation Plan T2 is `DONE`; the Manual Verification Scenarios table lists M1 through M5 in order. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562664901 + +### F7 - Progress-log timestamp format and dropped checkpoints + +- PR number: 2856 +- Source review ID: 5889698232 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562390105 +- Concern: The second progress-log entry had no `HH:MM`, `last-updated-utc` predated it, and the workflow checkpoints dropped three template items (reviewer validation, independent reviewer reports, committer check) that peer open specs keep. +- Solution: Added `HH:MM` to every progress-log entry, advanced `last-updated-utc`, and restored the full template checkpoint list. +- Current-tree verification: `ISSUE.md` Workflow Checkpoints has all thirteen template items; every Progress Log entry carries `HH:MM`. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562665264 + +### F8 - V5 listing shows output `head -5` cannot print; "oldest"/"none stopped" unproven + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747484 +- Concern: `docker ps -a | head -5` keeps the five newest containers and cannot produce the oldest line shown with an ellipsis; "none stopped" was not shown by any recorded command either. +- Solution: Re-ran on `torrust-runner-01` (maintainer-approved SSH): a full `docker ps -a --format ...` listing with no lines elided except an explicitly marked ellipsis over the identical middle rows, a separate `docker ps -a --filter status=exited -q | wc -l` returning `0`, and a `docker inspect` loop over every running container identifying all 31 by image (`torrust-tracker:local`) and this script's `/tmp/test-mounted-no-persistence-configuration./{etc,lib,log}` mount pattern. +- Current-tree verification: `manual-verification-evidence.md` V5 now shows the full listing, the exited-count command, and the image/mount identification, with the true oldest (`2212f3f2e8ef`, 2026-11-11 09:45:50 UTC) and count (31) stated from that listing. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747484 + +### F9 - Impact states an unproven cause as fact + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747491 +- Concern: Impact read as if all 26 (now 31) leftover containers were caused by this bug, while V5 only said the count was consistent with, not proven to be caused by, it; the oldest container predates the last green run. +- Solution: Reworded Impact to state that the oldest leftover predates the last known-green run (so it is not explained by this regression) and that the rest are consistent with, but not individually proven to be caused by, it. +- Current-tree verification: `ISSUE.md` Impact paragraph 2 now carries this hedge, matching V5's own wording. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747491 + +### F10 - No review audit record; replies cite a branch commit id + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747500 +- Concern: All ten round-1 threads were answered and resolved without the `process-pr-review` audit record ever being created, and nine replies cited the branch commit id `f2f0e4e73` instead of its Conventional Commit subject. +- Solution: Created this record (late; the late start and the id-to-subject mapping are logged in Ownership and the Processing Log below). The id-based replies already posted on GitHub are not edited; this record states their actual subject. +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` exists at this head with the Ownership note naming the nine id-based replies' actual subject. +- Resolution reference: docs(pr-reviews): [#2855] create the PR 2856 review audit record +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747500 + +### F11 - PR description still states the mechanism as fact + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747509 +- Concern: The description's summary still said uutils `timeout` "never forwards SIGINT to the `docker run` client" as fact, while `ISSUE.md` (F3) now calls that a hypothesis. +- Solution: Reworded the description to "the tracker never receives SIGINT" and named the forwarding-vs-delivery question as a documented hypothesis, matching `ISSUE.md`. +- Current-tree verification: `gh-bot pr view 2856 --json body` shows the reworded sentence. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#issuecomment-6857306524 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747509 + +### F12 - Spec-only PR records unmerged-implementation results; checkpoint order + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747514 +- Concern: T3/T4/AC1/AC2 stated implementation results without naming the branch they ran on, and the checkpoints checked "Implementation completed" while "Spec-only PR merged into `develop` before implementation" stayed unchecked, against the spec-first sequence in `create-issue`; "Manual verification scenarios executed" also stayed unchecked although M1-M5 were `DONE`. +- Solution: Named the fix by its Conventional Commit subject and PR number in V3 and the Implementation Plan; marked T3/T4/AC1-AC3 explicitly as validated on PR #2857's branch (not yet on `develop`); checked "Manual verification scenarios executed"; recorded the spec-first sequence deviation (implementation PR opened before this spec-only PR merged) in the Progress Log. +- Current-tree verification: `ISSUE.md` Implementation Plan and Acceptance Verification name PR #2857 and its commit subject; the 2026-11-13 11:20 UTC progress-log entry states the deviation. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747514 + +### F13 - V1 edit has a no-op pair and omits the `PROJECT_ROOT` change + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747522 +- Concern: The recorded V1 diff removed and re-added the identical `timeout` line (a no-op) and did not show the stated `PROJECT_ROOT` change, so the edit could not be reapplied exactly as written. +- Solution: Replaced the diff with a complete unified patch that can be reapplied with `patch(1)` (correct hunk headers) covering both real changes: the `PROJECT_ROOT` pin and the added status-echo line; see also F18, which asked for the same ability to reconstruct the script from a fresh checkout. +- Current-tree verification: `manual-verification-evidence.md` V1 shows a `cp` + `patch <<'PATCH'` setup block with two hunks, no no-op lines. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747522 + +### F14 - Backfilled progress-log time is later than its own commit + +- PR number: 2856 +- Source review ID: 5890192507 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747535 +- Concern: The 10:40 UTC progress-log entry was already in the first commit, which was committed at 10:13:58 UTC, so the entry's own stamp postdated its commit. +- Solution: Changed the stamp to 10:12 UTC, no later than the 10:13:58 UTC commit that carries it. +- Current-tree verification: `git log --format=%cI` for `9796436047f042efb5d2800d89ad4ec973706a81` shows `2026-11-13T10:13:58Z`; the entry now reads `10:12 UTC`. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747535 + +### F15 - Copilot re-raise: T2 status inconsistency + +- PR number: 2856 +- Source review ID: 5889723390 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562409597 +- Concern: Same concern as F6 (T2 marked `TODO` while its note says the evidence is already captured). +- Solution: Fixed together with F6. +- Current-tree verification: Same as F6. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562667223 + +### F16 - Copilot: `||` markdown-table syntax (false positive) + +- PR number: 2856 +- Source review ID: 5889723390 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562409666 +- Concern: Table rows allegedly used `||` instead of `|`, which could render incorrectly in Markdown. +- Solution: No action: inspected the raw file bytes (`cat -A`, `grep '||'`) and found no double-pipe table syntax anywhere; the only `||` in the files is shell's logical-or inside a fenced code block. Replied explaining this. The evidence file was rewritten anyway for F1/F2/F8/F13, which keeps all tables single-pipe. +- Current-tree verification: `grep -n '||' docs/issues/open/2855-container-regression-timeout-sigint/*.md` matches only the shell `|| exit_status=$?` line inside a code fence. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562667618 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562667618 + +### F17 - Copilot re-raise: progress-log timestamp format + +- PR number: 2856 +- Source review ID: 5889723390 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562409692 +- Concern: Same concern as F7 (second progress-log entry missing `HH:MM`). +- Solution: Fixed together with F7. +- Current-tree verification: Same as F7. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F1-F7 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562667984 + +### F18 - Copilot: reproduction cannot be rerun from a fresh checkout + +- PR number: 2856 +- Source review ID: 5891738510 +- Reviewer finding ID: F8 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4563793717 +- Concern: V1's `./instrumented-copy.sh` is not in the issue folder, and the shown diff omitted the stated `PROJECT_ROOT` change, so a fresh checkout could not execute or reconstruct the reproduction. +- Solution: Same fix as F13: replaced the diff with a complete `cp` + `patch` block, reapplied with `patch(1)`, naming both real changes, so the instrumented copy can be reconstructed exactly without retaining it as a separate issue-local artifact. +- Current-tree verification: Same as F13. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4563793717 + +## Processing Log + +- 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. +- 2026-11-13 14:00 UTC - Started this record late, after round 2 arrived. Processing round 2: `da2ce7`'s review `5890192507` (7 findings, F8 to F14) and `copilot-pull-request-reviewer`'s review `5891738510` (1 finding, F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8). From 3636789e40ee1f10efdf3144fe261e08f1187cb8 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 15:29:27 +0000 Subject: [PATCH 05/11] docs(pr-reviews): [#2855] record real reply URLs in the PR 2856 audit Replaces the F8-F14/F18 Reply URL placeholders (which had pointed at the reviewer's own source comment) with the actual reply comments posted and used to resolve each thread. Co-Authored-By: Claude Sonnet 5 --- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index b5284257dc..39c6877997 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -179,7 +179,7 @@ the same head. - Current-tree verification: `manual-verification-evidence.md` V5 now shows the full listing, the exited-count command, and the image/mount identification, with the true oldest (`2212f3f2e8ef`, 2026-11-11 09:45:50 UTC) and count (31) stated from that listing. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747484 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565221088 ### F9 - Impact states an unproven cause as fact @@ -192,7 +192,7 @@ the same head. - Current-tree verification: `ISSUE.md` Impact paragraph 2 now carries this hedge, matching V5's own wording. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747491 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565224903 ### F10 - No review audit record; replies cite a branch commit id @@ -205,7 +205,7 @@ the same head. - Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` exists at this head with the Ownership note naming the nine id-based replies' actual subject. - Resolution reference: docs(pr-reviews): [#2855] create the PR 2856 review audit record - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747500 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565225743 ### F11 - PR description still states the mechanism as fact @@ -218,7 +218,7 @@ the same head. - Current-tree verification: `gh-bot pr view 2856 --json body` shows the reworded sentence. - Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#issuecomment-6857306524 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747509 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565232871 ### F12 - Spec-only PR records unmerged-implementation results; checkpoint order @@ -231,7 +231,7 @@ the same head. - Current-tree verification: `ISSUE.md` Implementation Plan and Acceptance Verification name PR #2857 and its commit subject; the 2026-11-13 11:20 UTC progress-log entry states the deviation. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747514 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565227131 ### F13 - V1 edit has a no-op pair and omits the `PROJECT_ROOT` change @@ -244,7 +244,7 @@ the same head. - Current-tree verification: `manual-verification-evidence.md` V1 shows a `cp` + `patch <<'PATCH'` setup block with two hunks, no no-op lines. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747522 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565227755 ### F14 - Backfilled progress-log time is later than its own commit @@ -257,7 +257,7 @@ the same head. - Current-tree verification: `git log --format=%cI` for `9796436047f042efb5d2800d89ad4ec973706a81` shows `2026-11-13T10:13:58Z`; the entry now reads `10:12 UTC`. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747535 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565228445 ### F15 - Copilot re-raise: T2 status inconsistency @@ -309,7 +309,7 @@ the same head. - Current-tree verification: Same as F13. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A -- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4563793717 +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565229077 ## Processing Log From 45ce67585e1438e9de1793ef7e5dcfefd20b0a18 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 22:31:10 +0000 Subject: [PATCH 06/11] docs(issues): [#2855] address PR #2856 review findings F19-F27 Round 3: da2ce7's APPROVED review 5893913692 (F19-F24, reviewer labels F15-F20) and copilot-pull-request-reviewer's review 5894073993 (F25-F27, reviewer labels F19-F21). - Added the skill-link marker (F19). - Cited the first commit by subject instead of id, and corrected the Ownership note's reply-count attribution (F20). - Recaptured V5 on torrust-runner-01 with a fresh, internally-consistent listing: 34 containers, 0 exited, elision counts that add up (F21, F26). - Corrected the V1 patch's second hunk header and the `cp` location prose (F22). - Recorded the real V5 capture time throughout, and the PR #2857 merge (F23, F27). - Ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24). - Reclassified F18 as RE_RAISE_OF:F13 (F25). Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 14 +- .../manual-verification-evidence.md | 44 ++--- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 152 +++++++++++++++++- 3 files changed, 176 insertions(+), 34 deletions(-) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md index 2d15c871e6..56fb3c9c32 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2855 spec-path: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" related-pr: 2857 -last-updated-utc: "2026-11-13 14:00" +last-updated-utc: "2026-11-13 22:18" semantic-links: skill-links: - create-issue @@ -60,7 +60,7 @@ runner, hiding real regressions and blocking the E2E steps that follow it in the run also leaves its tracker container running: `docker run --rm` only removes the container on exit, and `--kill-after` kills the attached client, not the container, so it never exits. The runner's daily prune (`contrib/dev-tools/self-hosted-runner/docker-ci-prune.sh`) only removes -*stopped* containers, so these accumulate: 31 were running on the runner at the time of writing, +*stopped* containers, so these accumulate: 34 were running on the runner at the time of writing, all identifiable as this script's by image and mount pattern, and none stopped (`manual-verification-evidence.md` V5). The oldest of them predates the last known-green Container run, so at least that one is not explained by this regression; the rest, created after the first @@ -115,7 +115,7 @@ run after it, plus the Container workflow on the fix PR. | --- | ------ | ------------------------------------------------------------------------- | -------------------------------------------- | | T1 | DONE | Reproduce and record evidence | `manual-verification-evidence.md` V1, V2 | | T2 | DONE | Record red run of the script before the fix | Evidence V1: `RUN_TRACKER_STATUS=137`, exit 1 | -| T3 | DONE | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only, on PR #2857's branch (not yet merged to `develop`) | +| T3 | DONE | Add `--foreground` to `timeout`; report the unexpected status on failure | Script change only; PR #2857 merged into `develop` | | T4 | DONE | Green run locally and Container workflow green on the PR | Evidence V3 (local); PR #2857's `Test (Docker) (release)` job passed | ## Commit Points @@ -150,14 +150,16 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 10:12 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 - 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit) before this spec-only PR merged, deviating from the recommended spec-first PR sequence in `create-issue` (implementation was started in parallel rather than after merge); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 - 2026-11-13 14:00 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (31 containers, all this script's, oldest predating the last green run), softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 +- 2026-11-13 19:44 UTC - Claude Code (Claude Sonnet 5.5) - PR #2857 merged into `develop`; updated T3/AC1 wording and the Impact paragraph's container count in this spec to match +- 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 Copilot review findings F19-F21: reclassified F18 as `RE_RAISE_OF:F13` in the audit record; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies - `manual-verification-evidence.md` V5 ## Acceptance Criteria -- [x] AC1: `test-mounted-no-persistence-configuration.sh` passes with uutils `timeout` 0.10.0 (on - PR #2857's branch; `develop` lacks the fix until that PR merges). +- [x] AC1: `test-mounted-no-persistence-configuration.sh` passes with uutils `timeout` 0.10.0 + (PR #2857, merged into `develop`). - [x] AC2: It still passes with GNU `timeout` (same branch). - [x] AC3: The Container workflow "Test (Docker) (release)" job is green on PR #2857. -- [ ] `linter all` exits with code `0` +- [x] `linter all` exits with code `0` - [ ] Acceptance criteria are re-reviewed after implementation and reflect actual behavior ## Verification Plan diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md index ad0ce833de..3702de891b 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 14:00" +last-updated-utc: "2026-11-13 22:18" --- # Manual Verification Evidence @@ -32,7 +32,7 @@ patch ./instrumented-copy.sh <<'PATCH' @@ -16 +16 @@ -PROJECT_ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../../../.." && pwd) +PROJECT_ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) -@@ -37,2 +37,3 @@ run_tracker() { +@@ -37,3 +37,4 @@ run_tracker() { "${IMAGE_TAG}" || exit_status=$? + echo "RUN_TRACKER_STATUS=${exit_status}" >&2 @@ -40,9 +40,10 @@ patch ./instrumented-copy.sh <<'PATCH' PATCH ``` -`PROJECT_ROOT` is pinned because the copy runs directly beside the unmodified script instead of at -its nested path under the repository root; the `run_tracker` call itself is unchanged, only -instrumented to print the real exit status before the accept/reject `test`. +`PROJECT_ROOT` is pinned because the `cp` on the first line runs from, and so puts the copy in, the +repository root (the `cp` source path is relative) instead of the script's nested path under that +root; the `run_tracker` call itself is unchanged, only instrumented to print the real exit status +before the accept/reject `test`. Command: `IMAGE_TAG=tt:repro BUILD_IMAGE=false bash -x ./instrumented-copy.sh` @@ -157,39 +158,42 @@ removes **stopped** containers; `docker run --rm`'s container keeps running when client is SIGKILLed (row 6 above), so `--rm` never fires and the prune filter never matches it. On the runner: +Capture time: 2026-11-13 22:18:22 UTC (`date -u`, run immediately before the commands below). + ```text $ docker ps -a --format '{{.ID}} {{.Status}} {{.CreatedAt}}' -5e006c603754 Up 2 hours (healthy) 2026-11-13 13:46:16 +0000 UTC -44f49cd688f5 Up 2 hours (healthy) 2026-11-13 13:32:55 +0000 UTC -00c930a09fca Up 2 hours (healthy) 2026-11-13 13:18:40 +0000 UTC -[... 27 more lines, newest to oldest ...] -a040534e2abb Up 31 hours (healthy) 2026-11-12 08:37:16 +0000 UTC +d7d7f841aec2 Up 3 hours (healthy) 2026-11-13 19:37:32 +0000 UTC +70cc80bca209 Up 7 hours (healthy) 2026-11-13 15:32:30 +0000 UTC +5e006c603754 Up 9 hours (healthy) 2026-11-13 13:46:16 +0000 UTC +[... 29 more lines, newest to oldest ...] +a040534e2abb Up 38 hours (healthy) 2026-11-12 08:37:16 +0000 UTC 2212f3f2e8ef Up 2 days (healthy) 2026-11-11 09:45:50 +0000 UTC $ docker ps -a --filter status=exited -q | wc -l 0 $ docker ps -a -q | wc -l -31 +34 $ for c in $(docker ps -aq); do echo "$c $(docker inspect "$c" --format '{{.Config.Image}} {{range .Mounts}}{{.Source}} {{end}}')" done -5e006c603754 torrust-tracker:local /tmp/test-mounted-no-persistence-configuration.zzu8BD/etc /tmp/test-mounted-no-persistence-configuration.zzu8BD/lib /tmp/test-mounted-no-persistence-configuration.zzu8BD/log -[... 29 more lines, each torrust-tracker:local with a +d7d7f841aec2 torrust-tracker:local /tmp/test-mounted-no-persistence-configuration.xwVxMj/etc /tmp/test-mounted-no-persistence-configuration.xwVxMj/lib /tmp/test-mounted-no-persistence-configuration.xwVxMj/log +[... 32 more lines, each torrust-tracker:local with a /tmp/test-mounted-no-persistence-configuration./{etc,lib,log} mount set ...] 2212f3f2e8ef torrust-tracker:local /tmp/test-mounted-no-persistence-configuration.5G4agY/etc /tmp/test-mounted-no-persistence-configuration.5G4agY/lib /tmp/test-mounted-no-persistence-configuration.5G4agY/log ``` -All 31 running containers (none stopped) carry the `torrust-tracker:local` image and a +All 34 running containers (none stopped) carry the `torrust-tracker:local` image and a `/tmp/test-mounted-no-persistence-configuration./{etc,lib,log}` mount set, so every one of them was started by this script, by its `mktemp -d` temp-directory naming pattern (script line 17). The oldest, `2212f3f2e8ef`, was created 2026-11-11 09:45:50 UTC — before the last known-green Container run (2026-11-11 16:30 UTC, V4) — so this leftover alone predates the regression and is not explained by the SIGINT-forwarding bug fixed here; it must come from an earlier, separate -failure of the same script. The remaining 30 containers were created between 2026-11-12 08:37 UTC -(after the first red run, V4) and 2026-11-13 13:46 UTC, consistent with (but, for any individual -container, not proven to be caused by) this regression. The fix (`--foreground`) stops new -leftovers of this kind; it does not clean up the ones already running. Cleaning the existing -backlog is left to the maintainer or a follow-up, since it changes state on the shared runner and -was not requested as part of this fix. +failure of the same script. The remaining 33 containers were created between 2026-11-12 08:37 UTC +(after the first red run, V4) and 2026-11-13 19:37 UTC, consistent with (but, for any individual +container, not proven to be caused by) this regression. The fix (`--foreground`), merged in +PR #2857, stops new leftovers of this kind; this capture, taken after that merge, still shows the +pre-fix backlog because the fix does not clean up containers already running. Cleaning the +existing backlog is left to the maintainer or a follow-up, since it changes state on the shared +runner and was not requested as part of this fix. diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index 39c6877997..623be85a68 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -6,6 +6,8 @@ semantic-links: - .github/skills/dev/pr-reviews/process-pr-review/SKILL.md --- + + # PR #2856 Review Audit Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2856. @@ -18,11 +20,11 @@ deliver findings through GitHub and have no repository-artifact obligation. - Post-merge workflow approval: N/A This record was created late (round 2), after round 1's ten findings were already fixed and -replied to. Round 1's nine `da2ce7`-thread replies and all ten resolutions cite commit -`f2f0e4e73` (a branch commit id) rather than its Conventional Commit subject, `docs(issues): -[#2855] address PR #2856 review findings F1-F7`. That subject is the durable resolution -reference for F1-F7 and F15-F17 below; the id-based replies predate this record and are not -edited. +replied to. Round 1's six `da2ce7`-thread replies and three automated-reviewer-thread replies +(nine total) and all ten resolutions cite commit `f2f0e4e73` (a branch commit id) rather than its +Conventional Commit subject, `docs(issues): [#2855] address PR #2856 review findings F1-F7`. That +subject is the durable resolution reference for F1-F7 and F15-F17 below; the id-based replies +predate this record and are not edited. ## Status Values @@ -52,7 +54,14 @@ had the subject `docs(issues): add issue specification for #2855`. Round 2 is `d `5890192507` (F8 to F14), submitted on the head whose last commit has the subject `docs(issues): [#2855] address PR #2856 review findings F1-F7`, and `copilot-pull-request-reviewer`'s review `5891738510` (F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8), submitted on -the same head. +the same head. Round 3 is `da2ce7`'s APPROVED review `5893913692` (F19 to F24, reviewer labels +F15-F20, reassigned on collision with the audit's own F15-F18 and with round 2's reviewer-label +usage) and `copilot-pull-request-reviewer`'s review `5894073993` (F25 to F27, reviewer labels +F19-F21 in each comment's own title, reassigned on collision with `da2ce7`'s round-3 F19-F21), +both submitted on the head whose last commit has the subject `docs(issues): [#2855] address +PR #2856 review findings F8-F14`. F26 and F27 are the automated reviewer's independent re-raises of +`da2ce7`'s F21 and F23 (same concerns, found separately by both reviewers in the same round, not +one reviewer repeating the other's finding). | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -73,7 +82,16 @@ the same head. | F15 | review-finding:pr-2856-f15 | Copilot | Minor (inferred) | documentation | RE_RAISE_OF:F6 | FIXED | RESOLVED | | F16 | review-finding:pr-2856-f16 | Copilot | Minor (inferred) | formatting | ORIGINAL | NO_ACTION | RESOLVED | | F17 | review-finding:pr-2856-f17 | Copilot | Nit (inferred) | documentation | RE_RAISE_OF:F7 | FIXED | RESOLVED | -| F18 | review-finding:pr-2856-f18 | Copilot | Minor | testing | ORIGINAL | FIXED | RESOLVED | +| F18 | review-finding:pr-2856-f18 | Copilot | Minor | testing | RE_RAISE_OF:F13 | FIXED | RESOLVED | +| F19 | review-finding:pr-2856-f19 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F20 | review-finding:pr-2856-f20 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F21 | review-finding:pr-2856-f21 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F22 | review-finding:pr-2856-f22 | Human | Nit | testing | ORIGINAL | FIXED | RESOLVED | +| F23 | review-finding:pr-2856-f23 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F24 | review-finding:pr-2856-f24 | Human | Nit | metadata | ORIGINAL | FIXED | RESOLVED | +| F25 | review-finding:pr-2856-f25 | Copilot | Minor (inferred) | documentation | ORIGINAL | FIXED | RESOLVED | +| F26 | review-finding:pr-2856-f26 | Copilot | Nit (inferred) | documentation | RE_RAISE_OF:F21 | FIXED | RESOLVED | +| F27 | review-finding:pr-2856-f27 | Copilot | Minor (inferred) | documentation | RE_RAISE_OF:F23 | FIXED | RESOLVED | ## Finding Details @@ -254,7 +272,7 @@ the same head. - Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4562747535 - Concern: The 10:40 UTC progress-log entry was already in the first commit, which was committed at 10:13:58 UTC, so the entry's own stamp postdated its commit. - Solution: Changed the stamp to 10:12 UTC, no later than the 10:13:58 UTC commit that carries it. -- Current-tree verification: `git log --format=%cI` for `9796436047f042efb5d2800d89ad4ec973706a81` shows `2026-11-13T10:13:58Z`; the entry now reads `10:12 UTC`. +- Current-tree verification: `git log --format=%cI` for the commit with subject `docs(issues): add issue specification for #2855` shows `2026-11-13T10:13:58Z`; the entry now reads `10:12 UTC`. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F8-F14 - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565228445 @@ -311,7 +329,125 @@ the same head. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565229077 +### F19 - Audit record missing the skill-link marker + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F15 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388335 +- Concern: The template and the audit records for PR #2826 and PR #2830 carry `` between the frontmatter and the heading; this record did not. +- Solution: Added the marker in the same position. +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` lines 1-9 now show the marker between the frontmatter's closing `---` and the `# PR #2856 Review Audit` heading. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569357597 + +### F20 - Commit cited by id; Ownership note's reply count attributed all nine to `da2ce7` + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F16 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388346 +- Concern: F14's current-tree verification cited the first commit by its full id rather than its Conventional Commit subject, and the F14 reply on GitHub cited it by a short id; separately, the Ownership note's "nine `da2ce7`-thread replies" counted six `da2ce7`-thread replies plus three automated-reviewer-thread replies as all belonging to `da2ce7`. +- Solution: Changed F14's current-tree verification to cite the commit by subject (`docs(issues): add issue specification for #2855`); posted a new reply on the F14 thread correcting the citation without editing the published comment; reworded the Ownership note to "six `da2ce7`-thread replies and three automated-reviewer-thread replies (nine total)". +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` F14 entry and Ownership section. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569336328 + +### F21 - V5 elided-line count does not add up to the reported total + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F17 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388350 +- Concern: Five displayed rows plus "27 more lines" makes 32 containers, but `docker ps -a -q | wc -l` reported 31. +- Solution: Recaptured V5 on the runner (read-only, maintainer-approved) with a fresh run: 34 containers total, 0 exited; the listing shows 3 newest rows, elides 29, then shows the 2 oldest rows (3 + 29 + 2 = 34), matching `wc -l`. +- Current-tree verification: `manual-verification-evidence.md` V5: `docker ps -a -q | wc -l` prints 34; the `docker ps -a --format ...` listing shows 3 rows, "[... 29 more lines, newest to oldest ...]", then 2 rows (3 + 29 + 2 = 34). +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569358576 + +### F22 - V1 patch's second hunk header miscounted; `cp` location wrongly described + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F18 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388359 +- Concern: The second hunk header said `@@ -37,2 +37,3 @@` (2 old, 3 new) but the body has 3 old lines and 4 new, so a strict applier (`git apply`) rejects it; separately, the prose said the copy "runs directly beside the unmodified script" when the `cp` command's relative source path actually puts the copy in the repository root (the working directory), which is why pinning `PROJECT_ROOT` to the copy's own directory works. +- Solution: Corrected the header to `@@ -37,3 +37,4 @@`; reworded the prose to describe the `cp` command's actual effect (puts the copy in the repository root because its source path is relative). +- Current-tree verification: Applied the corrected patch locally with `patch(1)` against an unmodified copy of the script; it applies and produces the two intended edits (confirmed both the `PROJECT_ROOT` line and the added echo line are present, nothing else changed). +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569359397 + +### F23 - Backfilled 14:00 stamps predate the V5 rerun they report + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F19 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388371 +- Concern: Both `last-updated-utc` fields and the ISSUE.md progress-log entry said 14:00 UTC, but the V5 listing's newest container ("Up 2 hours" at 13:46:16 creation) could not have been captured before roughly 15:16, and the commit carrying it was committed at 15:23:59. +- Solution: Recaptured V5 on the runner at a recorded real time (2026-11-13 22:18:22 UTC) and set `last-updated-utc` in both files, plus a new progress-log entry, to match. +- Current-tree verification: `manual-verification-evidence.md` frontmatter and V5 "Capture time" line; `ISSUE.md` frontmatter and progress log. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569360166 + +### F24 - `linter all` criterion unchecked; description's Files touched list stale + +- PR number: 2856 +- Source review ID: 5893913692 +- Reviewer finding ID: F20 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565388384 +- Concern: The `linter all` acceptance criterion was unchecked while the checkpoint on the line above marked automatic verification complete and the description said `linter all` passes; separately, the description's Files touched list omitted `docs/pr-reviews/pr-2856-review/PR-REVIEW.md`. +- Solution: Ran `linter all` (exits 0) and checked the criterion; added the audit record to the description's Files touched list via `gh-bot pr edit`. +- Current-tree verification: `ISSUE.md` Acceptance Criteria; PR #2856 description. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569361000 + +### F25 - Copilot: F18 should be classified as a re-raise of F13 + +- PR number: 2856 +- Source review ID: 5894073993 +- Reviewer finding ID: F19 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565509280 +- Concern: F18's detail explicitly says it requests the same reconstruction fix as F13 and uses the same verification, but the table labeled it `ORIGINAL`, double-counting one underlying concern. +- Solution: Changed F18's Relationship to `RE_RAISE_OF:F13`. +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` F18 row. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569305288 + +### F26 - Copilot: re-raise of F21 (elided container count) + +- PR number: 2856 +- Source review ID: 5894073993 +- Reviewer finding ID: F20 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565509225 +- Concern: Same concern as F21 (elided-line count did not add up to the reported total). +- Solution: Fixed together with F21. +- Current-tree verification: Same as F21. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569306256 + +### F27 - Copilot: re-raise of F23 (V5 capture time) + +- PR number: 2856 +- Source review ID: 5894073993 +- Reviewer finding ID: F21 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4565509158 +- Concern: Same concern as F23 (backfilled stamp predates the V5 rerun it reports). +- Solution: Fixed together with F23. +- Current-tree verification: Same as F23. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F19-F27 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569307085 + ## Processing Log - 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. - 2026-11-13 14:00 UTC - Started this record late, after round 2 arrived. Processing round 2: `da2ce7`'s review `5890192507` (7 findings, F8 to F14) and `copilot-pull-request-reviewer`'s review `5891738510` (1 finding, F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8). +- 2026-11-13 22:30 UTC - Processing round 3: `da2ce7`'s APPROVED review `5893913692` (6 findings, F19 to F24, reviewer labels F15-F20) and `copilot-pull-request-reviewer`'s review `5894073993` (3 findings, F25 to F27, reviewer labels F19-F21). F26 and F27 are independent re-raises of F21 and F23 (same underlying concerns, found separately by both reviewers in this round). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F19-F27`: added the skill-link marker (F19); cited the first commit by subject and corrected the Ownership note's reply-count attribution (F20); recaptured V5 on torrust-runner-01 (read-only, maintainer-approved) with a fresh, internally-consistent listing (F21, F26); corrected the V1 patch's second hunk header and the `cp` location prose (F22); recorded the real V5 capture time throughout (F23, F27); ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24); reclassified F18 as `RE_RAISE_OF:F13` (F25). Replied on all nine threads, then resolved them. From 7eb06c598bcbf13305edd8fa85ff593f9149e115 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 22:49:10 +0000 Subject: [PATCH 07/11] docs(issues): [#2855] address PR #2856 review findings F28-F31 Round 4: da2ce7's APPROVED review 5899089435 (F28-F31, reviewer labels F21-F24). - Named the pre-fix script by its durable develop commit id ec1f58ec9 instead of a cp of the now-fixed working tree or an unqualified line number (F28). - Corrected the round-2 progress-log entry's container count (31 to 32) and timestamp, noting the original was wrong (F29). - Posted the F14 correction on F14's own thread instead of F16's, and removed the incorrect "(inferred)" tag from F25-F27 (F30). - Rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels, and to list all of that commit's fixes (F31). Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 7 +- .../manual-verification-evidence.md | 18 +++-- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 68 +++++++++++++++++-- 3 files changed, 79 insertions(+), 14 deletions(-) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md index 56fb3c9c32..e7e2f85294 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md @@ -45,7 +45,8 @@ What happens, step by step: 3. With the **uutils** `timeout` (the default `timeout` on Ubuntu 26.04, `rust-coreutils`), run without `--foreground`, the tracker never receives SIGINT: it keeps running, `--kill-after=3s` SIGKILLs the `docker run` client after 3 s instead, the status is 137, and the script's - `test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124` (line 39) fails, ending the step with + `test "${exit_status}" -eq 0 -o "${exit_status}" -eq 124` (line 39 at `ec1f58ec9`, the last + `develop` commit before PR #2857's fix merged) fails, ending the step with exit 1. The tracker log shows no shutdown line, matching the failing CI logs. Whether the signal reaches the client and is not forwarded, or never reaches the client at all, is a hypothesis (`manual-verification-evidence.md` V2); the fix below is correct under either @@ -149,9 +150,9 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 10:10 UTC - Claude Code (Claude Sonnet 5.5) - Drafted spec, reproduced the failure locally - `manual-verification-evidence.md` - 2026-11-13 10:12 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 - 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit) before this spec-only PR merged, deviating from the recommended spec-first PR sequence in `create-issue` (implementation was started in parallel rather than after merge); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 -- 2026-11-13 14:00 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (31 containers, all this script's, oldest predating the last green run), softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 +- 2026-11-13 15:20 UTC (backfilled stamp; no later than the 15:23:59 UTC commit that carries it) - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (32 containers, not the 31 this entry originally stated — the later round-4 recapture showed exactly 2 containers newer than this capture's newest, so this capture held at least 34 - 2 = 32, matching its own listing's row count; see PR-REVIEW.md F28-F29), all this script's, oldest predating the last green run, softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 - 2026-11-13 19:44 UTC - Claude Code (Claude Sonnet 5.5) - PR #2857 merged into `develop`; updated T3/AC1 wording and the Impact paragraph's container count in this spec to match -- 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 Copilot review findings F19-F21: reclassified F18 as `RE_RAISE_OF:F13` in the audit record; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies - `manual-verification-evidence.md` V5 +- 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 review findings F19-F27 (audit IDs; `da2ce7`'s APPROVED review contributed F19-F24, the automated reviewer's F25-F27): added the audit record's skill-link marker; cited a commit by its Conventional Commit subject instead of an id and corrected the Ownership note's reply-count attribution; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies; corrected the V1 patch's second hunk header and its `cp`-location prose; ran `linter all` and checked the criterion, and added the audit record to the PR description's Files touched list; reclassified F18 as `RE_RAISE_OF:F13` - `manual-verification-evidence.md` V1, V5; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` ## Acceptance Criteria diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md index 3702de891b..eb6b3de568 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -22,10 +22,13 @@ last-updated-utc: "2026-11-13 22:18" - Status: `DONE` (outcome: **Reproduced**) Setup (not committed; the instrumented copy is not retained as an issue-local artifact because the -complete patch below reconstructs it exactly from the unmodified script): +complete patch below reconstructs it exactly from the pre-fix script). The working tree's script +now carries the fix (PR #2857, merged into `develop`), so the pre-fix state is named by its +`develop` commit id, `ec1f58ec9` (the last commit before that merge), a durable reference that a +rebase cannot move: ```bash -cp contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh ./instrumented-copy.sh +git show ec1f58ec9:contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh > ./instrumented-copy.sh patch ./instrumented-copy.sh <<'PATCH' --- a/test-mounted-no-persistence-configuration.sh +++ b/instrumented-copy.sh @@ -40,10 +43,10 @@ patch ./instrumented-copy.sh <<'PATCH' PATCH ``` -`PROJECT_ROOT` is pinned because the `cp` on the first line runs from, and so puts the copy in, the -repository root (the `cp` source path is relative) instead of the script's nested path under that -root; the `run_tracker` call itself is unchanged, only instrumented to print the real exit status -before the accept/reject `test`. +`PROJECT_ROOT` is pinned because the `git show` redirect on the first line runs from, and so puts +the copy in, the repository root instead of the script's nested path under that root; the +`run_tracker` call itself is unchanged, only instrumented to print the real exit status before the +accept/reject `test`. Command: `IMAGE_TAG=tt:repro BUILD_IMAGE=false bash -x ./instrumented-copy.sh` @@ -58,7 +61,8 @@ RUN_TRACKER_STATUS=137 The container log ends at `Tracker shutdown signal handlers installed.` plus health-check requests, with no `shutting down (SIGINT)` line, as in the failing CI logs (run 43299605132). -CI's script exits 1 because of the `test` on line 39 of +CI's script exits 1 because of the `test` on line 39 at `ec1f58ec9` (the last `develop` commit +before PR #2857's fix merged) of `contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh`, not because `docker run` itself returned 1. diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index 623be85a68..547d34fd81 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -61,7 +61,10 @@ F19-F21 in each comment's own title, reassigned on collision with `da2ce7`'s rou both submitted on the head whose last commit has the subject `docs(issues): [#2855] address PR #2856 review findings F8-F14`. F26 and F27 are the automated reviewer's independent re-raises of `da2ce7`'s F21 and F23 (same concerns, found separately by both reviewers in the same round, not -one reviewer repeating the other's finding). +one reviewer repeating the other's finding). Round 4 is `da2ce7`'s APPROVED review `5899089435` +(F28 to F31, reviewer labels F21-F24, reassigned on collision with round-3 usage), submitted on +the head whose last commit has the subject `docs(issues): [#2855] address PR #2856 review +findings F19-F27`. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -89,9 +92,13 @@ one reviewer repeating the other's finding). | F22 | review-finding:pr-2856-f22 | Human | Nit | testing | ORIGINAL | FIXED | RESOLVED | | F23 | review-finding:pr-2856-f23 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F24 | review-finding:pr-2856-f24 | Human | Nit | metadata | ORIGINAL | FIXED | RESOLVED | -| F25 | review-finding:pr-2856-f25 | Copilot | Minor (inferred) | documentation | ORIGINAL | FIXED | RESOLVED | -| F26 | review-finding:pr-2856-f26 | Copilot | Nit (inferred) | documentation | RE_RAISE_OF:F21 | FIXED | RESOLVED | -| F27 | review-finding:pr-2856-f27 | Copilot | Minor (inferred) | documentation | RE_RAISE_OF:F23 | FIXED | RESOLVED | +| F25 | review-finding:pr-2856-f25 | Copilot | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F26 | review-finding:pr-2856-f26 | Copilot | Nit | documentation | RE_RAISE_OF:F21 | FIXED | RESOLVED | +| F27 | review-finding:pr-2856-f27 | Copilot | Minor | documentation | RE_RAISE_OF:F23 | FIXED | RESOLVED | +| F28 | review-finding:pr-2856-f28 | Human | Minor | testing | ORIGINAL | FIXED | RESOLVED | +| F29 | review-finding:pr-2856-f29 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F30 | review-finding:pr-2856-f30 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F31 | review-finding:pr-2856-f31 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -446,8 +453,61 @@ one reviewer repeating the other's finding). - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569307085 +### F28 - V1 recipe and "line 39" describe the pre-fix script without naming it + +- PR number: 2856 +- Source review ID: 5899089435 +- Reviewer finding ID: F21 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569510300 +- Concern: PR #2857's fix merged into `develop`, so the working tree's script no longer has the `test` line V1's recipe and ISSUE.md's "line 39" describe (it is now a `case` block); a `cp` of the working tree and an unqualified "line 39" no longer name any real state. +- Solution: Named the pre-fix state by its durable `develop` commit id, `ec1f58ec9` (the last commit before the merge): V1's setup now reads `git show ec1f58ec9:...` instead of `cp` of the working tree, and both "line 39" references now say "line 39 at `ec1f58ec9`". +- Current-tree verification: Applied the patch to `git show ec1f58ec9:contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh` locally with `patch(1)`; it applies and produces the two intended edits. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569539309 + +### F29 - Round-2 progress-log entry's container count and time were wrong + +- PR number: 2856 +- Source review ID: 5899089435 +- Reviewer finding ID: F22 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569510320 +- Concern: The round-4 recapture shows exactly 2 containers newer than the round-2 capture's newest (13:46:16); since containers cannot be created with a past creation time, the round-2 capture held at least 34 - 2 = 32, not the 31 its progress-log entry stated (which matched its own listing's row count, 3 + 27 + 2, but not the `wc -l` it also recorded). Separately, the entry's 14:00 stamp still predates the capture it reports (no earlier than roughly 15:16, per F19/F23's prior reasoning). +- Solution: Corrected the round-2 progress-log entry's count to 32 and its timestamp to "15:20 UTC (backfilled; no later than the 15:23:59 UTC commit that carries it)", with a note that the entry originally stated 31. +- Current-tree verification: `ISSUE.md` progress log, the round-2 entry. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569540164 + +### F30 - F14's correction reply landed on the wrong thread; F25-F27 wrongly marked "(inferred)" + +- PR number: 2856 +- Source review ID: 5899089435 +- Reviewer finding ID: F23 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569510328 +- Concern: The reply correcting F14's commit-id citation was posted on F16's own thread instead of F14's; separately, F25-F27 carried "(inferred)" although their source comments open with explicit severity brackets (`[Minor][F19]`, `[Nit][F20]`, `[Minor][F21]`), not free prose. +- Solution: Posted a new reply directly on F14's thread with the correction; removed "(inferred)" from F25, F26 and F27. +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` F25-F27 rows. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569541157 + +### F31 - 22:18 progress-log entry cited the wrong finding IDs and omitted fixes + +- PR number: 2856 +- Source review ID: 5899089435 +- Reviewer finding ID: F24 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569510342 +- Concern: The entry cited "F19-F21", the automated reviewer's own labels, while in this audit those findings are F25-F27 and F19-F21 are other, unrelated findings; it also omitted several of the same commit's fixes (the skill-link marker, the commit cited by subject, the V1 hunk header and `cp` prose, the `linter all` criterion). +- Solution: Rewrote the entry to cite the audit IDs (F19-F27) and list all of that commit's fixes. +- Current-tree verification: `ISSUE.md` progress log, the 22:18 entry. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569542129 + ## Processing Log - 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. - 2026-11-13 14:00 UTC - Started this record late, after round 2 arrived. Processing round 2: `da2ce7`'s review `5890192507` (7 findings, F8 to F14) and `copilot-pull-request-reviewer`'s review `5891738510` (1 finding, F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8). - 2026-11-13 22:30 UTC - Processing round 3: `da2ce7`'s APPROVED review `5893913692` (6 findings, F19 to F24, reviewer labels F15-F20) and `copilot-pull-request-reviewer`'s review `5894073993` (3 findings, F25 to F27, reviewer labels F19-F21). F26 and F27 are independent re-raises of F21 and F23 (same underlying concerns, found separately by both reviewers in this round). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F19-F27`: added the skill-link marker (F19); cited the first commit by subject and corrected the Ownership note's reply-count attribution (F20); recaptured V5 on torrust-runner-01 (read-only, maintainer-approved) with a fresh, internally-consistent listing (F21, F26); corrected the V1 patch's second hunk header and the `cp` location prose (F22); recorded the real V5 capture time throughout (F23, F27); ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24); reclassified F18 as `RE_RAISE_OF:F13` (F25). Replied on all nine threads, then resolved them. +- 2026-11-13 22:45 UTC - Processing round 4: `da2ce7`'s APPROVED review `5899089435` (4 findings, F28 to F31, reviewer labels F21-F24). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F28-F31`: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the (now fixed) working tree or an unqualified line number (F28); corrected the round-2 progress-log entry's container count (31 to 32) and timestamp, noting the original was wrong (F29); posted the F14 correction on F14's own thread instead of F16's, and removed the incorrect "(inferred)" tag from F25-F27 (F30); rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels and to list all of that commit's fixes (F31). Replied on all four threads, then resolved them. From 31b6a3429ffdda1d92f238e4d45f2995a218c204 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 22:59:40 +0000 Subject: [PATCH 08/11] docs(issues): [#2855] archive the completed issue specification Round 5: copilot-pull-request-reviewer's review 5899193311 (F32-F33, reviewer label F28 for both), submitted against the round-3 head before round 4's fix was pushed. - Moved the issue folder from docs/issues/open/ to docs/issues/closed/ now that PR #2857 has merged and issue #2855 is closed; set status: done, and updated spec-path and the evidence file's issue-spec reference (F32). - F33 duplicates round 4's F28 (pin V1 to the pre-fix script), already fixed before this review landed; no further action needed. Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 12 ++++--- .../manual-verification-evidence.md | 4 +-- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 35 ++++++++++++++++++- 3 files changed, 43 insertions(+), 8 deletions(-) rename docs/issues/{open => closed}/2855-container-regression-timeout-sigint/ISSUE.md (90%) rename docs/issues/{open => closed}/2855-container-regression-timeout-sigint/manual-verification-evidence.md (98%) diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md similarity index 90% rename from docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md rename to docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md index e7e2f85294..72f5e08e73 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md @@ -2,14 +2,14 @@ schema-version: 1 doc-type: issue issue-type: bug -status: planned +status: done priority: p1 epic: null github-issue: 2855 -spec-path: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md +spec-path: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" related-pr: 2857 -last-updated-utc: "2026-11-13 22:18" +last-updated-utc: "2026-11-13 22:55" semantic-links: skill-links: - create-issue @@ -138,12 +138,12 @@ run after it, plus the Container workflow on the fix PR. entry for the process deviation from the recommended spec-first PR sequence) - [x] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) - [x] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` -- [ ] Acceptance criteria reviewed after implementation and updated with evidence +- [x] Acceptance criteria reviewed after implementation and updated with evidence - [ ] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed - [ ] Reviewer validated acceptance criteria and updated checkboxes - [ ] Independent reviewer reports recorded in issue-local `agent-review-reports.md` when reviewers received this folder-style specification - [ ] Committer verified spec progress is up to date before commit -- [ ] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` +- [x] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` ### Progress Log @@ -153,6 +153,8 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 15:20 UTC (backfilled stamp; no later than the 15:23:59 UTC commit that carries it) - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (32 containers, not the 31 this entry originally stated — the later round-4 recapture showed exactly 2 containers newer than this capture's newest, so this capture held at least 34 - 2 = 32, matching its own listing's row count; see PR-REVIEW.md F28-F29), all this script's, oldest predating the last green run, softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 - 2026-11-13 19:44 UTC - Claude Code (Claude Sonnet 5.5) - PR #2857 merged into `develop`; updated T3/AC1 wording and the Impact paragraph's container count in this spec to match - 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 review findings F19-F27 (audit IDs; `da2ce7`'s APPROVED review contributed F19-F24, the automated reviewer's F25-F27): added the audit record's skill-link marker; cited a commit by its Conventional Commit subject instead of an id and corrected the Ownership note's reply-count attribution; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies; corrected the V1 patch's second hunk header and its `cp`-location prose; ran `linter all` and checked the criterion, and added the audit record to the PR description's Files touched list; reclassified F18 as `RE_RAISE_OF:F13` - `manual-verification-evidence.md` V1, V5; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` +- 2026-11-13 22:45 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-4 review findings F28-F31: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the now-fixed working tree or an unqualified line number; corrected the round-2 progress-log entry's container count (31 to 32) and timestamp; posted the F14 correction on F14's own thread instead of F16's, and removed an incorrect "(inferred)" tag from F25-F27; rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` +- 2026-11-13 22:55 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-5 Copilot review finding (archive the completed issue): PR #2857 merged and closed #2855 at 19:44 UTC, so this spec and its evidence file moved from `docs/issues/open/` to `docs/issues/closed/`, with `status: done`, `spec-path`, and the evidence file's `issue-spec` reference updated to the new location. The review's other new finding ("pin V1 to the pre-fix script") was already resolved by the round-4 F28 fix. ## Acceptance Criteria diff --git a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md similarity index 98% rename from docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md rename to docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md index eb6b3de568..30337f5c3d 100644 --- a/docs/issues/open/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence -issue-spec: docs/issues/open/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 22:18" +issue-spec: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md +last-updated-utc: "2026-11-13 22:55" --- # Manual Verification Evidence diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index 547d34fd81..8732b1b986 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -64,7 +64,11 @@ PR #2856 review findings F8-F14`. F26 and F27 are the automated reviewer's indep one reviewer repeating the other's finding). Round 4 is `da2ce7`'s APPROVED review `5899089435` (F28 to F31, reviewer labels F21-F24, reassigned on collision with round-3 usage), submitted on the head whose last commit has the subject `docs(issues): [#2855] address PR #2856 review -findings F19-F27`. +findings F19-F27`. Round 5 is `copilot-pull-request-reviewer`'s review `5899193311` (F32 to F33, +reviewer labels F28 for both, reassigned on collision with each other and with round-4 usage), +submitted against the round-3 head (before round 4's fix was pushed). F33 is an independent +re-raise of F28 (found separately by `da2ce7` in round 4 and by the automated reviewer here, on a +head that predates round 4's fix). | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -99,6 +103,8 @@ findings F19-F27`. | F29 | review-finding:pr-2856-f29 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | | F30 | review-finding:pr-2856-f30 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F31 | review-finding:pr-2856-f31 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F32 | review-finding:pr-2856-f32 | Copilot | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F33 | review-finding:pr-2856-f33 | Copilot | Minor | testing | RE_RAISE_OF:F28 | FIXED | RESOLVED | ## Finding Details @@ -505,9 +511,36 @@ findings F19-F27`. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569542129 +### F32 - Copilot: archive the completed issue specification + +- PR number: 2856 +- Source review ID: 5899193311 +- Reviewer finding ID: F28 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569586176 +- Concern: PR #2857 merged and closed #2855 at 19:44 UTC, before this document's latest update, but the spec still lived in the open backlog with `status: planned`; `docs/issues/open/README.md` reserves that directory for currently open issues. +- Solution: Moved the issue folder to `docs/issues/closed/`, set `status: done`, and updated `spec-path` and the evidence file's `issue-spec` reference to the new location; checked the two Workflow Checkpoints boxes that are now true (acceptance criteria reviewed with evidence; issue closed and spec moved) and added a progress-log entry. +- Current-tree verification: `docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md` and `manual-verification-evidence.md` exist; `docs/issues/open/2855-container-regression-timeout-sigint/` does not; `rg '2855-container-regression-timeout-sigint'` finds no remaining reference outside the moved folder and this audit record. +- Resolution reference: docs(issues): [#2855] archive the completed issue specification +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569614794 + +### F33 - Copilot: re-raise of F28 (V1 pinned to a pre-fix checkout) + +- PR number: 2856 +- Source review ID: 5899193311 +- Reviewer finding ID: F28 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569586233 +- Concern: Same concern as F28 (copying the working-tree script after PR #2857 merged copies the fixed script, not the one the recorded red run reproduces). This review was submitted against the round-3 head, before the F28 fix was pushed in round 4. +- Solution: No action beyond F28's existing fix: V1 already pins to `ec1f58ec9` via `git show`. +- Current-tree verification: Same as F28. +- Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569615703 + ## Processing Log - 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. - 2026-11-13 14:00 UTC - Started this record late, after round 2 arrived. Processing round 2: `da2ce7`'s review `5890192507` (7 findings, F8 to F14) and `copilot-pull-request-reviewer`'s review `5891738510` (1 finding, F18, reviewer label `F8`, reassigned on collision with `da2ce7`'s F8). - 2026-11-13 22:30 UTC - Processing round 3: `da2ce7`'s APPROVED review `5893913692` (6 findings, F19 to F24, reviewer labels F15-F20) and `copilot-pull-request-reviewer`'s review `5894073993` (3 findings, F25 to F27, reviewer labels F19-F21). F26 and F27 are independent re-raises of F21 and F23 (same underlying concerns, found separately by both reviewers in this round). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F19-F27`: added the skill-link marker (F19); cited the first commit by subject and corrected the Ownership note's reply-count attribution (F20); recaptured V5 on torrust-runner-01 (read-only, maintainer-approved) with a fresh, internally-consistent listing (F21, F26); corrected the V1 patch's second hunk header and the `cp` location prose (F22); recorded the real V5 capture time throughout (F23, F27); ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24); reclassified F18 as `RE_RAISE_OF:F13` (F25). Replied on all nine threads, then resolved them. - 2026-11-13 22:45 UTC - Processing round 4: `da2ce7`'s APPROVED review `5899089435` (4 findings, F28 to F31, reviewer labels F21-F24). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F28-F31`: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the (now fixed) working tree or an unqualified line number (F28); corrected the round-2 progress-log entry's container count (31 to 32) and timestamp, noting the original was wrong (F29); posted the F14 correction on F14's own thread instead of F16's, and removed the incorrect "(inferred)" tag from F25-F27 (F30); rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels and to list all of that commit's fixes (F31). Replied on all four threads, then resolved them. +- 2026-11-13 22:55 UTC - Processing round 5: `copilot-pull-request-reviewer`'s review `5899193311` (2 findings, F32 to F33, reviewer label F28 for both), submitted against the round-3 head, before round 4's fix was pushed. Fixed in commit `docs(issues): [#2855] archive the completed issue specification`: moved the issue folder to `docs/issues/closed/`, set `status: done`, and updated `spec-path` and the evidence file's `issue-spec` reference (F32). F33 was already resolved by round 4's F28 fix; no further action was needed. Replied on both threads, then resolved them. From 214f7d03121e53ea713c3c89e81866b5e0286e00 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Fri, 13 Nov 2026 23:04:30 +0000 Subject: [PATCH 09/11] docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37 Round 6: da2ce7's APPROVED review 5899245168 (F34-F37, reviewer labels F28-F31), submitted against the round-4 head, before round 5's archive fix was pushed. - F34 was already resolved by round 5's F32 fix (archiving the spec). - F35 (F32/F33 had no replies or audit rows): the replies predated the review, but the audit rows did not; they first appeared in the archive commit, 15 s after the review, which is what resolved F35. - Corrected F29's swapped count claim, its stray F28-F29 cross-reference, and a timestamp-format break in the round-2 progress-log entry (F36). - Added "run from the repository root" to V1's setup prose, with the reason (F37). Co-Authored-By: Claude Sonnet 5 --- .../ISSUE.md | 2 +- .../manual-verification-evidence.md | 4 +- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 65 ++++++++++++++++++- 3 files changed, 67 insertions(+), 4 deletions(-) diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md index 72f5e08e73..85b6566c19 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md @@ -150,7 +150,7 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 10:10 UTC - Claude Code (Claude Sonnet 5.5) - Drafted spec, reproduced the failure locally - `manual-verification-evidence.md` - 2026-11-13 10:12 UTC - Claude Code (Claude Sonnet 5.5) - Runner apt history confirms rust-coreutils 0.8.0 to 0.10.0 on 2026-11-12; issue #2855 created; spec moved to open/ - evidence V4 - 2026-11-13 11:20 UTC - Claude Code (Claude Sonnet 5.5) - Opened implementation PR #2857 (T3 commit) before this spec-only PR merged, deviating from the recommended spec-first PR sequence in `create-issue` (implementation was started in parallel rather than after merge); addressed PR #2856 review findings F1-F7: re-ran V1/V2 with recorded repeatable commands, added V3 (green recheck) and V5 (leftover-container evidence), rewrote the Background mechanism claim as a hypothesis, updated Scope, Implementation Plan and checkpoints - `manual-verification-evidence.md` V1-V5 -- 2026-11-13 15:20 UTC (backfilled stamp; no later than the 15:23:59 UTC commit that carries it) - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (32 containers, not the 31 this entry originally stated — the later round-4 recapture showed exactly 2 containers newer than this capture's newest, so this capture held at least 34 - 2 = 32, matching its own listing's row count; see PR-REVIEW.md F28-F29), all this script's, oldest predating the last green run, softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 +- 2026-11-13 15:20 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-2 review findings F8-F14: re-ran V5 on the runner with a full container list, an exited-count check and image/mount identification (32 containers, not the 31 this entry originally stated — the later round-4 recapture showed exactly 2 containers newer than this capture's newest, so this capture held at least 34 - 2 = 32, matching its own listing's row count of 3 + 27 + 2; see PR-REVIEW.md F29. This 15:20 stamp is itself backfilled, no later than the 15:23:59 UTC commit that carries it), all this script's, oldest predating the last green run, softened the Impact claim, named the fixing commit in V3, fixed the V1 diff (removed a no-op pair, added the real `PROJECT_ROOT` edit), fixed this log's backfilled timestamp, and marked T4/AC1-AC3 DONE now that PR #2857's `Test (Docker) (release)` job passed - `manual-verification-evidence.md` V1, V3, V5 - 2026-11-13 19:44 UTC - Claude Code (Claude Sonnet 5.5) - PR #2857 merged into `develop`; updated T3/AC1 wording and the Impact paragraph's container count in this spec to match - 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 review findings F19-F27 (audit IDs; `da2ce7`'s APPROVED review contributed F19-F24, the automated reviewer's F25-F27): added the audit record's skill-link marker; cited a commit by its Conventional Commit subject instead of an id and corrected the Ownership note's reply-count attribution; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies; corrected the V1 patch's second hunk header and its `cp`-location prose; ran `linter all` and checked the criterion, and added the audit record to the PR description's Files touched list; reclassified F18 as `RE_RAISE_OF:F13` - `manual-verification-evidence.md` V1, V5; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` - 2026-11-13 22:45 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-4 review findings F28-F31: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the now-fixed working tree or an unqualified line number; corrected the round-2 progress-log entry's container count (31 to 32) and timestamp; posted the F14 correction on F14's own thread instead of F16's, and removed an incorrect "(inferred)" tag from F25-F27; rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md index 30337f5c3d..028f6ed98b 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -25,7 +25,9 @@ Setup (not committed; the instrumented copy is not retained as an issue-local ar complete patch below reconstructs it exactly from the pre-fix script). The working tree's script now carries the fix (PR #2857, merged into `develop`), so the pre-fix state is named by its `develop` commit id, `ec1f58ec9` (the last commit before that merge), a durable reference that a -rebase cannot move: +rebase cannot move. Run from the repository root (`git show :` resolves `` from +the tree root regardless of the working directory, but the redirect below writes the copy into +the working directory, which the `PROJECT_ROOT` pinning below assumes is the repository root): ```bash git show ec1f58ec9:contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh > ./instrumented-copy.sh diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index 8732b1b986..eec1a86817 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -68,7 +68,11 @@ findings F19-F27`. Round 5 is `copilot-pull-request-reviewer`'s review `58991933 reviewer labels F28 for both, reassigned on collision with each other and with round-4 usage), submitted against the round-3 head (before round 4's fix was pushed). F33 is an independent re-raise of F28 (found separately by `da2ce7` in round 4 and by the automated reviewer here, on a -head that predates round 4's fix). +head that predates round 4's fix). Round 6 is `da2ce7`'s APPROVED review `5899245168` (F34 to +F37, reviewer labels F28-F31, reassigned on collision with round-4 usage), submitted against the +round-4 head (before round 5's archive fix was pushed, and concurrently with the automated +reviewer's round 5). F34 is an independent re-raise of F32 (found separately by the automated +reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix). | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -105,6 +109,10 @@ head that predates round 4's fix). | F31 | review-finding:pr-2856-f31 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F32 | review-finding:pr-2856-f32 | Copilot | Minor | metadata | ORIGINAL | FIXED | RESOLVED | | F33 | review-finding:pr-2856-f33 | Copilot | Minor | testing | RE_RAISE_OF:F28 | FIXED | RESOLVED | +| F34 | review-finding:pr-2856-f34 | Human | Minor | metadata | RE_RAISE_OF:F32 | FIXED | RESOLVED | +| F35 | review-finding:pr-2856-f35 | Human | Minor | documentation | ORIGINAL | NO_ACTION | RESOLVED | +| F36 | review-finding:pr-2856-f36 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F37 | review-finding:pr-2856-f37 | Human | Nit | testing | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -478,7 +486,7 @@ head that predates round 4's fix). - Source review ID: 5899089435 - Reviewer finding ID: F22 - Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569510320 -- Concern: The round-4 recapture shows exactly 2 containers newer than the round-2 capture's newest (13:46:16); since containers cannot be created with a past creation time, the round-2 capture held at least 34 - 2 = 32, not the 31 its progress-log entry stated (which matched its own listing's row count, 3 + 27 + 2, but not the `wc -l` it also recorded). Separately, the entry's 14:00 stamp still predates the capture it reports (no earlier than roughly 15:16, per F19/F23's prior reasoning). +- Concern: The round-4 recapture shows exactly 2 containers newer than the round-2 capture's newest (13:46:16); since containers cannot be created with a past creation time, the round-2 capture held at least 34 - 2 = 32, not the 31 its progress-log entry stated. The listing's own row count (3 + 27 + 2) was 32, matching this; only the entry's recorded `wc -l` and inspect-loop elision (2 + 29) said 31. Separately, the entry's 14:00 stamp still predates the capture it reports (no earlier than roughly 15:16, per F19/F23's prior reasoning). - Solution: Corrected the round-2 progress-log entry's count to 32 and its timestamp to "15:20 UTC (backfilled; no later than the 15:23:59 UTC commit that carries it)", with a note that the entry originally stated 31. - Current-tree verification: `ISSUE.md` progress log, the round-2 entry. - Resolution reference: docs(issues): [#2855] address PR #2856 review findings F28-F31 @@ -537,6 +545,58 @@ head that predates round 4's fix). - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569615703 +### F34 - Re-raise of F32 (spec status no longer matches its content) + +- PR number: 2856 +- Source review ID: 5899245168 +- Reviewer finding ID: F28 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569627092 +- Concern: Same concern as F32 (the spec's `status: planned` no longer matched its content now that #2857 merged and closed #2855). Submitted against the round-4 head, concurrently with the automated reviewer's round-5 review that raised the same point. +- Solution: Already resolved by F32's fix (archived to `docs/issues/closed/`, `status: done`). +- Current-tree verification: Same as F32. +- Resolution reference: docs(issues): [#2855] archive the completed issue specification +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569647983 + +### F35 - Claimed missing replies on F32/F33 (timing race, not a defect) + +- PR number: 2856 +- Source review ID: 5899245168 +- Reviewer finding ID: F29 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569627114 +- Concern: Stated that the threads underlying F32 and F33 had no reply and no audit row. +- Solution: No action: both had replies (r4569614794 at 22:57:37 UTC, r4569615703 at 22:57:45 UTC) and audit rows (F32, F33) before this review was submitted (22:59:25 UTC); the reviewer's view of the PR was evidently taken from a snapshot slightly before those replies posted. +- Current-tree verification: `gh api .../pulls/comments/4569614794` and `.../4569615703` show `created_at` before the review's `submitted_at`. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569648868 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569648868 + +### F36 - F29's count claim had the two numbers swapped; stray cross-reference and format break + +- PR number: 2856 +- Source review ID: 5899245168 +- Reviewer finding ID: F30 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569627120 +- Concern: F29's Concern text said 31 matched the listing's row count and implied 32 did not, but 3 + 27 + 2 = 32 (the listing), while 31 matched only the recorded `wc -l` and inspect-loop elision (2 + 29) — the two were swapped. Separately, the ISSUE.md round-2 entry's "see PR-REVIEW.md F28-F29" cited F28 (the unrelated V1 recipe) alongside F29 (the count), and the entry's backfilled-stamp parenthetical sat between "UTC" and " - ", breaking the other entries' "YYYY-MM-DD HH:MM UTC - ..." form. +- Solution: Corrected F29's Concern text to state the counts the right way round; changed the ISSUE.md cross-reference to cite F29 alone; moved the backfilled-stamp note into the entry's body, after the "UTC - ..." lead-in. +- Current-tree verification: `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` F29 entry; `ISSUE.md` round-2 progress-log entry. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569649706 + +### F37 - V1 setup's `git show` redirect assumes the repository root without saying so + +- PR number: 2856 +- Source review ID: 5899245168 +- Reviewer finding ID: F31 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569627129 +- Concern: `git show :` resolves `` from the tree root regardless of the working directory, but the redirect writes the copy into the working directory; run from a subdirectory, the pinned `PROJECT_ROOT` would miss `share/default/config/`. The setup did not say it must run from the repository root. +- Solution: Added "Run from the repository root" to the V1 setup prose, with the reason. +- Current-tree verification: `manual-verification-evidence.md` V1 setup paragraph. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569650360 + ## Processing Log - 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. @@ -544,3 +604,4 @@ head that predates round 4's fix). - 2026-11-13 22:30 UTC - Processing round 3: `da2ce7`'s APPROVED review `5893913692` (6 findings, F19 to F24, reviewer labels F15-F20) and `copilot-pull-request-reviewer`'s review `5894073993` (3 findings, F25 to F27, reviewer labels F19-F21). F26 and F27 are independent re-raises of F21 and F23 (same underlying concerns, found separately by both reviewers in this round). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F19-F27`: added the skill-link marker (F19); cited the first commit by subject and corrected the Ownership note's reply-count attribution (F20); recaptured V5 on torrust-runner-01 (read-only, maintainer-approved) with a fresh, internally-consistent listing (F21, F26); corrected the V1 patch's second hunk header and the `cp` location prose (F22); recorded the real V5 capture time throughout (F23, F27); ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24); reclassified F18 as `RE_RAISE_OF:F13` (F25). Replied on all nine threads, then resolved them. - 2026-11-13 22:45 UTC - Processing round 4: `da2ce7`'s APPROVED review `5899089435` (4 findings, F28 to F31, reviewer labels F21-F24). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F28-F31`: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the (now fixed) working tree or an unqualified line number (F28); corrected the round-2 progress-log entry's container count (31 to 32) and timestamp, noting the original was wrong (F29); posted the F14 correction on F14's own thread instead of F16's, and removed the incorrect "(inferred)" tag from F25-F27 (F30); rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels and to list all of that commit's fixes (F31). Replied on all four threads, then resolved them. - 2026-11-13 22:55 UTC - Processing round 5: `copilot-pull-request-reviewer`'s review `5899193311` (2 findings, F32 to F33, reviewer label F28 for both), submitted against the round-3 head, before round 4's fix was pushed. Fixed in commit `docs(issues): [#2855] archive the completed issue specification`: moved the issue folder to `docs/issues/closed/`, set `status: done`, and updated `spec-path` and the evidence file's `issue-spec` reference (F32). F33 was already resolved by round 4's F28 fix; no further action was needed. Replied on both threads, then resolved them. +- 2026-11-13 23:05 UTC - Processing round 6: `da2ce7`'s APPROVED review `5899245168` (4 findings, F34 to F37, reviewer labels F28-F31), submitted against the round-4 head, before round 5's archive fix was pushed. F34 was already resolved by round 5's F32 fix; no further action was needed. F35 (claimed F32/F33 had no replies) was declined: both had replies and audit rows before this review was submitted, evidently a snapshot-timing artifact, not a defect. Fixed in commit `docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37`: corrected F29's swapped count claim and its stray `F28-F29` cross-reference and timestamp-format break (F36); added "run from the repository root" to V1's setup prose, with the reason (F37). Replied on all four threads, then resolved them. From 3bd7c677b7934e9bbdbe9ece1359fd8b31fc80c7 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Sat, 14 Nov 2026 08:10:49 +0000 Subject: [PATCH 10/11] docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42 Round 7: da2ce7's review 5899469458 (F38-F42, reviewer labels F32-F36). - F38: the archive commit's message carried a closing keyword before an issue reference; reworded its body in a history rewrite (subject unchanged), with the maintainer's approval. - F39: recorded the completion review in implementation-retrospective.md and aligned the completion checkpoint and acceptance criterion. - F40: PR description now lists the docs/issues/closed/ paths. - F41: corrected F35's timeline (replies predated the review, audit rows did not) and its disposition; reworded the round-6 commit's message. - F42: added the round-6 progress-log entry and advanced both last-updated-utc stamps. Co-Authored-By: Claude Opus 5.5 --- .../ISSUE.md | 12 ++- .../implementation-retrospective.md | 77 ++++++++++++++++ .../manual-verification-evidence.md | 2 +- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 88 +++++++++++++++++-- 4 files changed, 167 insertions(+), 12 deletions(-) create mode 100644 docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md index 85b6566c19..9067ec13bd 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2855 spec-path: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" related-pr: 2857 -last-updated-utc: "2026-11-13 22:55" +last-updated-utc: "2026-11-14 08:06" semantic-links: skill-links: - create-issue @@ -139,7 +139,7 @@ run after it, plus the Container workflow on the fix PR. - [x] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) - [x] Manual verification scenarios executed and recorded in issue-local `manual-verification-evidence.md` - [x] Acceptance criteria reviewed after implementation and updated with evidence -- [ ] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed +- [x] Evidence-based implementation completion review recorded: issue-local retrospective created for material discoveries, or progress log states why none was needed - [ ] Reviewer validated acceptance criteria and updated checkboxes - [ ] Independent reviewer reports recorded in issue-local `agent-review-reports.md` when reviewers received this folder-style specification - [ ] Committer verified spec progress is up to date before commit @@ -155,6 +155,8 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 22:18 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-3 review findings F19-F27 (audit IDs; `da2ce7`'s APPROVED review contributed F19-F24, the automated reviewer's F25-F27): added the audit record's skill-link marker; cited a commit by its Conventional Commit subject instead of an id and corrected the Ownership note's reply-count attribution; re-ran V5 on the runner with a fresh, internally-consistent capture (34 containers, 0 exited, same oldest leftover) and recorded its real capture time, resolving the stale-timestamp and elided-count inconsistencies; corrected the V1 patch's second hunk header and its `cp`-location prose; ran `linter all` and checked the criterion, and added the audit record to the PR description's Files touched list; reclassified F18 as `RE_RAISE_OF:F13` - `manual-verification-evidence.md` V1, V5; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` - 2026-11-13 22:45 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-4 review findings F28-F31: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the now-fixed working tree or an unqualified line number; corrected the round-2 progress-log entry's container count (31 to 32) and timestamp; posted the F14 correction on F14's own thread instead of F16's, and removed an incorrect "(inferred)" tag from F25-F27; rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` - 2026-11-13 22:55 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-5 Copilot review finding (archive the completed issue): PR #2857 merged and closed #2855 at 19:44 UTC, so this spec and its evidence file moved from `docs/issues/open/` to `docs/issues/closed/`, with `status: done`, `spec-path`, and the evidence file's `issue-spec` reference updated to the new location. The review's other new finding ("pin V1 to the pre-fix script") was already resolved by the round-4 F28 fix. +- 2026-11-13 23:05 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-6 review findings F34-F37: corrected the round-2 entry's swapped container-count claim and its timestamp form, and added the run-from-repository-root note to V1's setup - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` +- 2026-11-14 08:06 UTC - Claude Code (Claude Opus 5.5) - Addressed PR #2856 round-7 review findings F38-F42: reworded the archive commit's message so it no longer carries a closing keyword before an issue reference (subject unchanged); recorded the completion review in `implementation-retrospective.md` and re-reviewed the acceptance criteria against V3 and PR #2857's merged state (all still hold), checking both related boxes; listed the `closed/` paths in the PR description; corrected the round-6 audit timeline and advanced both files' `last-updated-utc` - `implementation-retrospective.md`; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` ## Acceptance Criteria @@ -163,7 +165,7 @@ run after it, plus the Container workflow on the fix PR. - [x] AC2: It still passes with GNU `timeout` (same branch). - [x] AC3: The Container workflow "Test (Docker) (release)" job is green on PR #2857. - [x] `linter all` exits with code `0` -- [ ] Acceptance criteria are re-reviewed after implementation and reflect actual behavior +- [x] Acceptance criteria are re-reviewed after implementation and reflect actual behavior ## Verification Plan @@ -198,7 +200,9 @@ run after it, plus the Container workflow on the fix PR. ## Implementation Completion Review -- Retrospective: `Not yet assessed` +- Retrospective: `implementation-retrospective.md` (plan deviation: implementation PR opened + before the spec-only PR merged; reusable lessons on durable pre-fix references and + `timeout --foreground`) ## References diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md b/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md new file mode 100644 index 0000000000..7df8691cbd --- /dev/null +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md @@ -0,0 +1,77 @@ +--- +semantic-links: + skill-links: + - write-markdown-docs + related-artifacts: + - docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md + - docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md + - contrib/dev-tools/containers/tests/test-mounted-no-persistence-configuration.sh + - .github/skills/dev/planning/create-issue/SKILL.md +--- + +# Implementation Retrospective — Issue #2855 + +## Purpose + +Record evidence-based process improvements discovered while fixing #2855 (Container regression +script fails when `timeout` is uutils). This is a blameless review of the implementation approach. + +## Outcome + +`run_tracker` now runs `timeout --foreground --signal=INT --kill-after=3s 10s docker run ...`, so +the tracker receives SIGINT under both GNU and uutils `timeout`, and the script prints the +unexpected exit status when it fails. The script passes locally under both implementations +(`manual-verification-evidence.md` V3), and PR #2857's `Test (Docker) (release)` job passed +before it merged into `develop`. + +## What Went Well + +1. Isolating the cause with a matrix of signal paths (`docker kill`, `kill -INT`, GNU and uutils + `timeout`, with and without `--foreground`; evidence V2) cleared the tracker's shutdown code + quickly and pointed at a single invocation. +2. The runner's apt history (evidence V4) explained why a docs-only diff turned the workflow red: + an unattended `rust-coreutils` upgrade between the last green and first red runs. + +## What Changed During Implementation + +- The implementation PR (#2857) was opened before this spec-only PR (#2856) merged, against the + spec-first sequence in `create-issue`. The fix did not change after spec review, but the spec PR + then needed many review rounds to reconcile its checkpoints, evidence and wording with an + implementation that had already moved on (including merging first). +- Leftover containers on the runner were found while gathering evidence (V5): failed runs leave + `docker run --rm` containers running, and the daily prune only removes stopped ones. Cleaning + that backlog was kept out of scope because it changes shared-runner state. +- Evidence first relied on a working-tree copy of the script and unqualified line numbers, which + went stale once the fix merged; it now names the pre-fix script by its `develop` commit + `ec1f58ec9`. + +## Root Cause + +- The regression came from a host-tool behavior difference (uutils `timeout` without + `--foreground`), and the self-hosted runner upgrades packages unattended, so CI behavior can + change with no repository change. +- Running spec and implementation PRs in parallel meant every implementation milestone (job + passing, merge, issue closing) forced another round of spec edits. + +## Improvements for Future Work + +1. Finish and merge the spec-only PR before opening the implementation PR, as `create-issue` + already recommends; the maintainer has confirmed this as the expected sequence. +2. In evidence, name pre-fix code by a durable `develop` commit id (`git show :`), not + by a working-tree copy or a line number in a file the fix will change. +3. In scripts that wrap `docker run` with `timeout`, pass `--foreground` so the signal reaches the + `docker` client regardless of the `timeout` implementation. + +## Avoiding Overcorrection + +No new rule for pinning runner packages or disabling unattended upgrades is justified by one +incident; the script fix makes it independent of the `timeout` implementation. Cleaning up the +leftover containers is a one-off maintenance action, not a new process. + +## Evidence + +- `docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md` +- `docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md` + V1-V5 +- PR #2857: `fix(container): [#2855] stop the tracker with timeout --foreground` +- `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md index 028f6ed98b..d3277b3856 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 22:55" +last-updated-utc: "2026-11-13 23:05" --- # Manual Verification Evidence diff --git a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md index eec1a86817..b443293330 100644 --- a/docs/pr-reviews/pr-2856-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2856-review/PR-REVIEW.md @@ -72,7 +72,10 @@ head that predates round 4's fix). Round 6 is `da2ce7`'s APPROVED review `589924 F37, reviewer labels F28-F31, reassigned on collision with round-4 usage), submitted against the round-4 head (before round 5's archive fix was pushed, and concurrently with the automated reviewer's round 5). F34 is an independent re-raise of F32 (found separately by the automated -reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix). +reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix). Round 7 is +`da2ce7`'s review `5899469458` (F38 to F42, reviewer labels F32-F36, reassigned on collision with +rounds 5 and 6), submitted against the head whose last commit has the subject `docs(issues): +[#2855] address PR #2856 review round-6 findings F34-F37`. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | @@ -110,9 +113,14 @@ reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix) | F32 | review-finding:pr-2856-f32 | Copilot | Minor | metadata | ORIGINAL | FIXED | RESOLVED | | F33 | review-finding:pr-2856-f33 | Copilot | Minor | testing | RE_RAISE_OF:F28 | FIXED | RESOLVED | | F34 | review-finding:pr-2856-f34 | Human | Minor | metadata | RE_RAISE_OF:F32 | FIXED | RESOLVED | -| F35 | review-finding:pr-2856-f35 | Human | Minor | documentation | ORIGINAL | NO_ACTION | RESOLVED | +| F35 | review-finding:pr-2856-f35 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | | F36 | review-finding:pr-2856-f36 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F37 | review-finding:pr-2856-f37 | Human | Nit | testing | ORIGINAL | FIXED | RESOLVED | +| F38 | review-finding:pr-2856-f38 | Human | Major | metadata | ORIGINAL | FIXED | RESOLVED | +| F39 | review-finding:pr-2856-f39 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F40 | review-finding:pr-2856-f40 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F41 | review-finding:pr-2856-f41 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F42 | review-finding:pr-2856-f42 | Human | Nit | metadata | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -558,16 +566,16 @@ reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix) - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569647983 -### F35 - Claimed missing replies on F32/F33 (timing race, not a defect) +### F35 - F32/F33 had no audit rows on the reviewed head - PR number: 2856 - Source review ID: 5899245168 - Reviewer finding ID: F29 - Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569627114 - Concern: Stated that the threads underlying F32 and F33 had no reply and no audit row. -- Solution: No action: both had replies (r4569614794 at 22:57:37 UTC, r4569615703 at 22:57:45 UTC) and audit rows (F32, F33) before this review was submitted (22:59:25 UTC); the reviewer's view of the PR was evidently taken from a snapshot slightly before those replies posted. -- Current-tree verification: `gh api .../pulls/comments/4569614794` and `.../4569615703` show `created_at` before the review's `submitted_at`. -- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569648868 +- Solution: The replies predated the review (r4569614794 at 22:57:37 UTC, r4569615703 at 22:57:45 UTC, against `submitted_at` 22:59:25 UTC), but the audit rows did not: rows F32 and F33 first appear in the archive commit, committed at 22:59:40 UTC, 15 s after the review, and the reviewed head (the round-4 commit) had neither. That commit resolved the finding. This entry first recorded it as `NO_ACTION`, claiming the rows also predated the review; F41 corrected that. +- Current-tree verification: `gh api .../pulls/comments/4569614794` and `.../4569615703` show `created_at` before the review's `submitted_at`; `git log -1 --format=%ai` on the archive commit shows 22:59:40 UTC (the author date, kept by round 7's message reword), and `git show` of the round-4 commit's `PR-REVIEW.md` has no F32 or F33 row. +- Resolution reference: docs(issues): [#2855] archive the completed issue specification - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569648868 @@ -597,6 +605,71 @@ reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix) - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569650360 +### F38 - Archive commit's message carries a closing keyword before an issue reference + +- PR number: 2856 +- Source review ID: 5899469458 +- Reviewer finding ID: F32 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569802907 +- Concern: The archive commit's message body said "merged and closed #2855", which matches the `open-pull-request` skill's closing-keyword pattern; a PR that must not close #2855 may not carry it, the branch's messages land on `develop`, and the skill says such a message cannot be fixed after the merge. +- Solution: Reworded that commit's body to "has merged and issue #2855 is closed" (subject unchanged) by amending it and replaying the later commits, then force-pushed with lease, with the maintainer's approval. A scan of every message in the PR range for the skill's pattern now finds no match. +- Current-tree verification: `git log --format=%B` over the PR range, folded to one line, has no closing keyword followed by an issue reference. +- Resolution reference: docs(issues): [#2855] archive the completed issue specification +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4572472253 + +### F39 - Completion review not recorded; checkpoint and criterion out of step + +- PR number: 2856 +- Source review ID: 5899469458 +- Reviewer finding ID: F33 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569802918 +- Concern: The spec was archived as `done` while the completion-review checkpoint was open and the Implementation Completion Review still said `Not yet assessed`; separately, the "acceptance criteria reviewed" checkpoint was checked while the matching acceptance criterion was not. +- Solution: Added an issue-local `implementation-retrospective.md` (the implementation PR opened before the spec-only PR merged is a meaningful plan deviation, with reusable lessons), linked it from the Implementation Completion Review, checked the completion-review checkpoint, and re-reviewed the acceptance criteria against V3 and PR #2857's merged state before checking the matching criterion. +- Current-tree verification: `docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md`; `ISSUE.md` Workflow Checkpoints, Acceptance Criteria, and Implementation Completion Review. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4572472480 + +### F40 - Description's Files touched still listed the `open/` paths + +- PR number: 2856 +- Source review ID: 5899469458 +- Reviewer finding ID: F34 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569802923 +- Concern: The PR description listed the spec and evidence file under `docs/issues/open/`, paths that will never exist on `develop`, and the merge tool copies the description into the merge commit. +- Solution: Updated the description via `gh-bot pr edit` to list the `docs/issues/closed/` paths, including the new retrospective. +- Current-tree verification: PR #2856 description. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4572472676 + +### F41 - F35's timeline claimed the audit rows predated the review + +- PR number: 2856 +- Source review ID: 5899469458 +- Reviewer finding ID: F35 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569802928 +- Concern: F35's entry, the round-6 processing-log line, and the round-6 commit message said both replies and audit rows predated the review; only the replies did, and the rows first appeared in the archive commit 15 s after it. +- Solution: Rewrote F35's entry with the real timeline and changed its disposition to `FIXED` by the archive commit; corrected the round-6 processing-log line; reworded the round-6 commit's message body (subject unchanged) in the same history rewrite as F38. +- Current-tree verification: F35 entry and the round-6 Processing Log line in this record; `git log -1 --format=%B` on the round-6 commit. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4572472877 + +### F42 - `last-updated-utc` stamps and progress log behind the round-6 edits + +- PR number: 2856 +- Source review ID: 5899469458 +- Reviewer finding ID: F36 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4569802931 +- Concern: The round-6 commit edited both `ISSUE.md` and `manual-verification-evidence.md`, but both still said `last-updated-utc: "2026-11-13 22:55"` and the progress log had no entry for those edits, while this record's Processing Log had one at 23:05. +- Solution: Added a 23:05 UTC progress-log entry for the round-6 edits; advanced the evidence file's stamp to 23:05 (its last edit) and `ISSUE.md`'s to this round's edit, with a matching round-7 entry. +- Current-tree verification: frontmatter of both files; `ISSUE.md` Progress Log. +- Resolution reference: docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2856#discussion_r4572473094 + ## Processing Log - 2026-11-13 11:20 UTC - `da2ce7`'s review `5889698232` (7 findings, F1 to F7) and `copilot-pull-request-reviewer`'s review `5889723390` (3 findings, F15 to F17) processed before this record existed: fixed in commit `f2f0e4e73` (branch id cited in the nine replies instead of this subject) and replied on all ten threads, then resolved. @@ -604,4 +677,5 @@ reviewer in round 5 and by `da2ce7` here, on a head that predates round 5's fix) - 2026-11-13 22:30 UTC - Processing round 3: `da2ce7`'s APPROVED review `5893913692` (6 findings, F19 to F24, reviewer labels F15-F20) and `copilot-pull-request-reviewer`'s review `5894073993` (3 findings, F25 to F27, reviewer labels F19-F21). F26 and F27 are independent re-raises of F21 and F23 (same underlying concerns, found separately by both reviewers in this round). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F19-F27`: added the skill-link marker (F19); cited the first commit by subject and corrected the Ownership note's reply-count attribution (F20); recaptured V5 on torrust-runner-01 (read-only, maintainer-approved) with a fresh, internally-consistent listing (F21, F26); corrected the V1 patch's second hunk header and the `cp` location prose (F22); recorded the real V5 capture time throughout (F23, F27); ran `linter all`, checked the criterion, and added the audit record to the PR description's Files touched list (F24); reclassified F18 as `RE_RAISE_OF:F13` (F25). Replied on all nine threads, then resolved them. - 2026-11-13 22:45 UTC - Processing round 4: `da2ce7`'s APPROVED review `5899089435` (4 findings, F28 to F31, reviewer labels F21-F24). Fixed in commit `docs(issues): [#2855] address PR #2856 review findings F28-F31`: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the (now fixed) working tree or an unqualified line number (F28); corrected the round-2 progress-log entry's container count (31 to 32) and timestamp, noting the original was wrong (F29); posted the F14 correction on F14's own thread instead of F16's, and removed the incorrect "(inferred)" tag from F25-F27 (F30); rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels and to list all of that commit's fixes (F31). Replied on all four threads, then resolved them. - 2026-11-13 22:55 UTC - Processing round 5: `copilot-pull-request-reviewer`'s review `5899193311` (2 findings, F32 to F33, reviewer label F28 for both), submitted against the round-3 head, before round 4's fix was pushed. Fixed in commit `docs(issues): [#2855] archive the completed issue specification`: moved the issue folder to `docs/issues/closed/`, set `status: done`, and updated `spec-path` and the evidence file's `issue-spec` reference (F32). F33 was already resolved by round 4's F28 fix; no further action was needed. Replied on both threads, then resolved them. -- 2026-11-13 23:05 UTC - Processing round 6: `da2ce7`'s APPROVED review `5899245168` (4 findings, F34 to F37, reviewer labels F28-F31), submitted against the round-4 head, before round 5's archive fix was pushed. F34 was already resolved by round 5's F32 fix; no further action was needed. F35 (claimed F32/F33 had no replies) was declined: both had replies and audit rows before this review was submitted, evidently a snapshot-timing artifact, not a defect. Fixed in commit `docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37`: corrected F29's swapped count claim and its stray `F28-F29` cross-reference and timestamp-format break (F36); added "run from the repository root" to V1's setup prose, with the reason (F37). Replied on all four threads, then resolved them. +- 2026-11-13 23:05 UTC - Processing round 6: `da2ce7`'s APPROVED review `5899245168` (4 findings, F34 to F37, reviewer labels F28-F31), submitted against the round-4 head, before round 5's archive fix was pushed. F34 was already resolved by round 5's F32 fix; no further action was needed. F35 (claimed F32/F33 had no replies or audit rows) was declined at the time, claiming both predated the review; round 7 (F41) showed only the replies did, while the rows first appeared in the archive commit 15 s after it, so F35 is now recorded as fixed by that commit. Fixed in commit `docs(issues): [#2855] address PR #2856 review round-6 findings F34-F37`: corrected F29's swapped count claim and its stray `F28-F29` cross-reference and timestamp-format break (F36); added "run from the repository root" to V1's setup prose, with the reason (F37). Replied on all four threads, then resolved them. +- 2026-11-14 08:06 UTC - Processing round 7: `da2ce7`'s review `5899469458` (5 findings, F38 to F42, reviewer labels F32-F36). This round exceeded the five-round limit, so the maintainer was asked first and approved the history rewrite F38 needs. Reworded the archive commit's message (F38) and the round-6 commit's message (F41), both subjects unchanged, and force-pushed with lease. Fixed in commit `docs(issues): [#2855] address PR #2856 review round-7 findings F38-F42`: added `implementation-retrospective.md` and aligned the completion checkpoint and acceptance criterion (F39); corrected F35's timeline and disposition (F41); added the round-6 progress-log entry and advanced both stamps (F42). Updated the PR description's Files touched to the `closed/` paths (F40). Replied on all five threads, then resolved them. From 4381efc41f2aa4fbb2d006f16191d9eaa574b604 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Sat, 14 Nov 2026 08:32:55 +0000 Subject: [PATCH 11/11] docs(issues): [#2855] address PR #2856 review round-8 findings F43-F44 Round 8: da2ce7's APPROVED review 5903140732 (F43-F44, reviewer labels F37-F38). - F43: V3 predated PR #2857's review-fix change to the script, so reran it on the merged script under uutils and GNU timeout (both pass), added PR #2857's final-head Docker run to AC3, and corrected the retrospective and the round-7 progress-log sentence. - F44: the PR description now says the history was rewritten. Co-Authored-By: Claude Opus 5.5 --- .../ISSUE.md | 11 +++--- .../implementation-retrospective.md | 22 +++++++----- .../manual-verification-evidence.md | 28 ++++++++++++++- docs/pr-reviews/pr-2856-review/PR-REVIEW.md | 34 ++++++++++++++++++- 4 files changed, 80 insertions(+), 15 deletions(-) diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md index 9067ec13bd..09e30288c0 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2855 spec-path: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md branch: "2855-container-regression-timeout-sigint-spec" related-pr: 2857 -last-updated-utc: "2026-11-14 08:06" +last-updated-utc: "2026-11-14 08:40" semantic-links: skill-links: - create-issue @@ -156,7 +156,8 @@ run after it, plus the Container workflow on the fix PR. - 2026-11-13 22:45 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-4 review findings F28-F31: named the pre-fix script by its durable `develop` commit id `ec1f58ec9` instead of a `cp` of the now-fixed working tree or an unqualified line number; corrected the round-2 progress-log entry's container count (31 to 32) and timestamp; posted the F14 correction on F14's own thread instead of F16's, and removed an incorrect "(inferred)" tag from F25-F27; rewrote the round-3 progress-log entry to cite audit IDs instead of the automated reviewer's own labels - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` - 2026-11-13 22:55 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-5 Copilot review finding (archive the completed issue): PR #2857 merged and closed #2855 at 19:44 UTC, so this spec and its evidence file moved from `docs/issues/open/` to `docs/issues/closed/`, with `status: done`, `spec-path`, and the evidence file's `issue-spec` reference updated to the new location. The review's other new finding ("pin V1 to the pre-fix script") was already resolved by the round-4 F28 fix. - 2026-11-13 23:05 UTC - Claude Code (Claude Sonnet 5.5) - Addressed PR #2856 round-6 review findings F34-F37: corrected the round-2 entry's swapped container-count claim and its timestamp form, and added the run-from-repository-root note to V1's setup - `manual-verification-evidence.md` V1; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` -- 2026-11-14 08:06 UTC - Claude Code (Claude Opus 5.5) - Addressed PR #2856 round-7 review findings F38-F42: reworded the archive commit's message so it no longer carries a closing keyword before an issue reference (subject unchanged); recorded the completion review in `implementation-retrospective.md` and re-reviewed the acceptance criteria against V3 and PR #2857's merged state (all still hold), checking both related boxes; listed the `closed/` paths in the PR description; corrected the round-6 audit timeline and advanced both files' `last-updated-utc` - `implementation-retrospective.md`; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` +- 2026-11-14 08:06 UTC - Claude Code (Claude Opus 5.5) - Addressed PR #2856 round-7 review findings F38-F42: reworded the archive commit's message so it no longer carries a closing keyword before an issue reference (subject unchanged); recorded the completion review in `implementation-retrospective.md` and re-reviewed the acceptance criteria against V3 and PR #2857's merged state, checking both related boxes (that re-review was a reading of the merged diff, not a run; the 08:40 UTC entry records the rerun); listed the `closed/` paths in the PR description; corrected the round-6 audit timeline and advanced both files' `last-updated-utc` - `implementation-retrospective.md`; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` +- 2026-11-14 08:40 UTC - Claude Code (Claude Opus 5.5) - Addressed PR #2856 round-8 review findings F43-F44: V3 predated PR #2857's review-fix commit (which replaced the exit-status `test` with a `case`), so reran V3 on the merged script at `develop` `24230dd01` under uutils `timeout` 0.10.0 and GNU `timeout` 9.7 (both exit 0, four SIGINT shutdowns each); added PR #2857's final-head `Test (Docker) (release)` run to AC3; corrected the retrospective's claim that the fix did not change; noted the history rewrite in the PR description - `manual-verification-evidence.md` V3 rerun; `implementation-retrospective.md`; `docs/pr-reviews/pr-2856-review/PR-REVIEW.md` ## Acceptance Criteria @@ -188,9 +189,9 @@ run after it, plus the Container workflow on the fix PR. | AC ID | Status | Evidence | | ----- | ------ | -------- | -| AC1 | DONE | `manual-verification-evidence.md` V3 (uutils run) | -| AC2 | DONE | `manual-verification-evidence.md` V3 (GNU run via `PATH`) | -| AC3 | DONE | PR #2857 `Test (Docker) (release)` job: https://github.com/torrust/torrust-tracker/actions/runs/43410972003/job/131846372838 | +| AC1 | DONE | `manual-verification-evidence.md` V3 and V3 rerun on the merged script (uutils runs) | +| AC2 | DONE | `manual-verification-evidence.md` V3 and V3 rerun on the merged script (GNU runs via `PATH`) | +| AC3 | DONE | PR #2857 `Test (Docker) (release)` job on its first fix commit: https://github.com/torrust/torrust-tracker/actions/runs/43410972003/job/131846372838; and on its final head, after the review-fix commit: https://github.com/torrust/torrust-tracker/actions/runs/43456290657/job/132113463710 | ## Risks and Trade-offs diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md b/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md index 7df8691cbd..072ebe27a2 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/implementation-retrospective.md @@ -20,9 +20,10 @@ script fails when `timeout` is uutils). This is a blameless review of the implem `run_tracker` now runs `timeout --foreground --signal=INT --kill-after=3s 10s docker run ...`, so the tracker receives SIGINT under both GNU and uutils `timeout`, and the script prints the -unexpected exit status when it fails. The script passes locally under both implementations -(`manual-verification-evidence.md` V3), and PR #2857's `Test (Docker) (release)` job passed -before it merged into `develop`. +unexpected exit status when it fails. The merged script passes locally under both +implementations (`manual-verification-evidence.md` V3 rerun, on `develop` at `24230dd01`), and +PR #2857's `Test (Docker) (release)` job passed on its final head, which includes the review-fix +commit, before it merged into `develop`. ## What Went Well @@ -35,9 +36,12 @@ before it merged into `develop`. ## What Changed During Implementation - The implementation PR (#2857) was opened before this spec-only PR (#2856) merged, against the - spec-first sequence in `create-issue`. The fix did not change after spec review, but the spec PR - then needed many review rounds to reconcile its checkpoints, evidence and wording with an - implementation that had already moved on (including merging first). + spec-first sequence in `create-issue`. The fix itself changed after the spec review began: PR + #2857's review-fix commit, `fix(container): [#2855] address PR #2857 review findings F2-F4,F7`, + replaced the exit-status `test` with a `case` that prints the unexpected status. V3 had been run + before that commit, so it was rerun on the merged script (V3 rerun). The spec PR also needed many + review rounds to reconcile its checkpoints, evidence and wording with an implementation that had + already moved on (including merging first). - Leftover containers on the runner were found while gathering evidence (V5): failed runs leave `docker run --rm` containers running, and the daily prune only removes stopped ones. Cleaning that backlog was kept out of scope because it changes shared-runner state. @@ -57,9 +61,11 @@ before it merged into `develop`. 1. Finish and merge the spec-only PR before opening the implementation PR, as `create-issue` already recommends; the maintainer has confirmed this as the expected sequence. -2. In evidence, name pre-fix code by a durable `develop` commit id (`git show :`), not +2. Repeat the final recheck after any review-driven change to the fix, as the `fix-bug` skill + asks, and name the commit it ran on. +3. In evidence, name pre-fix code by a durable `develop` commit id (`git show :`), not by a working-tree copy or a line number in a file the fix will change. -3. In scripts that wrap `docker run` with `timeout`, pass `--foreground` so the signal reaches the +4. In scripts that wrap `docker run` with `timeout`, pass `--foreground` so the signal reaches the `docker` client regardless of the `timeout` implementation. ## Avoiding Overcorrection diff --git a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md index d3277b3856..22783a5744 100644 --- a/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md +++ b/docs/issues/closed/2855-container-regression-timeout-sigint/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/closed/2855-container-regression-timeout-sigint/ISSUE.md -last-updated-utc: "2026-11-13 23:05" +last-updated-utc: "2026-11-14 08:40" --- # Manual Verification Evidence @@ -123,6 +123,32 @@ to `PATH` containing only a `timeout -> /usr/bin/gnutimeout` symlink, so the unm (which calls `timeout` by bare name) resolves to the GNU implementation without editing the script. +#### V3 rerun on the merged script + +The runs above predate PR #2857's review-fix commit, `fix(container): [#2855] address PR #2857 +review findings F2-F4,F7`, which replaced the exit-status `test` with a `case` that prints the +unexpected status and returns 1. Rerun on 2026-11-14 at 08:29 UTC on the script as merged into +`develop` at `24230dd01` (the merge of PR #2857; checked out into the working tree for the runs, +`git diff --quiet 24230dd01 --