Repository navigation
flare-cli, debian: sync flare.1 subcommands and fix "an orbit" wording - #687
Merged
lukealonso merged 1 commit intoDec 3, 2026
Merged
Conversation
The Debian manual page `packaging/debian/flare.1` listed only three of the nine visible `flare` CLI subcommands (`run`, `agent`, and `orbit`), omitting `download`, `inspect`, `doctor`, `trust`, `models`, and `parallax`, while its `run` summary did not mention downloading prepared cores from Hugging Face. Separately, four strings and doc comments in `flare-cli/src/orbit/` used the indefinite article "a orbit" instead of "an orbit", including the user-visible systemd unit `Description` installed by `flare agent install` and the core resolution error returned by `flare orbit run`. Before this change, `packaging/debian/flare.1` `.SH COMMANDS` documented only `run`, `agent`, and `orbit`, and four locations in `flare-cli/src/orbit/` contained "a orbit". After this change: - `packaging/debian/flare.1` `.SH COMMANDS` documents all nine visible subcommands defined in `flare-cli/src/cli.rs` (`run`, `download`, `inspect`, `doctor`, `agent`, `orbit`, `trust`, `models`, and `parallax`) in CLI help order with summaries matching `flare --help`. - `flare-cli/src/orbit/agent.rs` updates the generated systemd unit `Description` from `a orbit's` to `an orbit's`; `flare-cli/src/orbit/controller.rs` updates the core-access error message and the `CoreReference::Node` doc comment from `a orbit` to `an orbit`; and `flare-cli/src/orbit/mod.rs` updates the `PROTOCOL_VERSION` doc comment from `a orbit` to `an orbit`. - `flare-cli/src/cli.rs` adds `cli::tests::debian_man_page_documents_every_visible_subcommand` to assert that `packaging/debian/flare.1` `.SH COMMANDS` matches the visible subcommands in `Cli::command()`, and `flare-cli/src/orbit/agent.rs` extends `orbit::agent::tests::systemd_unit_quotes_core_cache_with_spaces_and_percent` to assert the updated `Description` line. Debian package users reading `man 1 flare` now see the complete set of visible CLI subcommands with accurate descriptions, future CLI subcommand additions cannot silently drift from `packaging/debian/flare.1` without failing `flare-cli` unit tests, and Orbit systemd unit metadata and diagnostics use grammatical English without changing runtime behavior or core compatibility. Validation: - Built the release `flare` binary (`cargo build --locked --release --manifest-path flare-cli/Cargo.toml --bin flare`) and verified `flare --help` against `packaging/debian/flare.1`. - Checked troff formatting and rendering with `groff -man -Tutf8 -ww -z packaging/debian/flare.1` (zero warnings) and `groff -man -Tutf8 packaging/debian/flare.1`. - Ran `cargo test --locked --release --manifest-path flare-cli/Cargo.toml`: all 246 executed tests passed across `src/main.rs` (220 passed, 3 ignored), `tests/cache_commands.rs` (9 passed), `tests/cli.rs` (6 passed), `tests/inspect.rs` (4 passed), and `tests/unverified_payload.rs` (7 passed), including `cli::tests::debian_man_page_documents_every_visible_subcommand` and `orbit::agent::tests::systemd_unit_quotes_core_cache_with_spaces_and_percent`. The 3 ignored unit tests require explicit multi-host or legacy-core fixtures (`export_signed_payload_distribution_fixture`, `receive_rank_accepts_old_metadata_with_empty_platform`, `serve_ring_transfer_fixture`) and were not run. - Ran `grep -rni "a orbit" . --exclude-dir=.git` and confirmed zero matches. - Limitations: the full Docker Debian package build (`./scripts/build_deb.sh`) and `systemctl --user` service installation were not executed in this environment. Fixes NVIDIA#452 Signed-off-by: Joshua Cartu <jcartu@users.noreply.github.com> Design-Signed-Off-By: Antigravity (Gemini 4 Neon); design-review=2e5b
Collaborator
|
A case file has been opened for 687. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Collaborator
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Ready To MergePR #687 cleanly fixes both halves of maintainer-confirmed issue #452:
Walkthrough
Merge Risk: Low · up to
|
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.
Fixes #452
The Debian manual page
packaging/debian/flare.1documented only three of the nine visibleflareCLI subcommands (run,agent, andorbit), omittingdownload,inspect,doctor,trust,models, andparallax, and itsrunsummary omitted downloading prepared cores from Hugging Face. Separately, four strings and doc comments inflare-cli/src/orbit/used"a orbit"instead of"an orbit", including the user-visible systemd unitDescriptioninstalled byflare agent installand the core-access error returned byflare orbit run.Before this change,
packaging/debian/flare.1.SH COMMANDSlisted onlyrun,agent, andorbit, and four locations underflare-cli/src/orbit/wrote"a orbit". After this change:packaging/debian/flare.1.SH COMMANDSdocuments all nine visible subcommands defined inflare-cli/src/cli.rs(run,download,inspect,doctor,agent,orbit,trust,models, andparallax) in CLI help order with summaries aligned withflare --help.flare-cli/src/orbit/agent.rschanges the generated systemd user unitDescriptionfroma orbit'stoan orbit's;flare-cli/src/orbit/controller.rschanges the node-held core resolution error message and theCoreReference::Nodedoc comment froma orbittoan orbit; andflare-cli/src/orbit/mod.rschanges thePROTOCOL_VERSIONdoc comment froma orbittoan orbit.flare-cli/src/cli.rsaddscli::tests::debian_man_page_documents_every_visible_subcommandto verify thatpackaging/debian/flare.1.SH COMMANDSmatches the visible subcommands inCli::command(), andflare-cli/src/orbit/agent.rsextendsorbit::agent::tests::systemd_unit_quotes_core_cache_with_spaces_and_percentto assert the updatedDescriptionline.As a result,
man 1 flareinstalled by theflare-inferenceDebian package documents every visibleflaresubcommand accurately, future CLI subcommand additions are checked againstpackaging/debian/flare.1byflare-cliunit tests, and Orbit systemd unit metadata and diagnostics use grammatical English without changing runtime behavior or core compatibility.Validation:
flarebinary (cargo build --locked --release --manifest-path flare-cli/Cargo.toml --bin flare) and comparedflare --helpdirectly againstpackaging/debian/flare.1.groff -man -Tutf8 -ww -z packaging/debian/flare.1(zero warnings) andgroff -man -Tutf8 packaging/debian/flare.1.cargo test --locked --release --manifest-path flare-cli/Cargo.toml: 246 executed tests passed acrosssrc/main.rs(220 passed, 3 ignored),tests/cache_commands.rs(9 passed),tests/cli.rs(6 passed),tests/inspect.rs(4 passed), andtests/unverified_payload.rs(7 passed), includingcli::tests::debian_man_page_documents_every_visible_subcommandandorbit::agent::tests::systemd_unit_quotes_core_cache_with_spaces_and_percent. The 3 ignored unit tests require explicit multi-host or legacy-core fixtures (export_signed_payload_distribution_fixture,receive_rank_accepts_old_metadata_with_empty_platform,serve_ring_transfer_fixture) and were not run.grep -rni "a orbit" . --exclude-dir=.gitand confirmed zero matches across the repository..debpackage build (./scripts/build_deb.sh) andsystemctl --userservice installation were not run.Discord: jcartu