tools: report an ADR whose amends/supersedes target does not name it back in its Status
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 65/100
Research direction
Start with the existing ADR conflict report at reports/research/adr-conflicts.md and read tools/internal/adrlinks, then inspect tools/cmd/adr-backptr. Add a fixture covering a mutually named pair and a missing back-pointer, and check that the report identifies the ADR, sentence, and missing reference. Run the check against the release tip and send its output and count to the owner of the row; keep it report-only and add mutants for changed behavior.
Written by the indexing model from the issue text.
Description
Evidence at 4cdc31fa2 (release/v6.20.0)
The second pass over the ADR conflict table (reports/research/adr-conflicts.md, "Second pass") found four rows with one shape: the newer ADR says it amends or supersedes an older one, and the older ADR's Status does not name the newer back (0023-e, 0023-f, 0038-a, 0051-b). Example: docs/adr/0051-*.md Status says it amends ADR 0038 decision 3 and ADR 0046 rule 1; the Status of ADR 0038 and ADR 0046 names ADR 0051 in neither.
Not shown
How many such misses the whole directory has. Whether a check on the Status paragraph alone finds all of them (the first tool run says).
Falsifier
A run of the check on the release tip that reports none of those four pairs.
Work
- Test first: a fixture directory with one pair that names each other back (passes) and one pair that does not (reported with the ADR number, the sentence and the missing back-pointer).
tools/cmd/adr-backptrandtools/internal/adrlinks: read each ADR's Status paragraph, take the edges it states (amends, supersedes, replaces; amended by, superseded by, replaced by), report every edge whose other end does not name this ADR in its own Status.- Report-only: not wired into
just verify, a gate or a recipe. Its output and count on the release tip go to the owner of the row for the debt list. - Mutants for each changed line of behaviour.
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100