tools: run-summary.sh summarises the VICTORY_SUBMIT_TIMING and VICTORY_TRACE_UNMAPPED_LEVELS lines (#500) #505
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!505
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-501"
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?
@AnastasisKon on GitHub · 2026-11-27 22:21 UTC · original
AnastasisKon:vibe/run-summary-timing-1705ac→main· +31 −0 · 1 files · 2 commits · openWhat this changes
Refs #504 (the summary side of #465 and #462). Tools-only:
tools/macos/run-summary.shnow reads the two new diagnostic line kinds, so a tester's summary shows them without grepping the log:submit timing:lines (VICTORY_SUBMIT_TIMING=1): printed under shader work assubmit timing (VICTORY_SUBMIT_TIMING): N submissions, total X ms (prep P ms, encode+commit E ms), slowest Z ms, plus--comparerows for submissions / total ms / slowest ms;unmapped levels:lines (VICTORY_TRACE_UNMAPPED_LEVELS=1): count and the last line verbatim (prefix stripped), plus a--comparerow.--self-test's synthetic log gains both line kinds and checks the printed summary.How it was tested
/bin/bash tools/macos/run-summary.sh --self-test— ok (extended)/bin/bash tools/macos/tests/run-summary-compare.shand alltools/macos/tests/*.sh— pass (Bash 3.2)cargo test -p victory-hle -p victory -p victory-gpu -p xtask— pass (RC=0; no Rust change)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— pass (RC=0, 0 errors)cargo xtask policy— pass (398 files ok)Checklist
VICTORY_*variable and documented — n/a; this only reads the two switches added in #491/#496, already documented in docs/native-host.md@Olima34 on GitHub · 2026-11-28 01:38 UTC · original · requested changes
Thanks @AnastasisKon. We read the whole diff (
aeb20479) while helping the maintainer clear the queue, and it holds up: the submit-timing sums and the last unmapped-levels line are parsed as #491 prints them, and both are covered by the self-test.The only blocker: #498 just merged, and it adds its own lines to the same self-test log and
chklist intools/macos/run-summary.sh, so this branch now conflicts there. Could you merge currentmaininto the branch and keep both sets of lines? Once CI is green on the new head, we'll merge it.@AnastasisKon on GitHub · 2026-11-28 10:18 UTC · original
Merged current main into the branch and resolved the conflict keeping both sides, as requested. CI is green on the new head and the PR shows mergeable. Ready for re-review.
@AnastasisKon on GitHub · 2026-11-28 12:31 UTC · original
Re-requesting review: conflicts with current main are resolved, CI is green on the latest head, and the earlier approval was noted as still standing. Ready to merge when you are.
@AnastasisKon on GitHub · 2026-11-28 15:27 UTC · original
The branch is now based on the current public
main(26817285), which already contains the #471/#494/#503 merges, and GitHub showsmergeable=true(the earlier conflict was against the newer private main). The requested shape is in place: both sets of self-test `chk` lines (the #498 ones and the submit-timing/unmapped-levels ones) in `tools/macos/run-summary.sh`. Could you re-review when you get a chance?@AnastasisKon on GitHub · 2026-11-28 18:16 UTC · original
Re-requesting review: the head
893c6c37already merges publicmain26817285, which includes #498's run-summary self-test lines, andgit merge-treeshows no conflicts against currentmain— both sets of lines (ours and #498's) are intools/macos/run-summary.shand its self-test. CI is green on this head. Ready to merge when you are.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.