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

valkyrjaio / sindri-java / 30416058832
100%

Build:
DEFAULT BRANCH: 26.x
Ran 29 Jul 2026 02:09AM 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

29 Jul 2026 02:09AM UTC coverage: 99.951%. Remained the same
30416058832

push

github

web-flow
[Grpc] Add a golden snapshot for the gRPC routing data generator (#58)

# Description

`GoldenSnapshotTest` pins the full emitted source for four of Sindri's
five Ast
data-file generators — container, event, HTTP and CLI routing. The
fifth,
`AstGrpcDataFileGenerator` (added in #38), has only substring assertions
in
`AstGrpcDataFileGeneratorTest`, so a change to the generated shape — the
header
comment, the package line, the imports, the record declaration, the
`Map.of`
wrapping — would pass unnoticed for gRPC while being caught for every
other
protocol.

gRPC is Java-only; neither `sindri-php` nor `sindri-ts` has a gRPC
generator, so
there is no sibling port to change alongside this.

The golden was generated with the `GOLDEN_UPDATE=1` switch from #57 and
reviewed
before committing. `./gradlew ci` passes.

## Types of changes

- [x] Improvement _(non-breaking change which improves code)_
- [ ] 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

- **`GoldenSnapshotTest.java`** — added `grpcRoutingDataMatchesGolden`,
driving
`AstGrpcDataFileGenerator` with two fully-qualified gRPC method routes
so the
emitted `routes()` map is multi-entry, matching how the CLI case is
shaped.
- **`golden/AppGrpcRoutingData.golden`** — the committed snapshot,
covering the
  `GrpcRoutingDataContract` imports and the generated record body.

526 of 527 branches covered (99.81%)

Branch coverage included in aggregate %.

1515 of 1515 relevant lines covered (100.0%)

4.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30416058832.1 29 Jul 2026 02:09AM UTC 90
99.95
GitHub Action Run
Source Files on build 30416058832
  • Tree
  • List 90
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30416058832
  • 93cc35cf on github
  • Prev Build on 26.x (#30376911574)
  • Next Build on 26.x (#30416234887)
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