fix(zip-logs): include play.err diagnostics #460
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!460
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-460"
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?
@vanya890 on GitHub · 2026-12-06 01:11 UTC · original
vanya890:fix/zip-logs-include-err→main· +22 −2 · 2 files · 1 commits · openSummary
.logand.errfiles when collecting logs, soplay.errdiagnostics are preserved in bug-report archives.Context
Issue #352 reported that
larp zip-logsomittedplay.err, which contained the draw-count, regions, and map-mouse diagnostics needed to investigate the menu wedge.Validation
cargo test -p larp --bin larp ziplogs::tests::includes_log_and_error_logs_case_insensitively(1 passed)git diff --check@christopear on GitHub · 2026-12-06 01:58 UTC · original
I tested the archive contents on
cd000a4dwith synthetic logs and the PR's unchangedziplogs.rsin a standalone Rust harness. Bothplay.errand an unrelatedother.errwere included, as documented.One privacy caveat worth mentioning now that stderr is included. With a dummy Windows username, the exact profile path was redacted, but a differently capitalized spelling of the same username survived inside the ZIP. Wine drive mappings and Linux home paths also survived. The sanitizer already behaved this way before this PR.
Could the CLI success message and docs say something like “Known Windows profile paths are redacted. Check the archive for personal information before sharing”? If only
play.erris needed, matching that filename case-insensitively alongside existing logs would also avoid collecting unrelated stderr files. A useful regression fixture would inspect the extracted entry contents as well as the extension filter.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.