Skip to content

feat: add manage:list-backends command with cleanup verdicts - #111

Draft
jirkasemmler wants to merge 1 commit into
mainfrom
jirka/manage-list-backends
Draft

feat: add manage:list-backends command with cleanup verdicts#111
jirkasemmler wants to merge 1 commit into
mainfrom
jirka/manage-list-backends

Conversation

@jirkasemmler

Copy link
Copy Markdown
Contributor

Changes:

  • New manage:list-backends command — read-only inventory of a stack's storage backends with a cleanup verdict per backend (DELETE_UNSUPPORTED_UNUSED / DELETE_UNUSED / REVIEW_UNSUPPORTED_IN_USE / REVIEW_MAINTAINER_ONLY / KEEP). Prints comma-separated ID lists ready to paste into manage:delete-backend.
  • Fetches the detail of every backend (GET /manage/storage-backend/{id}) to add columns missing from the list response: loginType, keyRotated, dynBackends, useSso, ssoEnabled, ssoConfigured.
  • --format=table|csv (CSV keeps stdout parseable, summary goes to stderr), --verdict=X and --unsupported filters; summary is always computed over the whole stack.
  • Registered in cli.php, documented in README.

Used for the DMD-1638 prod backend cleanup — drove the inventory and keypair review of all 14 prod stacks.


Additional notes

⚠️ Don't forget to release new version after merge

🤖 Generated with Claude Code

Read-only inventory of a stack's storage backends. Fetches the detail of
every backend to include loginType, keyPairLastRotatedAt, SSO and dynamic
backend flags, assigns a cleanup verdict per backend and prints ID lists
ready for manage:delete-backend. Used for the DMD-1638 prod cleanup.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant