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

astronomer / astro-cli / c1c4f79c-8fb9-4485-afea-f88585b6d50e
39%
main: 39%

Build:
Build:
LAST BUILD BRANCH: support-local-spec-files
DEFAULT BRANCH: main
Ran 08 Apr 2026 03:04PM 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

08 Apr 2026 02:43PM UTC coverage: 39.341% (+0.03%) from 39.311%
c1c4f79c-8fb9-4485-afea-f88585b6d50e

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%)

40 existing lines in 3 files now uncovered.

24839 of 63138 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
36
76.65
0.0% cmd/api/airflow.go
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 c1c4f79c-8fb9-4485-afea-f88585b6d50e.1 08 Apr 2026 03:04PM UTC 194
39.34
Source Files on build c1c4f79c-8fb9-4485-afea-f88585b6d50e
  • Tree
  • List 194
  • Changed 10
  • Source Changed 10
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #C1C4F79C...
  • 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