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

astronomer / astro-cli / 8ca19b7f-1af9-4517-92a2-6525047c01dc
39%
main: 45%

Build:
Build:
LAST BUILD BRANCH: julianlaneve/standalone-pump-hardening
DEFAULT BRANCH: main
Ran 10 Apr 2026 02:32AM 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

10 Apr 2026 02:25AM UTC coverage: 39.342% (-0.002%) from 39.344%
8ca19b7f-1af9-4517-92a2-6525047c01dc

Pull #2078

circleci

jlaneve
Switch settings import from CLI commands to Airflow REST API

Replace the heredoc/bash approach with direct HTTP calls to the Airflow
REST API. This is cross-platform (no bash dependency), faster (no CLI
startup overhead), and works identically for Docker and standalone modes.

For each variable, connection, and pool: POST to create, if 409
(already exists) then PATCH to update. This matches the previous
overwrite behavior.

Key changes:
- ConfigSettings now takes airflowURL + authHeader instead of container ID
- AddVariables/AddConnections/AddPools make HTTP calls to the REST API
- Airflow 2: Basic Auth (admin:admin) with /api/v1 endpoints
- Airflow 3: JWT auth via /auth/token with /api/v2 endpoints
- URI-only connections are parsed into individual fields (conn_type,
  host, login, password, port, schema) since the REST API doesn't
  accept a uri field directly
- printStatus/printProxyStatus no longer need container ID or Ps calls
- Tests use httptest.NewServer to mock the Airflow API
- Removed poolImportEntry type (no longer needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #2078: Batch import Airflow settings to speed up dev start

167 of 218 new or added lines in 3 files covered. (76.61%)

21 existing lines in 3 files now uncovered.

24854 of 63174 relevant lines covered (39.34%)

9.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
81.34
-1.08% settings/settings.go
22
77.46
0.27% airflow/docker.go
2
76.41
-1.57% airflow/standalone.go

Coverage Regressions

Lines Coverage ∆ File
14
76.41
-1.57% airflow/standalone.go
4
81.34
-1.08% settings/settings.go
3
77.46
0.27% airflow/docker.go
Jobs
ID Job ID Ran Files Coverage
1 8ca19b7f-1af9-4517-92a2-6525047c01dc.1 10 Apr 2026 02:32AM UTC 195
39.34
Source Files on build 8ca19b7f-1af9-4517-92a2-6525047c01dc
  • Tree
  • List 195
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #8CA19B7F...
  • Pull Request #2078
  • PR Base - main (#CAF414DE...)
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