Repository navigation
docs(issues): [#2479] add the HTTP announce benchmark bug specification - #2480
Merged
josecelano merged 3 commits intoOct 8, 2026
Merged
josecelano merged 3 commits into
josecelano merged 3 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The plan omits mandatory test-design and maintainer-review checkpoints for its regression guards.
1 open finding
What changed in this PR
Documents issue #2479’s plan to repair the HTTP announce benchmark.
Changes:
- Adds the bug specification, implementation plan, and acceptance criteria.
- Records reproduction evidence showing the async benchmark body never executes.
| File | Description |
|---|---|
ISSUE.md |
Defines scope, regression guards, implementation tasks, and verification. |
manual-verification-evidence.md |
Records the counter probe and benchmark output. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
…ification Adds the spec for issue torrust#2479: the http-core announce benchmark passes an async fn to Criterion's b.iter without awaiting it, so it times only the creation of a future. A temporary counter showed the helper body ran 0 times over about 12 million iterations; the probe and output are in manual-verification-evidence.md. The plan restructures the benchmark to time one awaited announce, adds an in-benchmark guard that fails cargo test --benches when a routine never runs (red before the fix), adds the same guard to udp-core's connect_once, and updates docs/benchmarking.md.
…ws for the guards The plan went straight from each regression guard to the next task. Add the prose-first design reviews of R1 and R2 to T2 and T3, a T4 checkpoint where the maintainer reviews the final test increment before final verification and commit (the former T4 is now T5), the matching commit policy and workflow checkpoint, and the design-review procedure the create-issue skill requires. Review finding F1 on PR torrust#2480 (Copilot).
josecelano
force-pushed
the
2479-fix-http-core-announce-benchmark-spec
branch
from
October 8, 2026 07:16
aa34a24 to
d95b34e
Compare
Audits Copilot review 5452974872: F1 (missing test-design and maintainer reviews in the plan) is fixed. The audit validator reports 1 row and 0 failures.
Member
Author
|
ACK cd51b5a |
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this pull request
Oct 14, 2026
…closed Move the issue torrust#2479 specification, its evidence, and its retrospective to docs/issues/closed/, mark it done, record the PR torrust#2509 merge, and point the PR torrust#2480 and torrust#2509 review audits at the new path. Co-authored-by: Copilot <[email protected]>
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this pull request
Oct 14, 2026
…closed Move the issue torrust#2479 specification, its evidence, and its retrospective to docs/issues/closed/, mark it done, record the PR torrust#2509 merge, and point the PR torrust#2480 and torrust#2509 review audits at the new path. Co-authored-by: Copilot <[email protected]>
josecelano
added a commit
that referenced
this pull request
Oct 14, 2026
…ssues/closed 6bb5d74 chore(issues): archive closed issue #2479 spec to docs/issues/closed (Jose Celano) Pull request description: Archives the specification for issue #2479 (closed on GitHub by the merge of PR #2509) from `docs/issues/open/` to `docs/issues/closed/`. - Verified that issue #2479 is `CLOSED` on GitHub. - Moved `ISSUE.md`, `manual-verification-evidence.md`, and `implementation-retrospective.md`. - Updated the frontmatter: `status: done`, `spec-path`, `issue-spec`, `related-artifacts`, and `last-updated-utc`. - Checked the "Issue closed and spec moved" checkpoint and added a progress-log entry recording the PR #2509 merge. "Reviewer validated acceptance criteria" stays unchecked, because only Copilot reviewed the PR before it merged. - Pointed the frontmatter `related-artifacts` of the PR #2480 and PR #2509 review audits at the new path. The one remaining mention of the old path is a historical progress-log entry. - Pre-commit and pre-push hooks passed. Related to #2479 ACKs for top commit: josecelano: ACK 6bb5d74 Tree-SHA512: 6db3edad00b2cd5e6fed77095a0a975cd1e77774c66d284e8473224ef215f39c5de49a3a5c3c87c787663cc143ae09c5d9eeaf27299a07fffc0a7f9354d44592
Contributor
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed only documentation (a bug specification and its reproduction evidence), with no executable code, build or CI change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds the specification for issue #2479, a spec-only PR before implementation. The
http-coreannounce benchmark passes anasync fnto Criterion's synchronousb.iterwithout awaiting it, so it times only the creation of a 1160-byte future (about 85-87 ns) and never runs an announce.Related to #2479
Files
docs/issues/open/2479-fix-http-core-announce-benchmark/ISSUE.md: the bug specification, with the bug-fix process, regression-test strategy, implementation plan, commit points, and acceptance criteria.docs/issues/open/2479-fix-http-core-announce-benchmark/manual-verification-evidence.md: V1, the reproduction. A temporary counter in the helper read 0 body runs after about 12 million timed iterations; the probe diff and the unmodified runs are recorded verbatim.Plan in Brief
bench_functionif the count is zero. Criterion runs each benchmark once undercargo test, which pre-push and CI already run, so the guard is red before the fix.handle_announceper iteration withb.to_async(&runtime).iter(...), as issue fix(udp-core): inject the UDP connection-cookie cipher #2458 did forudp-core'sconnect_once.connect_once, approved by the maintainer.docs/benchmarking.md: remove the Known Defects entry and describe the guard.Validation
linter markdown,linter cspell,linter lychee, and the pre-commit and pre-push hooks passed.