Repository navigation
docs(issues): [#2996] add specification to share the assert_names_no_source_path test helper - #2998
Open
josecelano-bot wants to merge 1 commit into
Conversation
…mes_no_source_path test helper Adds the SI-8 specification of EPIC torrust#2912 and its row in the EPIC table. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
2 open issues
What changed in this PR
Adds a spec-only issue document for SI-8 (#2996) under EPIC #2912, describing how to deduplicate the assert_names_no_source_path test helper while preserving workspace dependency constraints.
Changes:
- Add a new folder-style issue spec for #2996 (SI-8) documenting design options, scope, and verification.
- Update the EPIC #2912 document to include SI-8 in the subissues table and progress log.
| File | Description |
|---|---|
| docs/issues/open/2996-2912-si-8-share-assert-names-no-source-path/ISSUE.md | New spec defining the plan and acceptance criteria for sharing the helper across crates. |
| docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md | Adds SI-8 (#2996) to the EPIC subissues table and records the update in the progress log. |
Review effort: Lite
This branch has not been deployed
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.

Spec-only PR for sub-issue SI-8 of EPIC #2912. Related to #2996. It does not implement the change.
Summary
Adds the specification of #2996: reduce the seven copies of the test helper
assert_names_no_source_pathto three by defining it once intorrust-tracker-test-helpersfor the four packages that already use that package in tests (tracker-core,axum-http-server,axum-rest-api-server,udp-server), and by cross-linking the three remaining definitions (test-helpers,http-protocol,primitives) so they do not drift. No package gains a dependency. The spec records options A to E and the reason for choosing E, whydeny.tomland the layer rules are not affected, and how the change relates to SI-6 (#2918): its check must exemptpackages/test-helpers/, which the SI-6 brief carries. It also records that removing the last two copies is out of scope and may be reconsidered. This follows finding F5 of PR #2991 and the maintainer's decision of 2026-11-22; the maintainer approved the specification before the issue was created.Files touched
docs/issues/open/2996-2912-si-8-share-assert-names-no-source-path/ISSUE.md(new)docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md(row 8 of theSubissuestable, a sentence and a progress-log line)Validation
linter allpasses. The facts in the spec were checked against the tree of the branch of PR #2991 (copies, dev-dependencies,deny.toml, ADR rules). No code changed.