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
docs(issues): [#2912] add the specifications of the EPIC to remove source locations from errors - #2919
Spec-only PR for EPIC #2912 "Remove source locations from errors". It moves the approved EPIC draft and its six sub-issue drafts from docs/issues/drafts/ to docs/issues/open/ with their GitHub numbers. No code changes.
docs/issues/open/2913-2912-si-1-... to docs/issues/open/2918-2912-si-6-...: frontmatter (status: planned, epic: 2912, github-issue, branch), titles and parent links.
docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md: epic: 2912 and parent link (SI-7).
SI-5: a reference to a draft that does not exist (follow-up-si-19-remove-unused-error-variants) is replaced by a note that the follow-up is not drafted yet.
…s to remove source locations from errors
Move the approved EPIC draft and its six sub-issue drafts from docs/issues/drafts/
to docs/issues/open/ with their GitHub numbers (torrust#2912 to torrust#2918), record the
maintainer's decisions (remove the field, keep the title of torrust#384, one session at
a time, Opus 5.5 for sub-issue sessions), link torrust#384 as SI-7, and repair the live
references to the draft paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 0c98ec642ec67f6d017d026ca7760bb999ff66a6. Recomputed from the bytes at this head, against the merge base a544a58fb; git merge-tree against develop61e3fedcf merges cleanly, and none of the 13 files develop changed since the base is one this PR touches.
Process: a spec-only PR, governed by create-issue (move to open/ with {number}-{epic}- folders, spec-path, placeholders, Related to) and open-pull-request (title, issue links, closing-keyword scan, commit-id check). The head branch has the -spec suffix, the body links every issue with Related to, and the [#2912] title matches the form recent spec PRs on develop use.
The change against its claim: seven renames and three edited specs, no code. Each moved spec's spec-path equals its path, status is planned (what the frontmatter validator requires in open/), epic and github-issue match the folder numbers, and every parent link resolves. The SI-5 note holds: the follow-up-si-19-remove-unused-error-variants draft was deleted before the merge base and never covered Internal or AuthRequired, which only #[cfg(test)] code builds; #2844 removed three other UdpError variants.
Consistency: no live reference to an old draft path remains at this head or in the trial merge; the one hit is the review audit of #2872, a historical record. Links, backticked paths and related-artifacts added by the diff resolve. No index lists these specs, and the dictionary is untouched; the new words are ones the docs already use.
Hygiene: one commit, body matches the diff, author equals committer, one attribution footer that no rule in the tree forbids. git diff --check is clean, the commit-id check prints nothing, and the closing-keyword pattern matches nothing in the title, body or commit message.
Findings: F1 (Minor) the six sub-issue specs still say they await approval and an issue; F2 (Minor) the edited sentence in the audit spec keeps "EPIC draft" and the next paragraph says no issue exists yet; F3 (Nit) option 3 reads as both adopted and rejected. None blocks.
Checked, no finding: the closed 2850 spec's repaired path (a navigational reference, which the cleanup skill says to update); 384 keeps its folder name, as 1419 did when it joined an EPIC; sub-issue branch names follow the 2844 precedent; no review threads, so no audit record is due.
Checks
On the loop's compute node at this head, against the merge base a544a58fb (receipt server-gates-kranich-1102): the repository's pre-commit gate and lint roster exit 0 (206 s wall). This PR has no audit record of its own, so the gate ran no validator for it. The PR changes documentation only, so no package tests apply. F1 checked against the bytes at posting: docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md carries github-issue: 2913 while its checklist still leaves "Spec reviewed and approved" and "GitHub issue created" unticked. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 61e3fedcf.
ACK 0c98ec6 — the seven spec moves, their frontmatter, parent links and repaired references recomputed against the tree, with a clean trial merge into develop
The reason will be displayed to describe this comment to others. Learn more.
🟢 Approval recommended
No active review issues are reported for this documentation-only update to the EPIC and implementation specifications.
No open issues 🎉
What changed in this PR
This documentation-only PR establishes EPIC #2912 and its implementation plan for removing source locations from Torrust Tracker errors. It promotes approved drafts into numbered issue specifications; no runtime behavior changes.
Changes:
Move the EPIC and six sub-issue specifications into docs/issues/open/ with issue numbers and parent links.
Record maintainer decisions, approval checkpoints, and sequential implementation order.
Attach #384 as the final verification issue, repair moved-path references, and clarify the undrafted UDP cleanup follow-up.
…kpoints, audit status and option wording
- F1: tick the approval and issue-created checkpoints of the six sub-issue
specs and of torrust#384, and log the approval, the issue and the move.
- F2: the torrust#2804 audit spec now names EPIC torrust#2912 and its issues instead of
calling them drafts with no issue.
- F3: the EPIC says option 4 keeps option 3's context wording and that only
option 3 alone (keep the field) was rejected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 280121c6ad90ef5c2de5749277828c08193b42f2. Recomputed from the bytes at this head, against the merge base a544a58fb; git merge-tree against developa14a41ad4 merges cleanly, and none of the 30 files develop changed since the base is one this PR touches.
What moved: one commit, 280121c6a, a fast-forward of 0c98ec642 touching 9 of the 10 files already reviewed (+44/-38). It does what its message says. F1 is fixed: the six sub-issue specs tick approval and issue creation, each logs the approval, the issue and the move, the drafted-in line names both folders, and the 384 spec ticks approval. F2 is fixed: the sentence names the EPIC by number, the table says sub-issues, and the paragraph after it says the issues exist and leaves the close-out to its own session (see F5). F3 is fixed with the suggested wording, and decision 1 now says "option 3 alone".
Forge record: one reply on each round 1 thread, and all three threads are resolved; each reply describes the change at this head correctly. The head carries no review audit record, so the audit validator has nothing to check (F4). An automated review recommends approval with no findings.
Hygiene: author equals committer, one attribution footer that no rule in the tree forbids. git diff --check is clean against the previous head and the base; the commit-id check prints nothing; the closing-keyword pattern matches nothing in the title, body, commit messages or replies. Links, paths and artifacts on added lines resolve, and the new last-updated-utc values are well formed.
Findings: F4 (Minor) no audit record although the threads are answered and resolved, and the replies cite a branch commit id; F5 (Nit) the new audit-spec sentence dates the 2023 issue to this week. Neither makes the specs wrong; this review stays a comment until the audit record lands.
Checked, no finding: the commit message says the 384 spec gains both ticks, where only approval was missing; the remaining "EPIC draft" labels in the audit spec's acceptance criteria record where the work moved at the time.
Checks
On the loop's compute node at this head, against the merge base a544a58fb (receipt server-gates-kranich-1106): the repository's pre-commit gate and lint roster exit 0 (179 s wall). The head carries no review audit record for this pull request (docs/pr-reviews/ holds no pr-2919-review entry at 280121c6a), so the gate ran no validator for it. The PR changes documentation only, so no package tests apply. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is a14a41ad4.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 67acb52c09c69d7b32a395c0dc2dfd5a29a16553. Recomputed from the bytes at this head, against the merge base a544a58fb; git merge-tree against developa14a41ad4 merges cleanly, and no file develop changed since the base is one this PR touches.
What moved: three commits on top of 280121c6a. 55fe2a50f fixes F5: the audit spec dates only the six new sub-issues, calls the 2023 issue existing, and its heading names the EPIC. a728bc17d adds the audit record from the template, with rows F1 to F5 and a late-start log entry. 67acb52c0 fills in the F4 and F5 reply URLs and logs the validator run. F4 is fixed; F1 to F3 stay fixed.
Audit record: the validator's logic, run offline at this head (review comments from the capture, the PR's commits from the local range), reports 5 rows, 3 log entries and 0 failures. Every row's review ID, severity, reply thread and resolution subject matches the capture, and all five threads have a reply, a row and a resolution. The F1, F3, F4 and F5 verification claims reproduce; F2's does not (F6).
Hygiene: author equals committer; each commit carries one attribution footer that no rule in the tree forbids. git diff --check is clean, and the closing-keyword pattern matches nothing. The commit-id check prints 280121c6a and a728bc17d. The first appears only where the record maps the id the round 1 replies cite to its subject, as the skill asks and the audits of PRs 2856 and 2891 do. The second is the record's own reference (F7).
Findings: F6 (Nit) an F2 verification claim the grep does not produce; F7 (Minor) a branch commit id in the Processing Log. Neither blocks; each is a one-line edit.
Checked, no finding: the Processing Log is in chronological order, and its 17:48 entry matches the reply times in the capture. The automated review has no row because it makes no actionable assertion. The spec files are unchanged since 55fe2a50f.
Checks
On the loop's compute node at this head, against the merge base a544a58fb (receipt server-gates-kranich-1109): the repository's pre-commit gate and lint roster exit 0 (279 s wall), and the audit validator passes the record (5 rows, 3 log entries, 0 failures). At the previous head a728bc17d the same validator failed on two rows (gate 1108), which 67acb52c0 fixed by adding the F4 and F5 reply URLs. The PR changes documentation only, so no package tests apply. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is a14a41ad4.
ACK 67acb52 — the F1 to F5 fixes and the review audit record recomputed at this head, with the audit validator's logic passing offline and a clean trial merge into develop
[Minor][F6] Distinguish direct captures from correctly tracked conversions. The audit does not find every production location wrong: inventory.md:105–115 classifies five LocatedError conversions as correct, and lines 132–133 and 149 explicitly describe their locations as correct for the call chain. Please qualify this rationale so the decision passed to SI-1 does not contradict its evidence; those locations can still be removed because they expose implementation paths.
Reply to Copilot review 5943970292 (its finding F6, "Clarify correct conversions versus direct capture findings", recorded as audit finding F8 because F6 was already taken).
Disposition: FIXED, in docs(issues): [#2912] separate the wrong direct captures from the correct LocatedError conversions in decision 1. Decision 1 of EPIC.md now says that each of the 38 production Location::caller() sites records a fixed library line. It says that the five #[track_caller]From conversions into LocatedError (class C in inventory.md) record a location that is correct for their call chain, and are removed as well because that location is still an implementation path. The finding has no inline thread, so this conversation comment is its reply.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at 50683440054d8d88af29cc0aac25c894bd9f799b. Recomputed from the bytes at this head, against the merge base a544a58fb; git merge-tree against developa14a41ad4 merges cleanly, and no file develop changed since the base is one this PR touches.
What moved: three commits on top of 926cec688. 9770962e4 rewrites decision 1 of the EPIC. The direct captures record a fixed line. The five class-C conversions into LocatedError record a location that is correct for their chain, and they go too because that location is still an implementation path. Checked against the code, the five are the .into() lines in the three #[track_caller]From impls of configuration/src/lib.rs and tracker-core/src/databases/error.rs, as inventory.md says; the direct-capture count is not right (F9). 83137a02b records the automated review's finding as audit F8 (review-body finding, NON_RESOLVABLE, reviewer ID reassigned), and 506834400 adds its reply URL. F1 to F7 stay fixed.
Audit record: the validator's logic, run offline at this head, reports 8 rows, 7 log entries and 0 failures. All seven inline threads have a reply, a row and a resolution. The review-body finding has its row and a conversation reply that names the review, the reviewer's finding ID, the disposition and the fix subject. The log is in chronological order, and its times match the capture.
Hygiene: author identity equals committer on all three commits (9770962e4 was committed after its author time, so it was amended before the push), each with one attribution footer that no rule in the tree forbids. git diff --check is clean, the commit-id check prints only the mapped 280121c6a, and the closing-keyword pattern matches nothing in the commits or the reply.
Findings, numbered from F9 because the audit's F8 is the automated review's finding: F9 (Minor) decision 1 counts 38 direct captures where this head has 37; F10 (Nit) one clause of F6's verification. Neither blocks.
Checked, no finding: the audit's F8 row matches the template's review-body form, and the verification it cites reproduces. The rest of decision 1 agrees with the inventory's class table and its T2 note that a correct chain still shows a library path.
Checks
On the loop's compute node at this head, against the merge base a544a58fb (receipt server-gates-kranich-1120): the repository's pre-commit gate and lint roster exit 0 (242 s wall), and the audit validator passes the record (8 rows, 7 log entries, 0 failures). The PR changes documentation only, so no package tests apply. F10 checked against the bytes at posting: grep -n '#2912' on docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md prints lines 215, 220 and 228 only. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is a14a41ad4.
ACK 5068344 — the F1 to F8 fixes, the review audit record and decision 1's class-C claim recomputed against the tree, with the audit validator's logic passing offline and a clean trial merge into develop
The reason will be displayed to describe this comment to others. Learn more.
Reviewed at acf159313fbd4278f67af871e9d182c78f8c5078. Recomputed from the bytes at this head, against the merge base a544a58fb; git merge-tree against developa14a41ad4 merges cleanly, and no file develop changed since the base is one this PR touches.
What moved: three commits on top of 506834400. 066946371 fixes F9: the EPIC (lines 41 and 72), the SI-1 spec and the #384 spec now say "the 38 production Location::caller() sites of the audit (37 since #2850)". That matches the count at the inventory's commit and at this head, and no unqualified 38 remains in the PR's specs. e54643ad2 fixes F10 and adds rows F9 and F10. acf159313 fills in their reply URLs and logs the validator run. F1 to F8 stay fixed.
Audit record: the validator's logic, run offline at this head (review comments from the capture, the PR's commits from the local range), reports 10 rows, 9 log entries and 0 failures. All nine inline threads have a reply, a row and a resolution. The review-body finding F8 has its row and a conversation reply. The 18:39 log entry matches the reply times and the validator result, and no review or comment postdates this head.
Hygiene: author equals committer on each new commit, each with one attribution footer that no rule in the tree forbids. git diff --check is clean, the commit-id check prints only the mapped 280121c6a, and the closing-keyword pattern matches nothing.
Findings: none.
Checked, no finding: the spec files are unchanged since 066946371. Rows F9 and F10 match the capture on review ID, severity, reply thread and resolution subject, and their verification commands reproduce.
Checks
On the loop's compute node at this head, against the merge base a544a58fb (receipt server-gates-kranich-1129): the repository's pre-commit gate and lint roster exit 0 (224 s wall), and the audit validator passes the record (10 rows, 9 log entries, 0 failures). The PR changes documentation only, so no package tests apply. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is a14a41ad4.
ACK acf1593 — the F1 to F10 fixes and the review audit record recomputed at this head, with the audit validator's logic passing offline on all ten rows and a clean trial merge into develop
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.
…ssues/closed
5471550 chore(issues): archive closed issue #2804 spec to docs/issues/closed (josecelano-bot)
Pull request description:
Closes#2804
Close-out of the audit issue #2804 ("Audit and fix errors that record a wrong `Location::caller()`"). The audit (T1 to T5, PRs #2805, #2814, #2821, #2836) is done, and its fix work is now EPIC #2912 (PR #2919): sub-issues #2913 to #2918 and #384. The spec recorded that this issue closes once that EPIC exists, so this PR archives it. Documentation only, no code changes.
## Changes
- **Spec marked done** (`docs/issues/closed/2804-location-caller-track-caller-audit/ISSUE.md`): AC3 done by #2913 (ADR `20261118045443_errors_do_not_record_source_locations.md`, PR #2930); AC4, AC5, the enforcement part of AC7 and the manual scenarios M1 to M3 are marked `MOVED` to the EPIC (#2914 to #2918, #384) instead of `DONE`. Checkpoints, progress log, completion review (no retrospective needed) and references updated. The "Reviewer validated" checkpoint is left for the maintainer.
- **Archive:** the folder moves from `docs/issues/open/` to `docs/issues/closed/`; the frontmatter of its supplementary files points to the new path.
- **Live links repaired** in EPIC #2912, the specs of #2914 to #2918 and #384, the archived #2913 spec and the ADR. Progress-log entries and `docs/pr-reviews/` records keep the path they recorded at the time.
## Note
The `cleanup-completed-issues` skill archives a spec after its issue is closed. Here the issue is still open, so this PR archives the spec and closes the issue with `Closes#2804` when it merges, as the maintainer approved.
## Verification
- `linter all`: pass.
- Pre-commit checks (frontmatter validator, doc tests and the rest): pass.
- `rg '2804-location-caller-track-caller-audit'` shows only `docs/issues/closed/...` paths, except progress-log entries and PR-review records.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
ACKs for top commit:
josecelano:
ACK 5471550
Tree-SHA512: 9d68e1744f8bc346fcd951f6029da8a49cf8f4f34cb000bc35dcf8bac857a4a3de00947b684e73b0e197535c0cb7e47c86ddeb8e38403c612067c62f666df000
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
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.
Related to #2912. Related to #2913, #2914, #2915, #2916, #2917, #2918 and #384.
Summary
Spec-only PR for EPIC #2912 "Remove source locations from errors". It moves the approved EPIC draft and its six sub-issue drafts from
docs/issues/drafts/todocs/issues/open/with their GitHub numbers. No code changes.docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md: issue numbers, approved checkpoints, and a new "Maintainer Decisions" section (remove the field, option 4 of the Audit and fix errors that record a wrong Location::caller() #2804 analysis; Make Option to Strip Location from Errors sent to Clients #384 keeps its title; one sub-issue session at a time; Claude Opus 5.5 for sub-issue sessions).docs/issues/open/2913-2912-si-1-...todocs/issues/open/2918-2912-si-6-...: frontmatter (status: planned,epic: 2912,github-issue,branch), titles and parent links.docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md:epic: 2912and parent link (SI-7).follow-up-si-19-remove-unused-error-variants) is replaced by a note that the follow-up is not drafted yet.Checks
linter allpasses; the pre-push checks pass.Not done here
🤖 Generated with Claude Code