Skip to content

docs(cli): the command reference omits tale deploy --configuration-only (and deploy provision's extra options) #4467

Closed

Description

@yannickmonney

Summary

The CLI command reference (docs/{en,de,fr}/self-hosted/install/cli-install.md, "Command reference") says it lists each command and its arguments. It leaves out tale deploy --configuration-only, which tale deploy --help shows: "Apply hot managed configuration to the exact healthy runtime without a snapshot or restart". The flag requires --bundle. An operator reading the reference can't learn that a configuration-only apply exists, or that it skips the pre-deploy snapshot and the restart.

How the check went: every --flag in the reference was compared with the options defined in tools/cli/src at main a89498df49b8ea957c14e14ca878943e98fa6849.

  • Documented flags: 66 of the 68 exist in source. The other two are the notation example --flag and commander's built-in --help.
  • Visible in help but not in the reference:
Flag Defined at Note
tale deploy --configuration-only tools/cli/src/commands/deploy/index.ts:27–29 user-facing; requires --bundle (:110)
tale deploy provision --configuration-only, --expected-user <id>, --expected-organization <id> tools/cli/src/commands/deploy/provision.ts:193–203 the backend-local phase that bundle deployment invokes (lib/deployment/apply.ts:377–380 passes the expected IDs). The reference documents only deploy provision [--bundle <directory>] (cli-install.md:286)
  • Correctly absent: --internal-instance is hidden (.hideHelp()).
  • Documented elsewhere: --accept-data-loss is covered with its warning in self-hosted/operate/upgrades.md:118.

Expected and observed

  • Expected: the tale deploy entry lists --configuration-only, with what it skips (snapshot and restart), that it needs --bundle, and when to use it. The deploy provision entry either lists its three extra options or says they are set by the deployment automation. The de and fr pages follow.
  • Observed: none of the four appear in the reference.

Severity

Low (DOCS, cli.install-deploy). The command works, but a documented reference that misses a mode that skips the safety snapshot leaves operators to find it in --help.

Acceptance checks

  1. The reference documents tale deploy --configuration-only, and either documents or explicitly scopes out the deploy provision options. The change goes into en, de and fr; CI's outline check keeps them in step.
  2. Optional regression: a CLI test compares the options in tale <command> --help (excluding hidden ones) with the flags named in cli-install.md, so a new flag can't ship undocumented.

Limits

  • Static: CLI source and docs at main. tale --help wasn't executed, and the flag's runtime effect wasn't observed.

Found by TALE-358 Review A (product and experience: DOCS, cli.install-deploy), occurrence 2026-10-07 04:15 Europe/Zurich, run df3cb260-da54-4a59-a496-59f6b0db3d33.

Activity

  1. yannickmonney commented on Oct 7, 2026

    @yannickmonney
    ContributorAuthor

    Post-merge recheck (TALE-358 Review A, run a2134554; static plus CI): fixed by #4470 (865f36ed8).

    • The tale deploy entry in cli-install.md (en, de, fr) now documents --configuration-only: it requires --bundle, applies only hot managed configuration to an already-ready deployment, skips the snapshot and restart, and says when to use it.
    • deploy provision's options are explicitly scoped as internal to bundle deployment (acceptance check 1).
    • CI: the docs suite passed uncached at 524e438626.
    • Not done: the optional --help and docs regression test (check 2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions