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

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

Build:
Build:
LAST BUILD BRANCH: apc-deployment-name
DEFAULT BRANCH: main
Ran 13 Oct 2026 01:41AM UTC
Jobs 1
Files 333
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

13 Oct 2026 01:37AM UTC coverage: 57.809% (+0.08%) from 57.727%
38332993052

push

github

web-flow
Offer the workspace's unlinked Deployments at the deploy prompt, and link the one picked (#2301)

* Offer the workspace's unlinked Deployments at the deploy prompt, and link the one picked

The deploy prompt listed only the project's links. It now lists the links
first, the preselected one on top, then the workspace's Deployments no link
points at yet, each under the name its link would get. Picking one writes
the link before the deploy ships, as the workspace-level flow for a project
that links nothing now does too. Link names come from scaffold.LinkNameFor,
moved from cmd/local so astro link add and astro deploy name a Deployment alike.

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

* Document the deploy prompt's unlinked Deployments and the link it writes

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

* Address review: link after a successful deploy, keep row numbers stable

- The link to a Deployment picked from the workspace is saved once the
  deploy succeeds, so a failed or interrupted deploy leaves none behind.
- Only the committed default = true link moves to the top. ASTRO_DEPLOYMENT
  and the astro use pin highlight their row without reordering, so a number
  means the same Deployment in every shell.
- A Deployment whose name slugs to digits alone is listed by id, so it
  cannot shadow a row number.
- Listing the workspace gives up after 15 seconds and the prompt offers the
  links alone.
- A project that links nothing reads [tool.astro] workspace before the
  login's, as the prompt with links does (one listWorkspace helper).
- Unlinked rows sort by the name they show; Target.LinkName's doc is current.

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

* Mark the preselected row instead of a PRESELECTED BY column

The column held one value on one row. The highlighted row now ends with a
header-less marker: "default" for the manifest's marker, "from
ASTRO_DEPLOYMENT" or "from astro use" for the other two, so a row a shell
variable chose st... (continued)

173 of 187 new or added lines in 3 files covered. (92.51%)

40336 of 69775 relevant lines covered (57.81%)

233.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
84.96
-0.72% cmd/astro/deploy.go
1
95.56
2.44% internal/deploy/deploy.go
Jobs
ID Job ID Ran Files Coverage
1 38332993052.1 13 Oct 2026 01:41AM UTC 333
57.81
GitHub Action Run
Source Files on build 38332993052
  • Tree
  • List 333
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38332993052
  • f2acc9bf on github
  • Prev Build on v2 (#38328640402)
  • Next Build on v2 (#38337162978)
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