issues: the bug report template says how to get a log #3158
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!3158
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-template-names-the-log"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
issues: the bug report template says how to get a log
Reports arrive saying they have no log:
That is right: the D3D12 runtime writes nothing under %LOCALAPPDATA%\Leonida\logs until
-Logis passed, and the template asked only for "the last lines the console printed". So the Output
field now names the switch, the file and the first lines worth reading in it:
python -I tests/test_docs_issue_template.py: 2 tests, OK. The second is the control - anempty template lists all three hints, so the first test cannot pass on a template that lost
them.
python -m unittest discover -s tests -p "test_docs_*.py": 57 tests, OK.Written with an AI assistant.
Verified on Linux: it merges into current
main, the new test is red without the template change and green with it, and the docs suite passes.python -I tests/test_docs_issue_template.py.github/ISSUE_TEMPLATE/bug_report.ymlreverted tomainpython -m unittest discover -s tests -p "test_docs_*.py"python -I scripts/check_no_game_data.py .github/ISSUE_TEMPLATE/bug_report.yml tests/test_docs_issue_template.pyThe text against the code:
-Logexists in both launchers (scripts/play-d3d12.ps1:78forwards it,d3d12/scripts/play-nvidia.ps1:976-981redirects stderr to%LOCALAPPDATA%\Leonida\logs\play-<stamp>.logonly when it is set), so "without -Log nothing is written there" is right.host wave lanesis a real log line (leonida-gpu/src/host.rs:1533).Nits (not blocking)
d3d12/contains that text. Either name the line the log really prints or say "the shader cache lines".Launcher.batusers pass-Logthrough the "Log to a file (-Log)" checkbox (tools/leonida_launcher.py:873), not on a command line, andscripts/play-linux.shhas no log switch. One more sentence for those two would stop the same "no log" reports from them.GPUs tested:line, which is fine for a template-only change. AI use is disclosed.Verdict: ready.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
RUN (independent run on Windows, head
2cfbe969c9fac8e2ab0c56b289dabbbc70a36dfa, merged intomainb41763227aeed2d23c98af84bcbc1bddc7acdc90withgit merge --no-ff)Green
.github/ISSUE_TEMPLATE/bug_report.yml, newtests/test_docs_issue_template.py).python -I tests/test_docs_issue_template.py: 2 tests, OK.python -m unittest discover -s tests -p "test_docs_*.py": 59 tests, OK (121 s).python -I scripts/check_no_game_data.pyon both changed files: clean.compileallon the test: clean.Red
bug_report.ymlswapped back (git checkout HEAD^ -- <file>), the new test fails: all three hints (-Log,%LOCALAPPDATA%\Leonida\logs,play-nvidia.ps1) reported missing. Restored; tree clean.play-nvidia.ps1->play.ps1caught;%LOCALAPPDATA%->%TEMP%caught; "add -Log to" -> "add it to" survives (-Logstill appears in "without -Log"); removing "(shader preparation)" survives, because the test does not look at it.Review
d3d12/(grep over*.rs). It only exists in the new template,docs/launcher.mdline 26 andtools/leonida_launcher.pyline 881, where it is a launcher setting (off is-NoPrecompile), not a log line. The shader-cache code logs onlyno shader cache(warn,shader_cache.rs:31) and debug lines. A user following the template looks for a line the runtime never prints. My earlier verdict claimed it was inhost.rs; that was wrong.d3d12/crates/leonida-gpu/src/host.rs:1533,tracing::info!). "its last 30 lines" has no source I could find ind3d12/scriptsordocs/launcher.md; the number is unsupported.d3d12/scripts/play-nvidia.ps1has[switch]$Log, writes%LOCALAPPDATA%\Leonida\logs\play-<stamp>.logonly with-Log(lines 976-981). That part is right.Not covered
no shader cachewarning) or to drop the parenthesis.Verdict: FAIL (the test and the file layout are fine; the template points users at a log line that does not exist)
AI-assisted (Claude Code), models: Claude Opus 5.5 (checker), separate Claude Opus 5.5 judge.