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

astronomer / astro-cli / 0ae3710d-3734-4378-8ccc-8bb9e46c456b
45%
main: 45%

Build:
Build:
LAST BUILD BRANCH: add-retries
DEFAULT BRANCH: main
Ran 12 Jun 2026 09:50PM UTC
Jobs 1
Files 215
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

12 Jun 2026 09:43PM UTC coverage: 44.777% (-0.3%) from 45.091%
0ae3710d-3734-4378-8ccc-8bb9e46c456b

Pull #2170

circleci

kaxil
fix: Forward host environment to the compose loader so bare env passthrough resolves

astro dev start (Docker mode) builds its Compose project with
loader.LoadWithContext but left ConfigDetails.Environment unset. compose-go
resolves the bare host-env passthrough form (environment: [VAR] /
build.args: [VAR], with no value) by looking the variable name up in that
project Environment mapping (loader/environment.go resolveServicesEnvironment,
loader/normalize.go) -- a path separate from ${VAR} interpolation. With the
mapping empty, every bare passthrough silently resolved to nothing, diverging
from the plain docker compose CLI (which forwards the host environment) and from
astro's own standalone mode.

${VAR} interpolation was unaffected because it already used
Interpolate.LookupValue = os.LookupEnv.

Set Environment: composetypes.NewMapping(os.Environ()) on both ConfigDetails
literals (createDockerProject and createDockerProjectWithPorts) so bare
passthrough resolves to the host value, matching docker compose. A host
variable still reaches a container only when explicitly declared in the compose
YAML, so there is no new leakage surface.
Pull Request #2170: fix: Forward host environment to the compose loader so bare env passthrough resolves

1 of 2 new or added lines in 1 file covered. (50.0%)

196 existing lines in 8 files now uncovered.

25031 of 55902 relevant lines covered (44.78%)

7.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
77.15
-0.04% airflow/docker.go

Coverage Regressions

Lines Coverage ∆ File
73
29.86
-6.04% cloud/env/format.go
40
66.08
-0.15% cmd/cloud/env_var.go
34
42.97
-23.2% cloud/env/metrics.go
24
88.66
0.14% cloud/organization/organization.go
10
65.15
-0.52% cloud/env/objects.go
9
74.68
-0.03% cloud/env/var.go
3
53.91
2.25% cloud/env/conn.go
3
95.0
-0.15% pkg/util/util.go
Jobs
ID Job ID Ran Files Coverage
1 0ae3710d-3734-4378-8ccc-8bb9e46c456b.1 12 Jun 2026 09:49PM UTC 215
44.78
Source Files on build 0ae3710d-3734-4378-8ccc-8bb9e46c456b
  • Tree
  • List 215
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #0AE3710D...
  • Pull Request #2170
  • PR Base - main (#98D40E96...)
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