Skip to content

docs(admin-cli): document decommission-worker --yes/-y confirmation-skip flag - #1957

Merged
nicoloboschi merged 1 commit into
vectorize-io:mainfrom
r266-tech:docs-admin-cli-decommission-worker-yes-flag
Jun 5, 2026
Merged

nicoloboschi merged 1 commit into
vectorize-io:mainfrom
r266-tech:docs-admin-cli-decommission-worker-yes-flag

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

decommission-worker accepts a --yes/-y flag to skip the destructive confirmation prompt (hindsight_api/admin/cli.py, decommission_worker() — the option gates the "release all tasks owned by worker … Continue?" typer.confirm), but its Options table only lists --schema. The two sibling destructive commands already document it: restore and decommission-workers both have | --yes, -y | Skip confirmation prompt | false |, so decommission-worker is the lone gap.

Adds the missing row so scripted/non-interactive decommissioning (e.g. a Kubernetes scale-down hook) has a documented way to skip the prompt.

Updated the generated agent-skill mirror skills/hindsight-docs/references/developer/admin-cli.md alongside the canonical doc so verify-generated-files stays green.

@nicoloboschi
nicoloboschi merged commit 72985b6 into vectorize-io:main Jun 5, 2026
62 checks passed
cdbartholomew added a commit that referenced this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants