Repository navigation
chore(issues): archive closed issue #2518 spec to docs/issues/closed - #2615
Conversation
…closed Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
What changed in this PR
Archives the spec for issue #2518 by marking it done and updating documentation links to point at the closed-issues location.
Changes:
- Updated #2518 spec frontmatter, workflow checkboxes, and progress log to reflect closure/archival.
- Repointed documentation links from
docs/issues/open/...todocs/issues/closed/.... - Touched related specs/docs to keep cross-references consistent.
| File | Description |
|---|---|
| docs/pr-reviews/pr-2519-review/PR-REVIEW.md | Updates the related artifact link to the archived (#2518) spec path. |
| docs/issues/open/2518-http-first-announce-benchmark/manual-verification-evidence.md | Updates the issue-spec link and timestamp to the closed location. |
| docs/issues/open/2518-http-first-announce-benchmark/ISSUE.md | Marks the issue as done/closed, updates spec-path/related PR, and checks archival checkboxes. |
| docs/issues/closed/2536-1669-hide-statistics-repository-read-lock/ISSUE.md | Updates cross-reference to #2518 to point to the closed location and refreshes timestamp. |
| docs/benchmarking.md | Updates the benchmarking document’s link to the archived #2518 spec. |
Review effort: Lite
|
ACK c2fdf1f |
…t listeners 01a65ac docs(pr-reviews): [#2416] record round 9 of the review of PR 2623 in the audit (Jose Celano) 3ab819e docs(pr-reviews): [#2416] correct the round 8 log entry's review time and edit count (Jose Celano) 4d0d764 docs(pr-reviews): [#2416] record round 8 of the review of PR 2623 in the audit (Jose Celano) cb6b908 docs(pr-reviews): [#2416] anchor the F18 verification so it does not match its own entry (Jose Celano) 734cebb docs(pr-reviews): [#2416] record round 7 of the review of PR 2623 in the audit (Jose Celano) c1ac427 docs(pr-reviews): [#2416] record N/A as the reviewer finding ID of the F17 entry (Jose Celano) 47b63b5 docs(pr-reviews): [#2416] add the PR 2623 review retrospective (Jose Celano) d2b8e32 docs(issues): [#2416] append the correction of the unverified model stamps to the logs (Jose Celano) ae80d57 docs(pr-reviews): [#2416] record round 6 of the review of PR 2623 in the audit (Jose Celano) 1a68ea6 docs(pr-reviews): [#2416] make the audit's verification greps not match their own text (Jose Celano) 17409b2 docs(pr-reviews): [#2416] record round 5 of the review of PR 2623 in the audit (Jose Celano) ea7d6cf docs(pr-reviews): [#2416] attribute the figure of 23 to the audit entry, not to a reviewer (Jose Celano) faf21a1 docs(pr-reviews): [#2416] cite a branch commit by its subject, not its id, in the audit (Jose Celano) b382afa docs(pr-reviews): [#2416] record round 4 of the review of PR 2623 in the audit (Jose Celano) f25c370 docs(pr-reviews): [#2416] state the commit count of the branch when the update was chosen (Jose Celano) 77bbde9 docs(issues): [#2416] retain the M1 to M3 recheck logs in the evidence folder (Jose Celano) 732f987 docs(pr-reviews): [#2416] record round 3 of the review of PR 2623 in the audit (Jose Celano) ec8987e docs(issues): [#2416] name the UDP answered-request test in the singular in the AC2 evidence (Jose Celano) 86e84d5 docs(pr-reviews): [#2416] record round 2 of the review of PR 2623 in the audit (Jose Celano) 155d063 docs(issues): [#2416] name the tree of the UDP red run and give the true reason for mutation U-M1 (Jose Celano) 13abb03 docs(issues): [#2416] cite the UDP red and green in the AC2 evidence (Jose Celano) b181ff1 docs(architecture): [#2416] limit the cancelled-token sentence to a component that waits for nobody (Jose Celano) 2ebf69b docs(pr-reviews): [#2416] record the audit of the review of PR 2623 (Jose Celano) aadcb54 docs(issues): [#2416] record PR 2623 in the spec (Jose Celano) 94118db docs(issues): [#2416] mark T10 done in the issue and the sub-EPIC plan (Jose Celano) 113f9f9 docs(adrs): [#2416] point the ADR's sub-EPIC reference at the moved diagrams (Jose Celano) 2efbada docs(architecture): [#2416] say that only registrations with edges are refused after cancel() (Jose Celano) 8ca0e02 docs(adrs): [#2416] say that an abandoned stop() cancels the listeners without joining them (Jose Celano) 254fbb1 test(udp-server): [#2416] hold a UDP request in flight to test the late event when stopping (Jose Celano) 7f7208f test(udp-server): [#2416] assert the pre-drop listener holders in the UDP drop test (Jose Celano) d42a357 docs(shutdown): [#2416] record the checkpoint (c) decisions in both progress logs (Jose Celano) 56204b8 docs(skills): [#2416] document drafting an ADR in an issue folder in the create-adr skill (Jose Celano) ea558ef docs(shutdown): [#2416] record the independent review and the implementation retrospective (Jose Celano) e481dfa docs(shutdown): [#2416] record the manual verification and the acceptance evidence (Jose Celano) 34a8ab5 docs(architecture): [#2416] document the stop order, move the diagrams, and add the swarm bus (Jose Celano) 1c523f2 docs(adrs): [#2416] promote the shutdown-order ADR and supersede the cancellation-tree ADR (Jose Celano) 58acbd4 fix(axum-http-server,udp-server): [#2416] stop the server before the listeners in the test environments (Jose Celano) 59c9ce8 fix(bootstrap): [#2416] stop event producers before event listeners (Jose Celano) Pull request description: ## Summary This is sub-issue 4 of 4 of sub-EPIC #2410 (SI-22, under EPIC #1488). It closes loss window (b): events published after every listener of their bus had stopped were lost, because `JobManager::cancel()` cancelled every component at the same moment. Listeners are now cancelled only after every component that publishes on their buses has completed, or the shared deadline has aborted it. - `JobManager::spawn_with` takes `StopBefore` edges (`spawn` stays and means "no edges"). `cancel()` cancels the components that wait for nobody; `wait_for_all` cancels each of the others when the last component it waits for has completed in any state, and never before `cancel()`. Registration rejects unknown, released, foreign, not-earlier ids and edges after `cancel()` without leaving state behind. Logs name what each component waits for and what released it. - `EventFlows` and `Bus` (`src/bootstrap/event_flows.rs`) turn per-bus declarations into edges and reject a consumer registered after a producer of its bus; `src/app.rs` declares the buses of the HTTP and UDP instances and of torrent cleanup. - The HTTP and UDP test environments stop the server before the listeners, with independent tokens and one `DropGuard` each (D20), join-all failure reporting kept, and an abandoned `stop()` cancels the listeners without joining them, so none is left that was never asked to stop. - The shutdown-order ADR is promoted to `docs/adrs/` and the cancellation-tree ADR is marked superseded; the five diagrams moved to `docs/architecture/events.md` and `application-jobs.md`, which also documents the swarm bus that `events.md` omitted; the glossary, task inventory, and shutdown feature documents describe the final implementation; the `create-adr` skill documents the draft-ADR process (D15). Closes #2416 ## Validation - Bug proof: a `JobManager` stop-order test and a test on the real swarm event bus with controlled late producers were red against edges that were stored but not enforced, and are green now. Each test environment has a deterministic red and green late-event test (a request held in flight while `stop()` drains; the UDP one was added in review round 1), the UDP answered-request test is regression coverage, and the order is also guarded by staged-join unit tests. One mutation per lifecycle clause is recorded. - Real binary (`reproduce-lost-completions.sh` with the T0 parameters): control 500 of 500 persisted twice; race, two runs, answered minus persisted 0, no lag, abort or failure. After #2414 the real binary no longer loses events in this scenario, so the race runs are a recheck and not the proof of window (b); the stop-order logs under a mixed HTTP and UDP burst are in the evidence. - `linter all`, the pre-push checks (exit 0) and `cargo test --test lifecycle-signals` pass. An independent Task Reviewer report (no blocking finding) and the retrospective are in the issue folder. - The acceptance criteria are not ticked; the maintainer's review is the acceptance review. Evidence: `docs/issues/open/2416-2410-si-22-4-stop-producers-before-listeners/manual-verification-evidence.md` (V1 to V8; V8 retains the recheck logs in the `evidence/` folder) and sub-EPIC record entries 31 and 32. ## Notes The branch was cut from `develop` at the merge of #2615 and updated twice with `develop` by signed merge commits, not rebased, so the ids the review records cite stay valid: first for a conflict in `docs/adrs/index.md` (review round 3: the 20261021190318 row that `develop` appended; both rows are kept), then, clean, when GitHub reported the branch out of date. No temporary local patches are part of the branch. Sub-EPIC #2410 is not closed by this PR. The review audit is `docs/pr-reviews/pr-2623-review/PR-REVIEW.md`, and the review retrospective written at the maintainer's request is `docs/pr-reviews/pr-2623-review/review-retrospective.md`. ACKs for top commit: josecelano: ACK 01a65ac Tree-SHA512: 89ac2ee0c89e3d191bf85cede611fb79ee998eb1ae51e2544af51f2943036379e55e498b0036f8a73dc3edef5fcb79feebbfe9c51609ee10d4bef0bd9705130e
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: It only moved the #2518 issue specification to docs/issues/closed and repaired three links to it; no source, manifest or workflow file changed. |
Archives the spec for issue #2518 (closed on GitHub by #2611) from
docs/issues/open/todocs/issues/closed/.CLOSEDon GitHubstatus: done,spec-path,related-pr,last-updated-utc) and the workflow checkboxes, and logged the archival in the Progress Log. Theagent-review-reports.mdcheckpoint stays unchecked because no independent reviewer received the folderdocs/benchmarking.md, the Hide the statistics repositories' read lock and metric collection field #2536 spec, and the PR docs(issues): [#2518] add specification for #2518 #2519 review document