VICTORY_TRACE_PASSES writes no pictures when the dump folder does not exist #536
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#536
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@LakshanSivakumar on GitHub · 2026-11-28 01:02 UTC · original
What happens
VICTORY_TRACE_PASSES=<dir>,<skip>,<presents>withVICTORY_TRACE_PASSES_DUMP_EACH=1writes no pictures at all if<dir>does not exist. The run looks fine and the PASS lines are in the log, but the folder is never made.Cause
glue.rs(near line 1459) writes each.ppmwithout creating the folder first and ignores the error.Fix
Create the folder before the first write, and log once if a write fails. One or two lines. Good first issue.
@marcus-4 on GitHub · 2026-11-28 01:47 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-28 01:47 UTC · original
Claimed by @marcus-4. Open a draft pull request with
Refs #532in its description within 24 hours, or the claim expires.@marcus-4 on GitHub · 2026-11-28 08:19 UTC · original
/release
@github-actions[bot] on GitHub · 2026-11-28 08:19 UTC · original
Released. This issue is free to claim.
@AnastasisKon on GitHub · 2026-11-28 10:28 UTC · original
Fixed by #543: (crates/victory-gpu/src/native/glue.rs:481) now s the dump folder before the first write and logs the first failure once; the pass-trace writes go through it (glue.rs:1473). Covered by the test. Closing.
@AnastasisKon on GitHub · 2026-11-28 10:28 UTC · original
Fixed by #543:
write_dumpin crates/victory-gpu/src/native/glue.rs now runs create_dir_all on the dump folder before the first write and logs the first failure once; the pass-trace ppm writes go through it (glue.rs:1473). Covered by the a_dump_makes_its_folder_and_reports_a_write_it_cannot_make unit test. Closing as done.@AnastasisKon on GitHub · 2026-11-28 10:38 UTC · original
/claim
Taking this one: create the dump folder before the first .ppm write in glue.rs and log once on write failure, with a unit test where testable without the game. Will open a draft PR from my fork's vibe/ branch shortly.
@github-actions[bot] on GitHub · 2026-11-28 10:38 UTC · original
Claimed by @AnastasisKon. Open a draft pull request with
Refs #532in its description within 24 hours, or the claim expires.@AnastasisKon on GitHub · 2026-11-28 10:39 UTC · original
/release
Already fixed on main by #543 (
ba5a77c9): one helper now makes the folder first and warns once on a failed write, covering VICTORY_TRACE_PASSES, VICTORY_DUMP_TARGETS and VICTORY_DUMP_TITLE, with a unit test. Closing the loop here.@github-actions[bot] on GitHub · 2026-11-28 10:39 UTC · original
Released. This issue is free to claim.
@AnastasisKon on GitHub · 2026-11-28 12:36 UTC · original
Fixed on main by #543 and never closed, so it has been sitting in
good first issueas free work.write_dumpincrates/victory-gpu/src/native/glue.rsnow runscreate_dir_allon the dump folder before the first write and logs the first failure once (glue.rs:481); the pass-trace.ppmwrites go through it (glue.rs:1473), anda_dump_makes_its_folder_and_reports_a_write_it_cannot_make(glue.rs:495) covers it. Verified on the tree at my fork's main (69146296) before closing. Closing it so nobody spends a claim on work that is already in.