• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / b607a7ca-fc0d-4bfc-8479-d7591bb75ac5
37%
main: 39%

Build:
Build:
LAST BUILD BRANCH: astro-local-support
DEFAULT BRANCH: main
Ran 27 Mar 2026 03:35PM UTC
Jobs 1
Files 198
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2026 03:29PM UTC coverage: 36.217% (-0.3%) from 36.534%
b607a7ca-fc0d-4bfc-8479-d7591bb75ac5

Pull #2063

circleci

jlaneve
feat(ai-84): add --json, --output, and --template flags to list commands

Add structured output support (JSON, Go templates) to all list commands:
- astro dev ps
- astro deployment list
- astro workspace list
- astro organization list
- astro deployment/workspace/organization user list
- astro deployment/workspace/organization team list

New pkg/output package provides a unified Printer that handles table,
JSON (with terminal colorization), and Go template output formats.
Flags (--json, --output/-o, --template) are registered consistently
via output.Flags and marked mutually exclusive.

Key design decisions:
- PS() returns structured *PSStatus; table rendering moved to cmd layer
- JSON output uses empty strings + omitempty instead of "N/A" placeholders
- Table output applies orNA() for human-readable display
- PSStatus.Running is *bool, omitted in Docker mode (per-container
  state is in Containers array), present in standalone mode
- BuildTableConfig generics provide type-safe table column definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #2063: --json output and --format consistency pass

422 of 682 new or added lines in 13 files covered. (61.88%)

789 existing lines in 16 files now uncovered.

24774 of 68404 relevant lines covered (36.22%)

8.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
103
78.91
-9.15% cloud/team/team.go
89
80.41
-12.89% cloud/user/user.go
22
83.58
pkg/output/output.go
16
0.0
0.0% airflow/mocks/ContainerHandler.go
9
91.59
-0.63% cmd/airflow.go
6
93.69
-0.93% cmd/cloud/deployment.go
6
95.79
-1.47% cmd/cloud/organization.go
6
94.35
-1.39% cmd/cloud/workspace.go
1
86.18
0.47% cloud/deployment/deployment.go
1
89.35
1.26% cloud/organization/organization.go
1
88.64
0.66% cloud/workspace/workspace.go

Coverage Regressions

Lines Coverage ∆ File
138
77.31
0.19% airflow/docker.go
83
64.46
0.33% cmd/api/cloud.go
77
78.91
-9.15% cloud/team/team.go
77
82.19
-1.4% cmd/cloud/deployment_objects.go
62
76.93
-0.1% airflow/standalone.go
62
91.59
-0.63% cmd/airflow.go
61
79.82
0.0% cloud/deploy/deploy.go
59
93.69
-0.93% cmd/cloud/deployment.go
43
78.54
-0.43% pkg/openapi/endpoints.go
29
94.35
-1.39% cmd/cloud/workspace.go
22
86.14
-0.07% cmd/cloud/dbt.go
21
81.62
0.62% airflow_versions/airflow_versions.go
20
85.45
-0.89% pkg/openapi/cache.go
17
95.79
-1.47% cmd/cloud/organization.go
16
90.64
-1.44% airflow-client/airflow-client.go
2
86.18
0.47% cloud/deployment/deployment.go
Jobs
ID Job ID Ran Files Coverage
1 b607a7ca-fc0d-4bfc-8479-d7591bb75ac5.1 27 Mar 2026 03:35PM UTC 198
36.22
Source Files on build b607a7ca-fc0d-4bfc-8479-d7591bb75ac5
  • Tree
  • List 198
  • Changed 25
  • Source Changed 25
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #B607A7CA...
  • Pull Request #2063
  • PR Base - main (#AB4368AB...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc