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

valkyrjaio / valkyrja-php / 39368048103
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Oct 2026 04:11AM UTC
Jobs 1
Files 1397
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

20 Oct 2026 04:09AM UTC coverage: 100.0%. Remained the same
39368048103

push

github

web-flow
[Grpc] feat: Add the gRPC middleware and route contracts (#977)

# Description

Add the seven middleware stage contracts and the seven stage handler
contracts, together with the route contract they take. A stage contract
and
its handler contract reference each other, and the route contract is a
parameter of four of them, so neither set stands alone and both land
together.

`CallReceived` and `RouteMatched` return either what they received or a
response, because a middleware at those stages can end the call early.

The route message types stay nullable. Nothing in the framework reads
either
one, so a route that names no type still dispatches.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [x] 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/Valkyrja/Grpc/Middleware/Contract/`** — adds one contract per
pipeline stage
- **`src/Valkyrja/Grpc/Middleware/Handler/Contract/`** — adds the
handler contract each stage is given
- **`src/Valkyrja/Grpc/Middleware/Throwable/Contract/`** — adds the
subcomponent throwable contract
- **`src/Valkyrja/Grpc/Routing/Data/Contract/RouteContract.php`** — adds
the route the middleware stages take
- **`src/Valkyrja/Grpc/Message/Call/Contract/ServiceCallContract.php`**
— carries the route once the router resolves one

15420 of 15420 relevant lines covered (100.0%)

30.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39368048103.1 20 Oct 2026 04:11AM UTC 1397
100.0
GitHub Action Run
Source Files on build 39368048103
  • Tree
  • List 1397
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39368048103
  • 61e11002 on github
  • Prev Build on 26.x (#39367129312)
  • Next Build on 26.x (#39368994273)
  • Delete
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