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

astronomer / astro-cli / 85452603-26a6-463e-a4a6-cb172c507f1b
39%
main: 39%

Build:
Build:
LAST BUILD BRANCH: support-local-spec-files
DEFAULT BRANCH: main
Ran 07 Apr 2026 05:01PM UTC
Jobs 1
Files 194
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

07 Apr 2026 01:52PM UTC coverage: 39.34% (+0.03%) from 39.31%
85452603-26a6-463e-a4a6-cb172c507f1b

Pull #2071

circleci

ashb
Move shared request editor and API error logic into pkg/httputil

Consolidates the duplicated TrueString constant, ErrorRequest/ErrorBaseURL/
HTTPStatus200/HTTPStatus204 vars, NormalizeAPIError function, and request
editor function from all three astro-client-*-core packages into a new
pkg/httputil/request_editor.go. Each client package now re-exports the
vars/const and delegates NormalizeAPIError to httputil, and constructs its
request editor via httputil.NewRequestEditorFn with its API path argument.

Also fixes the double x-astro-client-version header bug in
astro-client-core/client.go. The original code called Header.Add (which
appends, not overwrites) unconditionally after the switch that already set
it -- so every request carried two x-astro-client-version values. In the
deploy-action case the server would see both the deploy action version and
CurrVersion.
Pull Request #2071: Move shared request editor and API error logic into pkg/httputil

11 of 57 new or added lines in 11 files covered. (19.3%)

4 existing lines in 2 files now uncovered.

24838 of 63137 relevant lines covered (39.34%)

9.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
0.0
pkg/httputil/request_editor.go
5
0.0
0.0% astro-client-core/client.go
5
0.0
0.0% astro-client-iam-core/client.go

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% astro-client-core/client.go
2
0.0
0.0% astro-client-iam-core/client.go
Jobs
ID Job ID Ran Files Coverage
1 85452603-26a6-463e-a4a6-cb172c507f1b.1 07 Apr 2026 05:01PM UTC 194
39.34
Source Files on build 85452603-26a6-463e-a4a6-cb172c507f1b
  • Tree
  • List 194
  • Changed 10
  • Source Changed 10
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #85452603...
  • Pull Request #2071
  • PR Base - main (#978BB4FF...)
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