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

Closed
opened 2026-11-27 10:52:45 +00:00 by m0rff · 3 comments
m0rff commented 2026-11-27 10:52:45 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T10:52:45Z.


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.
<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6644980439 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309). Originally posted by [m0rff](https://github.com/m0rff) on 2026-11-27T10:52:45Z. --- 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 commented 2026-11-27 10:52:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T10:52:46Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7216415415 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7216415415). Originally posted by [m0rff](https://github.com/m0rff) on 2026-11-27T10:52:46Z. --- /claim
github-actions[bot] commented 2026-11-27 10:52:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T10:52:58Z.


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

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7216419217 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7216419217). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-27T10:52:58Z. --- Claimed by @m0rff. Open a draft pull request with `Refs #309` in its description within 24 hours, or the claim expires.
LakshanSivakumar commented 2026-11-27 11:55:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T11:55:03Z.


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

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7217623638 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/309#issuecomment-7217623638). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T11:55:03Z. --- Done in #312, which is merged into main: `tools/macos/tester-report.sh`. Thank you @m0rff.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS#309
No description provided.