Skip to content

fix: stop a serve comment from naming placeholder flags - #2615

Merged
inureyes merged 1 commit into
mainfrom
fix/serve-comment-flag-placeholder
Oct 26, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/serve-comment-flag-placeholder

Conversation

@inureyes

Copy link
Copy Markdown
Member

A comment that #2612 added in run_serve_async (src/commands/serve.rs) named the toggle pairs --x / --no-x. tests/cli_help_consistency.rs scans src/commands for flag names and requires each to appear in some help output, so every_flag_named_in_command_source_exists_in_some_help failed on main. The comment now says "on/off flag pairs". No code change.

Found by the post-merge make verify-rocm-held gate on main 1c520eb1 (13,881 passed, this one failed). With the change, cargo test --features rocm -p mlxcel --test cli_help_consistency passes 27/27 and cargo fmt --check is clean.

Refs #2609

The comment #2612 added in run_serve_async called the toggle pairs `--x` / `--no-x`. tests/cli_help_consistency.rs scans src/commands for flag names and requires each one to exist in some help output, so every_flag_named_in_command_source_exists_in_some_help failed on main. The comment now says "on/off flag pairs".

Found by make verify-rocm-held on main 1c520eb (13,881 passed, this 1 failed); cli_help_consistency passes 27/27 with the change.

Refs #2609
@inureyes inureyes added type:bug Bug fixes, error corrections, or issue resolutions priority:medium Medium priority status:done Completed labels Oct 26, 2026
@inureyes
inureyes merged commit 13db628 into main Oct 26, 2026
28 checks passed
@inureyes
inureyes deleted the fix/serve-comment-flag-placeholder branch October 26, 2026 07:32
@inureyes inureyes added this to the 0.8 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority status:done Completed type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant