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

astronomer / astro-cli / 39078688035
45%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2026 11:23PM UTC
Jobs 1
Files 218
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

17 Oct 2026 11:21PM UTC coverage: 45.244% (+0.005%) from 45.239%
39078688035

push

github

web-flow
Name the right config in the unconfigured-registry advice, and keep TestClientRegistry from leaking (#2341)

* Point the unconfigured-registry error at -g, and keep TestClientRegistry from leaking

Follow-up to #2224, from a code review of its v2 sync (#2339):

- "remote client registry is not configured" told the user to run
  `astro config set remote.client_registry <endpoint>`, which outside
  a project saves nothing and still reports success, so the next
  deploy failed the same way. It says -g now, as ClientRegistry's own
  error does.
- TestClientRegistry restores the home config's remote.client_registry
  it changes, so a later test does not depend on running after it.
- Its project-scope check asserted no "-g" anywhere in the error, which
  an endpoint containing "-g" would break; it looks for the -g command.

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

* Pick the registry fix command by scope, and restore the configs TestClientRegistry replaces

The unconfigured-registry error always said -g, which is wrong when the
project sets remote.client_registry to "": that shadows the global value,
so setting it globally changes nothing. config.ClientRegistryFix picks the
command by the same rule ClientRegistry's own error uses, and both read it
from one place.

TestClientRegistry's cleanup read the value after initTestConfig had
already replaced the home config, and wrote it back as a saved key. It now
saves and restores the viperHome and viperProject it replaces.

The deploy test now asserts the -g command itself.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>

12 of 12 new or added lines in 2 files covered. (100.0%)

27384 of 60525 relevant lines covered (45.24%)

9.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39078688035.1 17 Oct 2026 11:23PM UTC 218
45.24
GitHub Action Run
Source Files on build 39078688035
  • Tree
  • List 218
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39078688035
  • 1371be2f on github
  • Prev Build on main (#39077154563)
  • Next Build on main (#39081543172)
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