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

valkyrjaio / valkyrja-java / 39891938379
100%

Build:
DEFAULT BRANCH: 26.x
Ran 23 Oct 2026 02:53AM UTC
Jobs 1
Files 659
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

23 Oct 2026 02:52AM UTC coverage: 100.0%. Remained the same
39891938379

push

github

web-flow
[Grpc] feat!: Name the route attribute after the Route it builds, and declare every field of the route on it (#252)

# Description

A route attribute declares one argument for each field of the route it
builds, and it takes the
name of the data class it builds. The gRPC attribute broke both rules.
It was named for gRPC's own
`.proto` vocabulary rather than for the `Route` it builds, and it
declared three of the route's
fields, which left the handler, the message types and every middleware
stage list undeclarable from
an attribute.

The handler is the functional half. The collector built a controller
with its no-argument
constructor, so a controller that takes a constructor dependency could
not be reached at all. The
collector now resolves the controller from the container, as the Http
collector does, and it reads
a handler the route names ahead of the annotated method.

A Java annotation member holds a constant, so no member can hold the
route's handler callable. The
member names the handler's class and method name instead, which is the
same pair the convenience
attribute names. Java cannot hold that pair to a signature where the
attribute names it, so the
collector does, when it collects the route: a handler that does not
exist, is not static, or
returns no response fails at bootstrap rather than on a call.

## Types of changes

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

## Changes

- **`grpc/routing/attribute/Route.java`** — renamed from `Method.java`,
and declares the handler,
  the message types and the five middleware stage lists
- **`grpc/routing/attribute/route/RouteHandler.java`** — the convenience
attribute for th... (continued)

1995 of 1995 branches covered (100.0%)

Branch coverage included in aggregate %.

64 of 64 new or added lines in 2 files covered. (100.0%)

7122 of 7122 relevant lines covered (100.0%)

4.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39891938379.1 23 Oct 2026 02:53AM UTC 659
100.0
GitHub Action Run
Source Files on build 39891938379
  • Tree
  • List 659
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39891938379
  • 2032f8c2 on github
  • Prev Build on 26.x (#39460455942)
  • Next Build on 26.x (#39892666700)
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