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

spiffe / java-spiffe / 40942058229
89%
master: 98%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 29 Oct 2026 07:41PM UTC
Jobs 1
Files 51
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

29 Oct 2026 07:39PM UTC coverage: 87.789% (+0.08%) from 87.707%
40942058229

push

github

maxlambrecht
fix(workloadapi): keep X.509 context watch alive after rejected updates

DefaultX509Source threw a WatcherException from the X.509 context
watcher's onError. StreamObservers calls onError from inside
StreamObserver.onNext when GrpcConversionUtils.toX509Context rejects an
update (for example a corrupted certificate or key, or a SPIFFE ID
mismatch), so the exception escaped onNext and gRPC cancelled the call.
CANCELLED is non-retryable, so the watch ended permanently: the source
kept serving its current SVID, never applied a later rotation, and TLS
built on it started failing once that SVID expired.

Apply the same handling the JWT sources got: only errors before the
first update are initialization failures. The watcher records the error
and init throws it, so newSource also fails when the first update is
rejected asynchronously instead of returning an uninitialized source.
After initialization, errors are logged and the current SVID and
bundles are kept, so the stream stays open and the next valid update
replaces them.

Fixes #486

Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>

504 of 653 branches covered (77.18%)

Branch coverage included in aggregate %.

1890 of 2074 relevant lines covered (91.13%)

3.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
73.78
1.7% io/spiffe/workloadapi/DefaultX509Source.java
Jobs
ID Job ID Ran Files Coverage
1 40942058229.1 29 Oct 2026 07:41PM UTC 51
87.79
GitHub Action Run
Source Files on build 40942058229
  • Tree
  • List 51
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40942058229
  • ae84260f on github
  • Prev Build on main (#40925540086)
  • Next Build on main (#40943140948)
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