You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop torrust-located-error from the workspace and enforce the rule #2918
Part of EPIC #2912. SI-6, order 6 of 7. After SI-2 to SI-5.
Goal
Remove the last uses of torrust-located-error from the workspace and add a repository check that fails when non-test code records a source location in an error, so the rule of the EPIC's ADR stays true.
Scope
Replace torrust_located_error::DynError in packages/tracker-client and remove the dependency; confirm no workspace manifest depends on the crate.
A check under contrib/dev-tools/checks/ that fails when Location::caller(), #[track_caller] or torrust_located_error appears in non-test Rust code (with an allow-list that carries a reason per entry), wired into pre-commit and CI.
Draft two upstream issues for the maintainer to open: remove the location from torrust_info_hash::ConversionError, and decide the future of torrust-located-error.
Out of scope: changes inside those two repositories; a custom clippy or rustc lint.
Specification
docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md (added by the spec-only PR of #2912).
Activity
docs(issues): [#2912] add the EPIC and sub-issue specifications to re…
Merge #2919: docs(issues): [#2912] add the specifications of the EPIC…
chore(issues): archive closed issue #2804 spec to docs/issues/closed
Merge #2957: chore(issues): archive closed issue #2804 spec to docs/i…
Merge #2968: fix(http-protocol): [#2915] remove source locations from…
Merge #2998: docs(issues): [#2996] add specification to share the ass…
fix(source-location-check): [torrust#2918] mask comments and strings,…
docs(issues): [torrust#2918] record the hook run of M1 and round 1 of…
docs(pr-reviews): [torrust#2918] record the replies and resolved thre…
fix(source-location-check): [torrust#2918] mask raw byte strings and …
fix(source-location-check): [torrust#2918] let a production module de…
docs(pr-reviews): [torrust#2918] record round 2 of the review audit o…
docs(pr-reviews): [torrust#2918] record the replies and resolved thre…
fix(source-location-check): [torrust#2918] scan the rest of a line af…
test(source-location-check): [torrust#2918] cover adjacent character …
1 remaining item
docs(pr-reviews): [torrust#2918] record the replies and resolved thre…
docs(source-location-check): [torrust#2918] describe the current skip…
docs(pr-reviews): [torrust#2918] record round 4 of the review audit o…
docs(pr-reviews): [torrust#2918] record the replies and resolved thre…
fix(source-location-check): [torrust#2918] check the staged content, …
docs(pr-reviews): [torrust#2918] record round 5 of the review audit o…
refactor(tracker-client): [#2918] drop torrust-located-error from the…
feat(source-location-check): [#2918] add the check that errors record…
docs(issues): [#2918] record the design, evidence and upstream issue …
test(source-location-check): [#2918] ignore the GIT_* variables of a …
chore(issues): [#2918] archive the SI-6 spec to docs/issues/closed an…
Merge #3023: chore(issues): [#2918] archive the SI-6 spec and mark it…
Merge torrust#3018: refactor(errors): [torrust#2918] drop torrust-loc…