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

valkyrjaio / sindri-java / 38180480768
100%

Build:
DEFAULT BRANCH: 26.x
Ran 11 Oct 2026 10:27PM UTC
Jobs 1
Files 90
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

11 Oct 2026 10:27PM UTC coverage: 100.0%. Remained the same
38180480768

push

github

web-flow
[Grpc] fix: Cache a gRPC route that a provider declares as a builder chain (#193)

# Description

`sindri` dropped a gRPC route that a provider declares as a builder
chain, so the generated
cache held no entry for it while the runtime collector received the
route from `getRoutes()`. A
streaming method served without the cache and not with it.

The reader now keeps a chain in a list of its own, and only the gRPC
collector reads that list.
gRPC caches a chain faithfully, because no gRPC builder changes the
method and the generated
gRPC data derives nothing but the map key from the construction's
arguments. The Cli and Http
data derive the name, the path and the request methods from those
arguments, and a builder call
changes each of them, so a chain stays out of those two caches.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [x] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`src/main/java/io/sindri/ast/data/result/RouteProviderResult.java`**
— carries the chained
  routes a provider declares.
- **`src/main/java/io/sindri/ast/RouteProviderReader.java`** — reads a
route built from a builder
  chain, and keeps it apart from a bare construction.
-
**`src/main/java/io/sindri/generate/abstract_/GenerateDataFromAst.java`**
— caches a chained
route for gRPC, and reads a route's key argument from the construction
it is built from.
-
**`.github/ci/junit/src/test/java/io/sindri/tests/unit/ast/RouteProviderReaderTest.java`**
—
  covers the two route lists.
-
**`.github/ci/junit/src/test/java/io/sindri/tests/unit/ast/data/result/RouteProviderResultTest.java`**
  — covers the merge.
-
**`.github/ci/junit/src/test/java/io/sindri/tests/unit/cli/command/Ge... (continued)

624 of 624 branches covered (100.0%)

Branch coverage included in aggregate %.

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

1692 of 1692 relevant lines covered (100.0%)

4.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38180480768.1 11 Oct 2026 10:27PM UTC 90
100.0
GitHub Action Run
Source Files on build 38180480768
  • Tree
  • List 90
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38180480768
  • 8a6aab4d on github
  • Prev Build on 26.x (#37975559792)
  • Next Build on 26.x (#38194255890)
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