docs(host): three texts still describe a %TEMP% or multi-destination fallback the bootstrap diagnostics no longer have
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- documentation
Research direction
Read src/runtime/host/bootstrap_diagnostics.h and docs/standards/logging.md Rule 17, then check the three passages named in the issue against the cited implementation comments. Update them to describe the single main log destination and standard-error fallback for dropped records. Run python3 tools/verify_doc_paths.py and python3 tools/check_known_wrong.py --online; done when both pass and all three passages match the documented behavior.
Written by the indexing model from the issue text.
Description
Evidence at 2ce94a74
The host's bootstrap diagnostics write to one destination, the main log: DiagnosticDestination has only kPrimary and kDropped (src/runtime/host/bootstrap_diagnostics.h), and a record the main log refuses goes to standard error. Three texts still describe a fallback to %TEMP% or to several destinations:
docs/adr/0008-bugsplat-host-and-nevr-runtime.md:150-153: "a record whose write fails after its wait falls back to the next of up to three destinations and waits again, so a crash of up to four records can wait more than four times".src/runtime/host/bootstrap_diagnostics.cpp:651-652: "a record that fell back to %TEMP% does not name the primary directory".docs/standards/logging.md:169(thelogfield of theNEVR.STOPtable): "the %TEMP% copy when the primary folder refused it".
They contradict docs/standards/logging.md Rule 17 ("never ... %TEMP%") and the header comments of bootstrap_diagnostics.h and host_paths.h, which say there is no %TEMP% folder.
Not shown
Whether any reader or test depends on the old wording. git grep for the three quoted phrases over src, tools and docs finds only these places.
Falsifier
An AppendTo call on any directory other than primary_dir_, or any record in a run log carrying a log path under %TEMP%. Either would mean the one-destination reading is wrong and the texts are right.
Work
- Rewrite each of the three passages to describe the one destination and the standard-error fallback for a dropped record.
- Run
python3 tools/verify_doc_paths.pyandpython3 tools/check_known_wrong.py --onlineon the result.
꩜🌸
- Dominant language
- C++
- Stars
- 2
- Forks
- 5
- Avg merge
- 4h 46m
- Merged PRs (30d)
- 941
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
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2263 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2260 ·
Maintainers usually reply within 1 day
-
backlog bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EchoTools/nevr-runtime#2154 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EchoTools/nevr-runtime#2137 ·
Maintainers usually reply within 1 day
-
backlog bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2125 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ROCm/AMDMIGraphX#5490 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
arvidn/libtorrent#9126 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Sunrisepeak/mcpp-language-server#80 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
xiaoyifang/goldendict-ng#3148 ·
Maintainers usually reply within 1 day