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

strongo / buildinfo / 33379438330
100%

Build:
DEFAULT BRANCH: main
Ran 31 Aug 2026 09:48AM UTC
Jobs 1
Files 3
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

31 Aug 2026 09:47AM UTC coverage: 100.0%. Remained the same
33379438330

push

github

web-flow
fix: split fang out of cobracmd into its own fangcmd package (#3)

cobracmd imported charm.land/fang/v2 purely for Wire's []fang.Option
return type, so any consumer pulling in cobracmd for VersionCommand
alone linked fang into their binary even when they never touched it -
measured at +1.7MB for a binary that only wired --version. Five repos
(code-grapher/codegrapher, strongo/selfupdate, synchestra-io/*, and
already-merged sneat-co/sneat-cli) hit this, and all five also had to
hand-roll root.Version + SetVersionTemplate because the only shipped
helper was fang-shaped - a second signal the API was missing a
fang-free path.

cobracmd is now fang-free: it keeps VersionCommand and gains
WireCobra, which does for plain cobra what those five repos each
hand-rolled. The fang integration moves to a new fangcmd package
(same Info, same []fang.Option Wire signature, same version
subcommand via cobracmd.VersionCommand so the two paths cannot
disagree) - only fangcmd imports fang now. This removes
cobracmd.Wire, which every current caller of the old fang-backed
signature must repoint at fangcmd.Wire (see the README's Upgrading
section for the exact diff); the root buildinfo package is
unchanged.

Verified with a throwaway consumer: importing only cobracmd links no
charm.land/fang per `go version -m`, at roughly half the binary size
of an equivalent fangcmd-wired consumer. Both cobracmd and fangcmd
hold 100% test coverage.


Claude-Session: https://claude.ai/code/session_01KFsyYhYi9h9Am1JbAMxuhv

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

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

68 of 68 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33379438330.1 31 Aug 2026 09:48AM UTC 3
100.0
GitHub Action Run
Source Files on build 33379438330
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 55fe8725 on github
  • Prev Build on main (#33376246265)
  • Next Build on main (#33392313949)
  • Delete
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