Skip to content

docs(admin-cli): document decommission-workers and worker-status#1180

Merged
nicoloboschi merged 2 commits intovectorize-io:mainfrom
r266-tech:docs-admin-cli-1165-decommission-workers-worker-status
Apr 21, 2026
Merged

docs(admin-cli): document decommission-workers and worker-status#1180
nicoloboschi merged 2 commits intovectorize-io:mainfrom
r266-tech:docs-admin-cli-1165-decommission-workers-worker-status

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

Summary

PR #1165 (feat(admin): add decommission-workers and worker-status CLI commands, merged 2026-04-20) added two new hindsight-admin CLI commands to hindsight-api-slim/hindsight_api/admin/cli.py but hindsight-docs/docs/developer/admin-cli.md still only documents decommission-worker (singular).

Added dedicated sections for each new command, following the existing doc style (description / Options / Examples / When to Use):

  • decommission-workers (no WORKER_ID arg): releases ALL processing tasks across every worker, supports --schema and --yes
  • worker-status: prints all processing tasks grouped by worker with operation type, bank, runtime, and last-update-ago; supports --schema

Both sections mirror the behavior documented in the typer.Option definitions and docstrings in admin/cli.py (no new behavior invented). A :::warning Disruptive callout on decommission-workers nudges users toward the singular form when they know the worker ID.

Mirrored the same content to skills/hindsight-docs/references/developer/admin-cli.md to keep the docs skill in sync (same dual-doc pattern as #1137).

Test plan

  • Docs render: run-db-migration / backup / restore / decommission-worker / decommission-workers / worker-status all appear in the Commands section and have parallel structure
  • No code logic changes; existing admin CLI tests unaffected

PR vectorize-io#1165 added two new admin CLI commands (decommission-workers,
worker-status) but admin-cli.md was not updated. Readers scanning the
Commands section could only find the singular decommission-worker.

Added dedicated sections for each new command following the existing
style (Arguments/Options/Examples/When to Use). Pure docs, mirrors
behavior documented in typer command help strings.
Mirror change from hindsight-docs/docs/developer/admin-cli.md so the
docs skill reference stays in sync (matches the pattern set by vectorize-io#1137).
Copy link
Copy Markdown
Collaborator

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicoloboschi nicoloboschi merged commit b79caa9 into vectorize-io:main Apr 21, 2026
46 checks passed
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