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

astronomer / astro-cli / bc070376-7aaa-4f45-b2c6-71805ef2c2f3
40%
main: 40%

Build:
Build:
LAST BUILD BRANCH: chiomaonyekpere/plx-232-replace-updatedeploymentimage-with-upsertdeployment
DEFAULT BRANCH: main
Ran 06 May 2026 09:37PM UTC
Jobs 1
Files 214
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

06 May 2026 09:30PM UTC coverage: 39.845% (+0.1%) from 39.746%
bc070376-7aaa-4f45-b2c6-71805ef2c2f3

Pull #2127

circleci

schnie
chore(ci): add deadcode tooling

Add a whole-program dead-function check using
`golang.org/x/tools/cmd/deadcode` to catch exported orphan funcs that
`golangci-lint`'s in-package `unused` analyzer cannot. This is the
analogue of astro-desktop's setup.

How it's wired:
- `scripts/check-deadcode.sh` runs `deadcode -test` and fails on any
  finding within the cli's binary-style directories (`cmd/`, `airflow/`,
  `cloud/`, `software/`, `config/`, `settings/`, `houston/`, etc.).
  Library sub-modules (`pkg/airflowrt`, `pkg/proxy`, `pkg/astroauth`,
  `pkg/telemetry`, `astro-client-platform-core`) and the rest of `pkg/`
  are excluded because they are consumed by external Go modules
  (e.g. astro-desktop) — reachability from `cmd/astro/main` is not a
  correctness signal for them.
- `prek.toml` gains a `deadcode` hook that pins
  `golang.org/x/tools/cmd/deadcode@v0.27.0` and runs the script.
- `make lint` now runs `make lint-go` (golangci-lint) +
  `make lint-deadcode` (the new hook). CircleCI's `lint` job runs both
  as separate steps for clearer logs.
- `CONTRIBUTING.md` documents the layers and scope.

Baseline is zero — the previous commit cleaned up the four pre-existing
dead test funcs the tool surfaced.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2127: chore(ci): add deadcode tooling to catch exported orphan funcs

26254 of 65891 relevant lines covered (39.84%)

9.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 bc070376-7aaa-4f45-b2c6-71805ef2c2f3.1 06 May 2026 09:37PM UTC 214
39.84
Source Files on build bc070376-7aaa-4f45-b2c6-71805ef2c2f3
  • Tree
  • List 214
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #BC070376...
  • Pull Request #2127
  • PR Base - main (#D6B12336...)
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