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

astronomer / astro-cli / 9ad99b8e-3845-40f1-8a24-6318621f6405
39%
main: 39%

Build:
Build:
LAST BUILD BRANCH: support-local-spec-files
DEFAULT BRANCH: main
Ran 08 Apr 2026 03:49PM UTC
Jobs 1
Files 195
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

08 Apr 2026 03:43PM UTC coverage: 39.344% (+0.03%) from 39.311%
9ad99b8e-3845-40f1-8a24-6318621f6405

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

3 of 49 new or added lines in 6 files covered. (6.12%)

24842 of 63141 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
Jobs
ID Job ID Ran Files Coverage
1 9ad99b8e-3845-40f1-8a24-6318621f6405.1 08 Apr 2026 03:49PM UTC 195
39.34
Source Files on build 9ad99b8e-3845-40f1-8a24-6318621f6405
  • Tree
  • List 195
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #9AD99B8E...
  • Pull Request #2071
  • PR Base - main (#D5971DAD...)
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