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

umputun / revdiff / 26247763844
90%

Build:
DEFAULT BRANCH: master
Ran 21 May 2026 07:18PM UTC
Jobs 1
Files 69
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

21 May 2026 07:17PM UTC coverage: 89.803% (+0.01%) from 89.79%
26247763844

push

github

web-flow
Add annotation exit code for automation (#206)

* feat: add annotation exit code option

* feat: preserve annotation exit code in launchers

* feat: handle annotation exit code in callers

* test: cover annotation exit code integrations

* docs: document annotation exit code handling

* chore: archive annotation exit code plan

* fix: address PR #206 review

- suppress shellcheck SC2016 on write_rc_cmd/write_fifo_rc_cmd printf
  format strings; single quotes are intentional so $?/$rc stay literal
  for the generated inner launcher script (fixes lint-scripts CI failure)
- pi overlay review: treat signal termination and null exit status as
  errors instead of defaulting to exit 0, which masked interrupted runs
  as clean reviews

* docs: defer plugin version bumps until binary release

plugin and binary version independently; bumping plugin.json /
marketplace.json / package.json before the binary is tagged ships an
updated launcher to users on an old binary, causing a flag mismatch

* refactor: enable exit-code-on-annotations via env var, not CLI flag

bundled launchers and the pi extension now request exit code 10 by
setting REVDIFF_EXIT_CODE_ON_ANNOTATIONS=true instead of passing the
--exit-code-on-annotations flag. an old revdiff binary silently ignores
an unknown env var but hard-fails on an unknown flag, so this removes
the plugin/binary version-skew hazard where an updated launcher meets a
stale binary. the --exit-code-on-annotations CLI flag stays as a public
standalone option.

fake-revdiff test fixture now asserts the env var is set so launcher
tests prove all backends propagate it.

* test: assert deny-path stdout is empty in plan-review hook test

TestPlanReviewHookAnnotationExitCodes left wantStdout unset for the
annotations case, making assert.Contains(stdout, "") a no-op. gate the
stdout assertion on wantStdout like the wantStderr block already does, so
the deny path (exit 2, stderr-only) is verified to emit nothing to stdout.

13 of 35 new or added lines in 1 file covered. (37.14%)

9793 of 10905 relevant lines covered (89.8%)

3184.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
13.52
5.26% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 26247763844.1 21 May 2026 07:18PM UTC 69
89.8
GitHub Action Run
Source Files on build 26247763844
  • Tree
  • List 69
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 29d16c3e on github
  • Prev Build on master (#26111202516)
  • Next Build on master (#26249438948)
  • Delete
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