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

astronomer / astro-cli / 7d6dfa49-17c3-4f98-9f61-6d6efddfe894
37%
main: 39%

Build:
Build:
LAST BUILD BRANCH: astro-local-support
DEFAULT BRANCH: main
Ran 25 Mar 2026 09:16PM 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

25 Mar 2026 09:09PM UTC coverage: 36.216% (+0.1%) from 36.08%
7d6dfa49-17c3-4f98-9f61-6d6efddfe894

Pull #2043

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 #2043: [AI-84] --json output and --format consistency pass

419 of 680 new or added lines in 13 files covered. (61.62%)

18 existing lines in 2 files now uncovered.

24773 of 68404 relevant lines covered (36.22%)

8.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
103
78.91
-9.13% 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
10
91.48
-0.73% cmd/airflow.go
6
93.69
-0.46% cmd/cloud/deployment.go
6
95.79
-1.03% cmd/cloud/organization.go
6
94.35
-0.88% 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
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 7d6dfa49-17c3-4f98-9f61-6d6efddfe894.1 25 Mar 2026 09:16PM UTC 198
36.22
Source Files on build 7d6dfa49-17c3-4f98-9f61-6d6efddfe894
  • Tree
  • List 198
  • Changed 15
  • Source Changed 15
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #7D6DFA49...
  • Pull Request #2043
  • PR Base - main (#144547F3...)
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