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.
[cli-consistency] Normalize trial option ordering and logs cache-before help text #47834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli-consistency] Normalize trial option ordering and logs cache-before help text #47834
Changes from all commits
492e7d80e9136005f205bc9e0f9f5120e07File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[/grill-with-docs] The PR description says the
(Cache eviction)prefix is removed, but this assertion guards that it is retained — the two contradict each other. The description should be updated to match the actual final state (prefix kept per reviewer request), so future audits and bisects aren't misled.@copilot please address this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test assertion contradicts the PR description: the new assertion verifies that
(Cache eviction)IS present in the flag usage string, but the PR description says this prefix was removed fromlogs_command.go.💡 Details
From the PR body:
But
logs_command.gois not in the diff — it was not changed — and the existing code on line 395 still reads:So the new assertion:
...passes today because the text was never removed, which means the test adds no regression protection. If someone later actually removes
(Cache eviction)(as the PR description implies was intended), this assertion would catch it — which is the opposite of what you want.Either:
logs_command.go(the change was missed), in which case the test should assert the absence of the prefix, not its presence.This needs clarification before merge.
Uh oh!
There was an error while loading. Please reload this page.