Skip to content

refactor: [#2521] remove the unused UDP statistics traits and services - #2529

Merged
josecelano merged 15 commits into
torrust:developfrom
josecelano:2521-1669-remove-unused-udp-stats-traits
Oct 14, 2026
Merged

josecelano merged 15 commits into
torrust:developfrom
josecelano:2521-1669-remove-unused-udp-stats-traits

Conversation

@josecelano

@josecelano josecelano commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Closes #2521

Parent EPIC: #1669

Summary

Removes the unused public statistics API from udp-core and udp-server. Nothing outside each item's own definition and tests consumed it: the REST runtime adapter (TrackerStatsAdapter) reads the concrete statistics repositories directly.

The still-accurate statistics event-flow documentation moves from each services.rs to its statistics/mod.rs. The stale pub udp4_connections_handled: u64 field example is replaced by a link to the real accessor (Metrics::udp4_connections_handled in udp-core, Metrics::udp4_connect_requests_accepted_total in udp-server), and the udp-core example's stale send_event call now uses the sender's send method.

BanningStats is out of scope; #2505 removed it (PR #2524).

Tests

  • udp-server: it_should_initialize_metrics_when_constructed_with_default now reads through get_stats() and still checks that Repository::default() initializes the described metrics. it_should_return_a_snapshot_of_the_initialized_metrics_collection, which only exercised the removed trait method, is deleted.
  • The two service tests (the_statistics_service_should_return_the_tracker_metrics in udp-core, it_should_return_aggregate_torrent_and_protocol_metrics in udp-server) are deleted with the function they tested. They also carried the only check that a new repository starts with its described metrics, so a new udp-core repository test and an extra assertion in udp-server's described-metrics test restore it (review finding F4); both were seen to fail on a mutation.
  • The udp-server repository tests that released the metrics read guard with an explicit drop() now read through a metrics_snapshot() test helper (review finding F3).

Files and packages touched

  • packages/udp-core: Cargo.toml, src/statistics/mod.rs, src/statistics/repository.rs, src/statistics/services.rs (deleted)
  • packages/udp-server: Cargo.toml, src/statistics/mod.rs, src/statistics/repository.rs, src/statistics/services.rs (deleted)
  • Cargo.lock: async-trait edge removed from both packages
  • docs/issues/open/1669-overhaul-packages/EPIC.md: SI-30 row note
  • docs/issues/open/2521-1669-remove-unused-udp-stats-traits/: spec progress, manual-verification-evidence.md, and captured REST responses in evidence/

Validation

  • cargo +stable test -p torrust-tracker-udp-core -p torrust-tracker-udp-server -p torrust-tracker-rest-api-runtime-adapter --all-features: passed
  • cargo machete --with-metadata: no unused dependencies
  • RUSTDOCFLAGS="-D warnings" cargo +nightly doc --no-deps -p torrust-tracker-udp-core -p torrust-tracker-udp-server: no warnings
  • cargo tree -e normal --depth 1 for both packages: the only difference from the baseline is the removed async-trait line, so no workspace dependency edge changes
  • Pre-commit hook (linter all, doc tests, and the rest) on every commit; pre-push hook (nightly fmt, check, and docs plus the full stable test suite) passed on the branch rebased onto current develop
  • Manual M1 (/api/v1/stats) and M2 (/api/v1/metrics), in JSON and Prometheus formats, before and after the change with one UDP announce: same keys, series, labels, and HELP/TYPE lines. Apart from processing-time values, /api/v1/stats is identical; /api/v1/metrics also differs, run to run, in recorded_at and in the order of metrics and series, which the comparison ignores (review finding F5). See manual-verification-evidence.md. The manual runs used throwaway helpers in the git-ignored .tmp/; nothing temporary is included in the branch.

Notes for reviewers

josecelano and others added 8 commits October 14, 2026 15:52
…ry trait

Nothing consumes the trait: the REST runtime adapter reads the concrete
statistics repository directly. Removing it also drops the async-trait
dependency, which only the trait used.

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

Nothing consumes the trait: the REST runtime adapter reads the concrete
statistics repository directly. Removing it also drops the async-trait
dependency, which only the trait used.

The default-construction test now reads through get_stats(), and the test
that only exercised the removed trait method is deleted.

Co-authored-by: Copilot <[email protected]>
Nothing calls statistics::services::get_metrics() or uses TrackerMetrics:
the REST runtime adapter reads the repository directly and takes swarm
metadata from tracker-core.

Move the statistics event-flow documentation to the statistics module,
pointing at the real Metrics accessor instead of a field that does not
exist.

Co-authored-by: Copilot <[email protected]>
Nothing calls statistics::services::get_metrics() or uses TrackerMetrics:
the REST runtime adapter reads the repository directly and takes swarm
metadata from tracker-core.

Move the statistics event-flow documentation to the statistics module,
pointing at the real Metrics accessor instead of a field that does not
exist.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 14, 2026 14:55
@josecelano josecelano self-assigned this Oct 14, 2026
@josecelano
josecelano requested a review from da2ce7 October 14, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

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

Copilot review overview

3 open findings
What changed in this PR

Removes unused UDP statistics abstraction layers and services from udp-core and udp-server, simplifying the public surface area while keeping existing REST metrics behavior unchanged.

Changes:

  • Deleted unused stats repository traits/impls and removed the async-trait dependency from both UDP packages.
  • Removed statistics::services modules (and their tests) and moved the event-flow documentation into statistics/mod.rs.
  • Added/updated issue-spec documentation and manual verification evidence artifacts for #2521 / EPIC #1669.
File Description
packages/​udp-server/​src/​statistics/​services.rs Deleted unused statistics service API (TrackerMetrics, get_metrics) and its unit test.
packages/​udp-server/​src/​statistics/​repository.rs Removed UdpServerStatsRepository trait/impl and updated tests to use Repository::get_stats().
packages/​udp-server/​src/​statistics/​mod.rs Moved event-flow documentation into module docs; removed pub mod services;.
packages/​udp-server/​Cargo.toml Dropped async-trait dependency from udp-server.
packages/​udp-core/​src/​statistics/​services.rs Deleted unused statistics service API (TrackerMetrics, get_metrics) and its unit test.
packages/​udp-core/​src/​statistics/​repository.rs Removed UdpCoreStatsRepository trait/impl and related imports.
packages/​udp-core/​src/​statistics/​mod.rs Moved event-flow documentation into module docs; removed pub mod services;.
packages/​udp-core/​Cargo.toml Dropped async-trait dependency from udp-core.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​manual-verification-evidence.md Added manual verification record and embedded artifacts/links for before/after REST outputs.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​baseline/​stats.prometheus Added captured baseline /api/v1/stats Prometheus response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​baseline/​stats.json Added captured baseline /api/v1/stats JSON response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​baseline/​metrics.prometheus Added captured baseline /api/v1/metrics Prometheus response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​baseline/​metrics.json Added captured baseline /api/v1/metrics JSON response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​baseline/​announce.json Added captured baseline UDP announce response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​after/​stats.prometheus Added captured post-change /api/v1/stats Prometheus response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​after/​stats.json Added captured post-change /api/v1/stats JSON response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​after/​metrics.prometheus Added captured post-change /api/v1/metrics Prometheus response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​after/​metrics.json Added captured post-change /api/v1/metrics JSON response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​evidence/​after/​announce.json Added captured post-change UDP announce response.
docs/​issues/​open/​2521-1669-remove-unused-udp-stats-traits/​ISSUE.md Updated spec status/progress/evidence and aligned related-artifacts with removed files.
docs/​issues/​open/​1669-overhaul-packages/​EPIC.md Updated SI-30 row to note trait removal in #2521 and BanningStats removal in #2505.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/udp-core/src/statistics/mod.rs Resolved
da2ce7
da2ce7 previously approved these changes Oct 14, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at 7a4d22b59c3d3654365639eaf2711115f472a58f. Recomputed from the bytes at this head, against the merge base 8045bd252; develop is 184446a2b (the #2527 merge) and the merge is clean.

Deletion safety. The diff removes from a pub surface UdpCoreStatsRepository and UdpServerStatsRepository with their get_metrics_collection impls, and both statistics::services modules with TrackerMetrics and get_metrics. At 184446a2b nothing outside the items' own files names them: no other package, the root crate, tests, benches, examples, READMEs or rustdoc links. The remaining mentions are closed specs, dated reports, EPIC history and the #1348 plan, which the spec's Risks leave alone. No crate root re-exports them. TrackerStatsAdapter holds the concrete repositories and reads get_stats().await.metric_collection (packages/rest-api-runtime-adapter/src/v1/adapters/stats.rs:76,138-142). Both crates are 0.1.0 and listed as not published (EPIC.md:117,119); registry state as reported.

Dependency. No async_trait is left in either package (src, tests, benches). Cargo.lock loses exactly one "async-trait", line under each package; the async-trait 0.1.92 entry stays for its five other dependents. No double_must_use allowance remains in either package.

Moved docs. 22 of 32 (udp-core) and 23 of 34 (udp-server) doc lines move verbatim. The rest are the stated fixes: the title, "An statistics" to "A statistics" with an explicit repository::Repository link, send_event to send (matching fn send(&self, event: Self::Event) in packages/events/src/sender.rs:26), and the field example replaced by links to Metrics::udp4_connections_handled and Metrics::udp4_connect_requests_accepted_total, both pub fn on the pub Metrics and in scope through use metrics::Metrics;.

Tests. The adapted it_should_initialize_metrics_when_constructed_with_default still builds Repository::default() and asserts the described counter through get_stats(). The deleted snapshot test and the two service tests called only removed items. The prose-first review is in the 12:53 progress-log entry, as write-unit-test/SKILL.md:294-295 requires. F4: the udp-core service test was also that package's only check that a new repository starts from describe_metrics().

Overlap. The #2527 hunks add a doc comment and two doctests on Repository that name only get_stats and the now-private field; nothing refers to the removed traits. In the merged tree both files read coherently, and "External callers read statistics through Repository::get_stats" becomes literally the only read path.

Spec and evidence. f32f70401 (12:48:52Z) precedes the first code commit (12:51:23Z). T1 to T7 are DONE, the ACs carry evidence, the checkpoints match the template, status: in-progress, and last-updated-utc matches the 14:47 entry. The SI-30 row note is accurate. Recomputing the ten evidence files: the announce response is byte-identical; both /api/v1/stats files match except the two average processing times; /api/v1/metrics keeps the same 27 metrics, 17 series, labels, types, units, descriptions and HELP/TYPE lines with the same two timing values differing, and also differs in recorded_at and in order (F5). No .tmp/ path is committed.

Hygiene. Eight Conventional Commits subjects with the right scopes and [#2521]; bodies match their diffs; each commit builds alone (046a28554 and 36b55e11d remove traits that the still-present services.rs never used: it reads get_stats()); author equals committer; ascending times; one trailer line each; no banned token; git diff --check clean; the body has "Closes #2521". F6: the spec does not record the rebase onto 8045bd252.

Review bot. Its three comments are numbered F1 to F3 in the order of their creation, the order the author's audit will record them. F1 (packages/udp-core/src/statistics/mod.rs:18) and F2 (packages/udp-server/src/statistics/mod.rs:20) suggest rust,ignore instead of text; no change needed, because the fence moved verbatim, ignore compiles nothing so it would not catch drift, and no_run would fail on the unbound event_sender. F3 (packages/udp-server/src/statistics/repository.rs:123) suggests a block scope instead of drop(stats); no change needed: an explicit drop is the sibling idiom in that test module for Clippy's significant_drop_tightening (nursery, warned in the workspace).

Findings. F4 [Minor], F5 [Nit], F6 [Nit], inline; none blocks.

Checked, no finding. Intra-doc link targets and visibility; the Cargo.lock edits; crate-root re-exports; the remaining double_must_use allowances belong to other packages' own async traits; related-pr: null (cleanup-completed-issues/SKILL.md:107 sets it at close); the dependency edges to tracker-core and primitives stay used; PR metadata (Conventional title, base develop).

Checks

On the loop's compute hub at this head, merge base 8045bd252 (git merge-tree clean against develop 184446a2b; receipt server-gates-krkavec-285): pre-commit profile gate exit 0 (144 s); linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 19 errors / 4 warnings at this head and 19 / 4 at 8045bd252 re-measured, none in the files this PR touches; cargo test --all-features exit 0 for torrust-tracker-udp-core (55 passed), torrust-tracker-udp-server (238) and torrust-tracker-rest-api-runtime-adapter (3); cargo clippy --all-targets -- -D warnings exit 0 with no diagnostics and cargo fmt --check exit 0 for all three; RUSTDOCFLAGS="-D warnings" cargo doc --no-deps for the two packages exit 0 with no diagnostics; the root crate's lib tests exit 0 (116 passed); cargo machete --with-metadata exit 0; cargo tree -e normal --depth 1 shows no async-trait edge for either package. Combined with the merged #2527 head (an uncommitted --no-ff merge on the hub, the content develop receives): cargo test exit 0 for udp-core (57 passed) and udp-server (240), cargo clippy --all-targets -- -D warnings exit 0 for both. GitHub checks at this head at posting time: "Publish (Release): completed/skipped; Publish (Development): completed/skipped; Context: completed/success; Package Coverage Regression: completed/success; Package Coverage (torrust-tracker-udp-server): completed/success; Package Coverage (torrust-tracker-udp-core): completed/success; Docker E2E: completed/skipped; Documented Clippy Allows: completed/success; Layer Boundary Bans: completed/success; Unit (nightly): completed/success; Build on ubuntu-latest (nightly): completed/success; Unit (stable): completed/success; Test (Docker) (release): completed/success; Build on windows-latest (stable): completed/success; Build on windows-latest (nightly): completed/success; Build on ubuntu-latest (stable): completed/success; Build on macos-latest (stable): completed/success; Build on macos-latest (nightly): completed/success; Discover Package Coverage: completed/success; Docs Lint: completed/success; Generate Coverage Report: completed/success". At posting, develop is 988c3bc76.

Comment thread packages/udp-core/src/statistics/mod.rs Resolved
@da2ce7

da2ce7 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

ACK 7a4d22b — the removed traits and services have no consumer left at develop, and the dependency edits, moved docs, tests, #2527 overlap, evidence files and eight commits were recomputed from the bytes with only non-blocking findings F4 to F6 remaining

josecelano and others added 3 commits October 14, 2026 16:41
…opping read guards

Four repository tests held the metrics read guard past their last use and
released it with an explicit drop() only to satisfy Clippy's
significant_drop_tightening. A test helper now copies the metrics, so the
guard never outlives the read and the tests need no drop().

Co-authored-by: Copilot <[email protected]>
…vent examples as Rust

Fence the event-sending examples as rust,ignore instead of text so rustdoc
highlights them. They stay uncompiled: they are fragments that need an
event sender in scope.

Co-authored-by: Copilot <[email protected]>
josecelano and others added 3 commits October 14, 2026 16:49
…ics checks lost with the services tests

The deleted service tests compared a new repository's metrics with
describe_metrics(). That was udp-core's only check that a new repository
starts with its described metrics, and udp-server's only check of
udp_tracker_server_performance_avg_processed_requests_total.

Add a udp-core repository test for the described counter, and assert the
missing metric in udp-server's described-metrics test. Both fail when the
description is removed.

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

The /api/v1/metrics responses also differ, run to run, in recorded_at and
in the order of metrics and series. The comparison ignored both, so the
evidence and AC3 no longer claim that only processing times differ.

Co-authored-by: Copilot <[email protected]>
…merge and the combined test run

Co-authored-by: Copilot <[email protected]>
@josecelano

Copy link
Copy Markdown
Member Author

ACK 9af096d

@josecelano
josecelano merged commit 90e8daf into torrust:develop Oct 14, 2026
21 checks passed
@josecelano
josecelano deleted the 2521-1669-remove-unused-udp-stats-traits branch October 14, 2026 16:28

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at 9af096dca635bbd27240dfd05922127df5be6695 (post-merge). Recomputed from the bytes at the merged head, against the merge base 8045bd252; the PR merged at 16:22:35Z as 90e8daf75.

Label: POST_MERGE_FINDINGS — The review was re-requested at 16:09:07Z, after the approval of 7a4d22b59 was dismissed at 15:45:49Z. The PR merged at 16:22:35Z, before this round ran. The finding below stands at the merged head for a follow-up, and no ACK follows a merged PR.

Delta. 7a4d22b59 is an ancestor of the merged head. The seven commits from 6501d5ece to 9af096dca change seven files: both statistics/mod.rs, both repository.rs, the spec, the evidence page and the new audit. The PR's other 16 paths have identical blobs at both heads, so the round-1 rulings on them carry. develop (48c4d3013) has not touched any of the PR's paths since the merge.

F4 fixed. udp-core gains it_should_contain_the_described_metrics_when_created, which builds Repository::new() and asserts contains_counter(&metric_name!(UDP_TRACKER_CORE_REQUESTS_RECEIVED_TOTAL)). If Repository::new() started from Metrics::default(), the collection would be empty and this assertion would fail, so the round-1 scenario is caught. In udp-server, the described-metrics test now asserts the eleventh metric (repository.rs:191), so all 11 are pinned.

F5 fixed. The evidence now says "/api/v1/metrics: the comparison ignores order and recorded_at" and lists the excluded differences with the recounted figures. AC3 and the PR body match.

F6 fixed. The 15:52 entry records the rebase onto 8045bd252 at about 14:52, which the committer times confirm, and that T7 and M1/M2 ran before it. It also records a combined run on a develop that contains the #2527 merge; its counts (52, 222 + 16, 3) match the test attributes at the merged head.

Bot comments. metrics_snapshot() copies the single-field Metrics. That type derives no Clone, so the struct literal is the copy, and adding a field breaks it at compile time. Its doc comment is accurate. The four tests still assert what their names say, no drop(stats) remains, and the only #[allow]s left are the cast allowances the gauge test still needs. On rust,ignore, the round-1 ruling stands: ignore checks nothing, which the commit body and both replies now state. connection_cookie.rs:23,43 in the same package already uses that fence, and no written convention prefers either form, so it buys highlighting only and is not a finding.

Audit. The rows for F1 to F6 match the capture. The bot rows are Nit (inferred) from its "Low severity", and F4 to F6 equal their brackets. All six are FIXED and RESOLVED, and every thread is resolved in the capture. Each reply sits on its own thread and is true against the tree, and the resolution references are branch subjects. The current-tree lines hold (repository.rs:64, :191, evidence :106). The Processing Log matches the commit, reply and dismissal times. The offline validator returns {"status": "ok", "rows": 6, "log_entries": 12, "failures": 0}.

Hygiene. The seven subjects are Conventional with [#2521]. The two-scope (udp-core, udp-server) form has precedent: five comma-scoped subjects in the history, three of them naming both packages, and the commit skill does not forbid it. Bodies match their diffs, author equals committer, each commit has one trailer line, there is no banned token, and git diff --check is clean.

Findings. F7 [Nit], inline: the new udp-core test has no recorded prose-first Arrange-Act-Assert comparison.

Checked, no finding. The merged tree carries both the #2527 private field and this PR's tests in both repository files. The helper reaches the race_conditions submodule through use super::*. The /api/v1/stats "HELP and TYPE lines" clause is true but empty: that endpoint's Prometheus output has none.

Checks

On the loop's compute hub at the merged head, merge base 8045bd252 (the first parent of the merge commit 90e8daf75; receipt server-gates-krkavec-294): pre-commit profile gate exit 0 (78 s); linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 19 errors / 4 warnings at this head and 19 / 4 at 8045bd252 re-measured, none in the files this PR touches; cargo test --all-features exit 0 for torrust-tracker-udp-core (56 passed), torrust-tracker-udp-server (238) and torrust-tracker-rest-api-runtime-adapter (3); cargo clippy --all-targets -- -D warnings exit 0 with no diagnostics and cargo fmt --check exit 0 for all three; RUSTDOCFLAGS="-D warnings" cargo doc --no-deps for the two packages exit 0 with no diagnostics; the root crate's lib tests exit 0 (116 passed); cargo machete --with-metadata exit 0; validate-audit-record.py --pr-number 2529 exit 0 against this head's audit record (6 rows, 12 log entries, 0 failures). GitHub checks at this head at posting time: "Publish (Release): completed/skipped; Publish (Development): completed/skipped; Context: completed/success; Package Coverage Regression: completed/success; Docker E2E: completed/skipped; Documented Clippy Allows: completed/success; Unit (nightly): completed/success; Layer Boundary Bans: completed/success; Unit (stable): completed/success; Package Coverage (torrust-tracker-udp-server): completed/success; Package Coverage (torrust-tracker-udp-core): completed/success; Test (Docker) (release): completed/success; Discover Package Coverage: completed/success; Generate Coverage Report: completed/success; Build on windows-latest (nightly): completed/success; Docs Lint: completed/success; Build on macos-latest (stable): completed/success; Build on macos-latest (nightly): completed/success; Build on ubuntu-latest (nightly): completed/success; Build on windows-latest (stable): completed/success; Build on ubuntu-latest (stable): completed/success". At posting, develop is 48c4d3013.

the rebased branch reran only the automated checks. Processed the rest of the PR #2529 review
round (Cameron's review 5520537884: F4 to F6). F4 restored the described-metrics checks that the
deleted service tests carried: a new `udp-core` repository test and the eleventh metric in
`udp-server`'s described-metrics test. Each was seen to fail on a mutation (a repository starting

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[Nit][F7] The new udp-core test has no recorded prose-first Arrange-Act-Assert comparison

write-unit-test/SKILL.md:280-295 makes the prose-first comparison "mandatory for every test-producing increment" and says to "Record the completed prose-first comparison in the task evidence or file-local test plan before maintainer review and commit."

test(udp-core, udp-server): [#2521] restore the described-metrics checks lost with the services tests adds it_should_contain_the_described_metrics_when_created (packages/udp-core/src/statistics/repository.rs:64). This entry records mutation checks for it, which is good evidence, but no Arrange-Act-Assert comparison. The T3 test change got one (:312-317), and the snapshot helper got a design note at 15:43. The test itself is small and clear; what is missing is the record.

Suggested follow-up: when the spec is archived, add a progress-log entry with the prose-first comparison for the new udp-core test and the eleventh udp-server assertion.

josecelano added a commit that referenced this pull request Oct 14, 2026
2488cae docs(pr-reviews): [#2521] record F2 in the PR #2532 review audit (Jose Celano)
700cecf docs(pr-reviews): [#2521] scope the PR #2532 audit's old-path search to the files outside it (Jose Celano)
5d0d92e docs(pr-reviews): [#2521] add the PR #2532 review audit (Jose Celano)
0c07b27 docs(issues): [#2521] point the archived #2517 spec at the closed #2521 spec (Jose Celano)
71730ad chore(issues): archive closed issue #2521 spec to docs/issues/closed (Jose Celano)

Pull request description:

  Archives the spec for issue #2521 (closed on GitHub when PR #2529 merged) from `docs/issues/open/` to `docs/issues/closed/`.

  - Verified issue #2521 is `CLOSED` on GitHub
  - Moved `docs/issues/open/2521-1669-remove-unused-udp-stats-traits/` (spec, manual-verification evidence, and captured responses) to `docs/issues/closed/`
  - Updated the spec's frontmatter (`status: done`, `spec-path`, `last-updated-utc`), ticked the reviewer, committer, and closure checkpoints, and added an archive progress-log entry; the independent-reviewer-reports checkpoint stays open because no review agent received the folder-style spec
  - Updated the evidence file's `issue-spec` path and the `related-artifacts` path in `docs/pr-reviews/pr-2529-review/PR-REVIEW.md`
  - EPIC #1669: ticked the #2521 sub-issue, set its table row to `DONE` with the closed path, updated the spec link list, and added a progress-log entry
  - Pre-commit and pre-push hooks passed

  Retained references to the old path: two `Current-tree verification` commands in the PR #2529 audit, which record the commands as run during that review.

  The Out of Scope pointer in the archived #2517 spec now names the closed path (Copilot review finding F1; audit in `docs/pr-reviews/pr-2532-review/PR-REVIEW.md`).

  Overlap with PR #2530 (archive #2517): it merged first, so this branch was rebased onto it. The EPIC #1669 conflicts were resolved by keeping both archive edits: the #2517 and #2521 checkboxes, table rows, and spec links all point at `docs/issues/closed/`, and both progress-log entries are kept in time order. The pre-commit gate passed on the rebased branch.

  Related to #2521 and #1669.

ACKs for top commit:
  josecelano:
    ACK 2488cae
  da2ce7:
    ACK 2488cae — verified that the only change since 5d0d92e is the PR #2532 audit, that its scoped F1 claims match the four-line old-path search at this head, and that the new F2 row and log agree with the capture

Tree-SHA512: 0178dfe939a26da8cc1776eb5491eb00fe5c01d64e1ee0ce9ce1ea6686e16b0481956509947c8101d6cef9bdb55ae3a722b392aa3e18a0fc8261df0a1b8a6137

This branch was previously deployed

1 inactive deployment
coverage — 9af096dc Deployed Oct 14, 2026 by josecelano via Generate Coverage Report #2535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the unused UDP statistics traits and services

3 participants