tools: one-command tester report (scrubbed log + issue body) #309

Closed
opened 2026-11-27 10:54:23 +00:00 by github-bot · 3 comments
Owner

@⁠m0rff on GitHub · 2026-11-27 10:52 UTC · original

Testers clean their logs by hand (the #147 log had the host name and user paths removed), and each report gets asked for the same facts: commit, Mac chip, RAM, macOS version, console model, and which Metal Shader Converter loaded (#295, #300).

Proposal: tools/macos/tester-report.sh [log] (newest runs/*/victory.log by default, like run-summary.sh):

  • collects commit (+ dirty flag), chip, RAM, macOS version, console model and converter from the log, and the VICTORY_* variables set;
  • writes a scrubbed copy of the log ($HOME, user name, host names replaced by placeholders; the original is never changed), gzips it to a folder outside the repo (default ~/victory-reports/) and prints its path and sha256;
  • prints a ready-to-paste body matching the tester-report template, with run-summary.sh output under "What happened".
    It never uploads anything. Plain bash 3.2 + awk, with a test in the macos-scripts CI job.
**@⁠m0rff** on GitHub · 2026-11-27 10:52 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309) Testers clean their logs by hand (the #147 log had the host name and user paths removed), and each report gets asked for the same facts: commit, Mac chip, RAM, macOS version, console model, and which Metal Shader Converter loaded (#295, #300). Proposal: `tools/macos/tester-report.sh [log]` (newest `runs/*/victory.log` by default, like run-summary.sh): - collects commit (+ dirty flag), chip, RAM, macOS version, console model and converter from the log, and the VICTORY_* variables set; - writes a scrubbed copy of the log ($HOME, user name, host names replaced by placeholders; the original is never changed), gzips it to a folder outside the repo (default `~/victory-reports/`) and prints its path and sha256; - prints a ready-to-paste body matching the tester-report template, with run-summary.sh output under "What happened". It never uploads anything. Plain bash 3.2 + awk, with a test in the macos-scripts CI job.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:54:23 +00:00
Author
Owner

@⁠m0rff on GitHub · 2026-11-27 10:52 UTC · original

/claim

**@⁠m0rff** on GitHub · 2026-11-27 10:52 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7216415415) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-27 10:52 UTC · original

Claimed by @⁠m0rff. Open a draft pull request with Refs #309 in its description within 24 hours, or the claim expires.

**@⁠github-actions[bot]** on GitHub · 2026-11-27 10:52 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7216419217) Claimed by @⁠m0rff. Open a draft pull request with `Refs #309` in its description within 24 hours, or the claim expires.
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-27 11:55 UTC · original

Done in #312, which is merged into main: tools/macos/tester-report.sh. Thank you @⁠m0rff.

**@⁠LakshanSivakumar** on GitHub · 2026-11-27 11:55 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7217623638) Done in #312, which is merged into main: `tools/macos/tester-report.sh`. Thank you @⁠m0rff.
This discussion has been locked. Commenting is limited to contributors.
No description provided.