Skip to content

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
torrust:developfrom
josecelano-bot:2996-share-assert-names-no-source-path-spec
Open

josecelano-bot wants to merge 1 commit into
torrust:developfrom
josecelano-bot:2996-share-assert-names-no-source-path-spec

Conversation

@josecelano-bot

Copy link
Copy Markdown
Contributor

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_path to three by defining it once in torrust-tracker-test-helpers for 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, why deny.toml and the layer rules are not affected, and how the change relates to SI-6 (#2918): its check must exempt packages/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 the Subissues table, a sentence and a progress-log line)

Validation

linter all passes. 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.

…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>
@josecelano josecelano self-assigned this Nov 22, 2026
@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 22, 2026 14:34

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

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

No deployments
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.

3 participants