Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A missing path passed to
census,shader-info, ortranslatecurrently produces an empty report and a successful exit. The same happens when the missing path comes fromvictory.toml. Each command discards directory-walk errors before it examines the entries.Use a shared file iterator that propagates errors at the scan root. The returned error identifies the path. File roots and empty directories remain valid, and traversal below an accessible root keeps its existing best-effort behavior.
Verification
Ran 15 native Windows CLI cases on main and repeated them on this branch. Each of the three commands was given an empty directory, a regular text file, a missing path, a valid directory followed by a missing path, and a missing path from the configuration file. Main returned 0 in all 15 cases. This branch returned 0 for the six valid cases and 1 with the path on stderr for all nine missing-root cases.
Both Windows CLI unit tests passed, as did the repository asset-policy check. The native Linux CLI build stops in existing Windows-specific loader and GPU code before compiling the CLI.