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

strongo / selfupdate / 31305639375
100%

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

09 Aug 2026 09:19AM UTC coverage: 100.0%. First build
31305639375

push

github

trakhimenok
feat(cobracmd): --check states what to do about the update, not just that it exists

Reported by the specscore migration: its old --check printed a per-install-
method next step ("specscore was installed via Homebrew. Run: brew upgrade
specscore"), and moving onto this library silently dropped it, because Check
resolved versions and never classified the install. wb inherited the same gap
the moment it shipped, and wb's own REQ: check-flag asks for detection in
check mode explicitly.

"An update exists" is half an answer. What the user does next differs
entirely — a managed install must go through its manager, a manual one can
run this very command, an ambiguous one must not be replaced at all — and a
check that withholds that forces the user to run the real thing to find out
which case they are in.

--check now classifies the install and states the step: the manager's upgrade
command, or the self-update command itself (spelled with cobra's own
CommandPath, so it reads "wb self-update" in wb and "specscore self-update"
in specscore), or the ambiguous-install guidance. JSON carries install_method,
manager and upgrade_command so a machine caller reaches the same conclusion
without parsing prose.

Detection is a path classification: no network, no writes, so the read-only
guarantee is untouched. A detection failure is deliberately non-fatal — the
version comparison is still worth reporting — and an up-to-date result prints
no next step, because there is nothing to do.

Verifies: self-update#ac:two-cli-contracts-coexist

44 of 44 new or added lines in 3 files covered. (100.0%)

908 of 908 relevant lines covered (100.0%)

1.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31305639375.1 09 Aug 2026 09:20AM UTC 12
100.0
GitHub Action Run
Source Files on build 31305639375
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • df028839 on github
  • Next Build on main (#31323589219)
  • 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