Skip to content

FR-6975: Filter deployments by environment in the CLI - #24

Merged
frank-laemmer merged 2 commits into
mainfrom
fr-6975-filter-deployments-by-environment
Oct 30, 2026
Merged

frank-laemmer merged 2 commits into
mainfrom
fr-6975-filter-deployments-by-environment

Conversation

@frank-laemmer

Copy link
Copy Markdown
Member

🤖

CLI part of FR-6975.

  • frbit deployments list takes --environment en-… and --page, matching the paginated GET /v1/deployments from fortrabbit/frapi.
  • The CREATED column (deploy time) replaces COMMITTED; --json keeps both.
  • An empty --environment is rejected, so an unset shell variable does not list every deployment.

Release after frapi. The old API ignores --environment and leaves CREATED empty.

Tests: go test -race ./... green, plus a run against local frapi (filter, paging, 422 message).

🤖 Generated with Claude Code

🤖

frank-laemmer and others added 2 commits October 30, 2026 13:42
frbit deployments list takes --environment and --page, matching the
paginated GET /v1/deployments, and shows the deploy time (createdAt)
in place of the commit time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An unset shell variable passed as --environment would otherwise list
every deployment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frank-laemmer
frank-laemmer merged commit 0af3af5 into main Oct 30, 2026
2 checks passed
@frank-laemmer
frank-laemmer deleted the fr-6975-filter-deployments-by-environment branch October 30, 2026 13:10
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