Skip to content

docs: gate unreleased subcommands with v0.21.0+ availability notes#221

Merged
inureyes merged 1 commit into
mainfrom
docs/issue-214-unreleased-subcommand-gating
May 24, 2026
Merged

docs: gate unreleased subcommands with v0.21.0+ availability notes#221
inureyes merged 1 commit into
mainfrom
docs/issue-214-unreleased-subcommand-gating

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

Resolves the README inconsistency reported in #214: the body presented config, doctor, snapshot, record, and view --replay as currently-shipped features, while the Changelog correctly listed them under "v0.21.0 (upcoming)". A Windows 11 user on v0.20.1 followed the README, ran all-smi.exe config, hit error: unrecognized subcommand 'config', and reasonably concluded the bug was Windows-specific — it is not; these subcommands are absent on every platform in v0.20.1 because they post-date the tag.

This PR takes option 2 from the issue ("version-gate the docs"). Option 1 (cutting v0.21.0) is out of scope for /auto-impl.

Changes

README.md only — no source changes; the subcommands already exist on main and ship as documented in v0.21.0.

  • Command Overview — added a top-of-section banner noting the README tracks main and tagging each of the four unreleased examples (snapshot, record, view --replay) with (Availability: v0.21.0+) inline.
  • Configuration — added an "Availability: v0.21.0+" banner covering the config init / print / validate helpers and the TOML loader, explicitly calling out that pre-existing environment variables (e.g., ALL_SMI_API_PORT, ALL_SMI_ALERTS_TEMP_WARN_C) continue to work in v0.20.1 so users do not assume those regressed.
  • Diagnostics — added an "Availability: v0.21.0+" banner for the doctor subcommand.
  • Scripting / CI (Snapshot Mode) — added an "Availability: v0.21.0+" banner for the snapshot subcommand.
  • Recording & Replay — added an "Availability: v0.21.0+" banner for record and view --replay.
  • Install URLs — reconciled four github.com/inureyes/all-smi/... links in the Debian package and pre-built binary install sections to the canonical lablup/all-smi repository (secondary cleanup noted in the issue).

Wording was kept consistent with the Changelog's existing "v0.21.0 (upcoming)" entry so the two sources of truth agree.

Test plan

  • cargo check --lib --tests passes (docs-only change; verifies no inadvertent breakage)
  • grep -n "Availability: v0.21" README.md shows 8 hits (1 banner + 3 inline tags in Command Overview, plus 1 banner each in Configuration, Diagnostics, Snapshot, and Recording & Replay)
  • grep -n "inureyes/all-smi" README.md returns empty (no residual upstream URL drift)
  • Internal consistency: every body section that mentions config, doctor, snapshot, record, or view --replay now agrees with the Changelog's "v0.21.0 (upcoming)" entry

Closes #214

The README on `main` documents `config`, `doctor`, `snapshot`, `record`,
and `view --replay` as if they are current features, but the latest
published release (v0.20.1) does not include any of them — they were
merged after the v0.20.1 tag and are staged for v0.21.0 in the
Changelog. A Windows 11 user who downloaded the v0.20.1 binary and ran
`all-smi.exe config` reasonably (but mistakenly) concluded the problem
was Windows-specific.

Resolve the internal inconsistency between the body sections and the
"v0.21.0 (upcoming)" Changelog entry by adding explicit
"Availability: v0.21.0+" notes to:

  - Command Overview (top-of-section banner + per-example tags on
    `snapshot`, `record`, and `view --replay`)
  - Configuration (covers `config init`, `config print`,
    `config validate`, and the TOML loader)
  - Diagnostics (`doctor`)
  - Scripting / CI (Snapshot Mode) (`snapshot`)
  - Recording & Replay (`record` and `view --replay`)

Each note points users to building from source or waiting for the
v0.21.0 release. Environment-variable behaviour that already worked in
v0.20.1 is called out explicitly in the Configuration banner so users
do not assume those broke.

Also reconcile four `github.com/inureyes/all-smi/...` links in the
Debian package and pre-built binary install sections to the canonical
`lablup/all-smi` repository, matching the upstream releases page that
the body actually points users toward.

No source change is required; the subcommands themselves already exist
on `main` and will ship as documented in v0.21.0.
@inureyes inureyes added type:docs Improvements or additions to documentation priority:medium Medium priority issue status:review Under review status:done Completed and removed status:review Under review labels May 24, 2026
@inureyes inureyes merged commit 92c82fa into main May 24, 2026
4 checks passed
@inureyes inureyes deleted the docs/issue-214-unreleased-subcommand-gating branch May 24, 2026 06:38
@inureyes inureyes self-assigned this May 24, 2026
inureyes added a commit that referenced this pull request May 24, 2026
Refs #221, #222, #224, #225, #226, #227.

Align config path active discovery with the implicit loader's first-existing-candidate semantics, correct record output help and resolver docs against the binary default, and make the swap-color regression test derive crossterm's current Red SGR sequence instead of hard-coding older encodings.
inureyes added a commit that referenced this pull request May 24, 2026
Refs #221, #222, #224, #225, #226, #227.

Align config path active discovery with the implicit loader's first-existing-candidate semantics, correct record output help and resolver docs against the binary default, and make the swap-color regression test derive crossterm's current Red SGR sequence instead of hard-coding older encodings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority issue status:done Completed type:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: README documents unreleased subcommands (config/doctor/snapshot/record) absent from v0.20.1 release — not Windows-specific

1 participant