Repository navigation
tests: validate documented flags against forwarded CLI producers - #7238
Closed
Barbital11111 wants to merge 1 commit into
Closed
Barbital11111 wants to merge 1 commit into
Barbital11111 wants to merge 1 commit into
Conversation
Contributor
Author
|
Closing as a duplicate of #7242. Its coordination claim at #7049 (comment) predates mine and includes the forwarded flag check. |
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.
Coordination claim.
The docs option checker looked only in
dev.py, so it reported five valid forwarded options as missing. For a discovered development subcommand, check its flags against the actual producer fromdev.py discover --json. Direct commands and wrapper-owneddiscoveroptions keep using their own script. The negative control catches unknown flags and flags from a different subcommand.On Windows 11 / CPython 3.14.3,
test_docs_cli_flags.pyreproduced the five false positives on8575d36edand now passes all four tests. The development CLI discovery, boot-trace and guest-scene suites pass 13 tests.git diff --checkand the changed-file no-game-data check passed. The separate documentation anchor failure is tracked by #7217.AI-assisted (Codex), CPU-only synthetic inputs.