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

astronomer / astro-cli / 38599781424
60%
main: 45%

Build:
Build:
LAST BUILD BRANCH: v2
DEFAULT BRANCH: main
Ran 14 Oct 2026 04:43PM UTC
Jobs 1
Files 335
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

14 Oct 2026 04:38PM UTC coverage: 57.899% (+0.001%) from 57.898%
38599781424

push

github

web-flow
Write command names as plain text in CLI output (#2294)

* Render backticked command names in terminal output

Messages, help and errors name a command the way the docs do, in
backticks, and terminals printed the backticks literally. The source keeps
them; the output layer now renders them: bold on a terminal with color on,
plain text anywhere else (a pipe, a file, NO_COLOR), and plain text in the
--output json error object and warning records.

The rule is narrow (pkg/ansi/backticks.go): a pair of backticks on one line
around up to 200 characters that do not start or end with a space, with no
letter or digit outside either backtick. A lone backtick, an empty pair, a
run of three, and one inside a word or a quoted value are left as they are.

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

* Revert "Render backticked command names in terminal output"

This reverts commit f3acec63. Review found the runtime transform unsafe: a % inside a span went through aurora's Sprintf, real backticks in passed-through uv, HTTP and Airflow text were stripped, and copy-paste commands were rewritten. Command names are written as plain text at the source instead, in the commits that follow.

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

* Write command names as plain text in CLI output

Messages, help and notes named commands, flags and paths the way the docs
do, in backticks, and a terminal printed the backticks as they were, as did
an error object's json. They are plain text now, at the source: "astro dev
start was removed in Astro CLI v2. Use astro local start instead." Where a
bare command read ambiguously mid-sentence, the sentence is rephrased
rather than quoted.

TestMessagesWriteCommandsAsPlainText (internal/archlint) fails on a string
literal holding a backtick anywhere in the repo's non-test Go code, except
what its backtickAllowed list names: the markdown astro init writes, the
upgrade prompt handed to Otto, and one shell-metacharacter set.
TestHelpHasNoBac... (continued)

115 of 126 new or added lines in 53 files covered. (91.27%)

1 existing line in 1 file now uncovered.

40181 of 69398 relevant lines covered (57.9%)

276.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
83.85
0.0% cmd/local/runs_wait.go
3
50.88
0.0% internal/instancelocate/instancelocate.go
2
36.11
0.0% cmd/otto.go
1
90.53
0.0% cmd/link_pickers.go
1
85.97
0.0% cmd/local/local.go
1
84.94
0.0% internal/platform/astro/deploy/deploy.go

Coverage Regressions

Lines Coverage ∆ File
1
70.67
-1.33% internal/project/apc.go
Jobs
ID Job ID Ran Files Coverage
1 38599781424.1 14 Oct 2026 04:43PM UTC 335
57.9
GitHub Action Run
Source Files on build 38599781424
  • Tree
  • List 335
  • Changed 63
  • Source Changed 61
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38599781424
  • 08cc5063 on github
  • Prev Build on v2 (#38593917777)
  • Next Build on v2 (#38619067121)
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