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

astronomer / astro-cli / 39084009249
61%
main: 45%

Build:
Build:
LAST BUILD BRANCH: sync/main-into-v2-2026-10-21c
DEFAULT BRANCH: main
Ran 18 Oct 2026 12:51AM UTC
Jobs 1
Files 337
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

18 Oct 2026 12:46AM UTC coverage: 60.066% (+0.02%) from 60.05%
39084009249

push

github

web-flow
Merge main into v2 (#2347)

* Refuse a Remote Execution agent image on astro deploy, and warn when astro remote deploy gets something else (#2226)

* Warn/cancel when a Dockerfile's base image flavor doesn't match the deploy path

astro deploy (hosted) and astro remote deploy (Remote Execution) expect
structurally different images. Add a best-effort check, at both pre-build
(inspects the Dockerfile's FROM image directly, skips silently on
unresolvable ARG-templated FROM lines) and post-build (inspects the actual
built image -- no ambiguity, so this one cancels the deploy rather than
just warning, mirroring the existing ValidRuntimeVersion cancel-on-mismatch
convention) stages.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Narrow the env var check to never expose values, only a boolean

Replace ImageHandler.GetEnvVars() (returned the full "KEY=VALUE" list,
including any values baked into the image) with
HasEnvVarWithPrefix(altImageName, prefix) (bool, error). The raw env
list is now parsed and discarded entirely within a single function in
docker_image.go; nothing outside that function -- not the interface,
not cloud/deploy, not any log line -- ever sees a variable's value or
even the full list of variable names. Callers only ever learn whether
a given name prefix is present.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Fix lint: reduce buildImage cognitive complexity, drop unused param

Extract the pre-build and post-build agent-flavor check call sites
in buildImage/DeployClientImage into small dedicated helper
functions (warnIfPreBuildAgentFlavorMismatch,
cancelIfAgentFlavorImageHosted) -- gocognit flagged buildImage at 31
(> 30) after the checks were inlined there. Also rename
hasEnvVarWithPrefix to isAgentFlavorImage and drop its now-constant
prefix parameter (unparam: every call site passed agentEnvVarPrefix).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Keep only the post-build agent image check, and ne... (continued)

28 of 28 new or added lines in 3 files covered. (100.0%)

40412 of 67279 relevant lines covered (60.07%)

292.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39084009249.1 18 Oct 2026 12:51AM UTC 337
60.07
GitHub Action Run
Source Files on build 39084009249
  • Tree
  • List 337
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39084009249
  • d2d4bb12 on github
  • Prev Build on v2 (#39080681493)
  • Next Build on v2 (#39084061870)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc