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

astronomer / astro-cli / da3d43cb-c911-42de-aa6b-ed0b01269573
45%
main: 44%

Build:
Build:
LAST BUILD BRANCH: kk-plx-644
DEFAULT BRANCH: main
Ran 10 Jun 2026 10:24PM UTC
Jobs 1
Files 217
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 Jun 2026 10:17PM UTC coverage: 44.968% (+0.2%) from 44.776%
da3d43cb-c911-42de-aa6b-ed0b01269573

Pull #2120

circleci

jlaneve
fix(env): round-trip Links/ExcludeLinks in update bodies

The platform treats Links/ExcludeLinks arrays omitted from a PATCH as
"remove them all" (while preserving omitted fields within a present link
entry). UpdateVar/UpdateAirflowVar/UpdateConn sent value-only bodies, so
`astro env variable update` silently unlinked the object from every
deployment, deleting any override the deployment had.

Extract the round-trip into echoLinksAndExcludes (nil-normalized to []
so the JSON carries empty arrays, not null), use it in the three update
functions and patchVarLinks, and fetch the full object on update instead
of just resolving the ID. Fix the LinkVar doc comment and link-create
help text that claimed the platform preserves omitted PATCH fields, with
the array-vs-field nuance spelled out. Regression test asserts a
value-only update echoes existing links and excludes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #2120: feat(env): add link / unlink / links commands for env variables

319 of 466 new or added lines in 10 files covered. (68.45%)

26 existing lines in 4 files now uncovered.

25341 of 56354 relevant lines covered (44.97%)

7.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
25.52
-4.34% cloud/env/format.go
41
68.94
cmd/cloud/env_var_link.go
40
84.25
cloud/env/link.go
9
38.1
-3.46% cloud/env/airflow_var.go
6
52.1
-1.81% cloud/env/conn.go
2
74.42
-0.26% cloud/env/var.go

Coverage Regressions

Lines Coverage ∆ File
7
38.1
-3.46% cloud/env/airflow_var.go
7
52.1
-1.81% cloud/env/conn.go
7
65.15
0.0% cloud/env/objects.go
5
74.42
-0.26% cloud/env/var.go
Jobs
ID Job ID Ran Files Coverage
1 da3d43cb-c911-42de-aa6b-ed0b01269573.1 10 Jun 2026 10:24PM UTC 217
44.97
Source Files on build da3d43cb-c911-42de-aa6b-ed0b01269573
  • Tree
  • List 217
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #DA3D43CB...
  • Pull Request #2120
  • PR Base - main (#28186FB9...)
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