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

valkyrjaio / valkyrja-php / 39455195199
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Oct 2026 04:13PM UTC
Jobs 1
Files 1450
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:11PM UTC coverage: 100.0%. Remained the same
39455195199

push

github

web-flow
[Grpc] feat: Add the gRPC service handler kernel (#1161)

# Description

Add the service handler, which runs a call through the pipeline and
produces
the response an adapter writes.

A throwable the pipeline raises is mapped to a status, and the
`ThrowableCaught` stage runs under a guard of its own. A middleware that
throws while recovering falls back to the mapped response, so a failed
recovery cannot downgrade a status the mapping already got right. In
debug
mode the throwable is rethrown instead.

The component ships a `ThrowableCaught` middleware that records the
failure,
because a handler that maps a throwable to `INTERNAL` otherwise discards
it.

## 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/Server/Handler/ServiceHandler.php`** — runs a
call end to end, and maps a throwable to a status
-
**`src/Valkyrja/Grpc/Server/Middleware/ThrowableCaught/LogThrowableCaughtMiddleware.php`**
— records a caught throwable
- **`src/Valkyrja/Grpc/Server/Provider/`** — publishes the service
handler and the shipped middleware
- **`src/Valkyrja/Grpc/Server/Throwable/Exception/Abstract/`** — adds
the subcomponent categorical throwables
- **`tests/Tests/Unit/Grpc/Server/`** — covers the handler, the
middleware, both providers and the throwables

90 of 90 new or added lines in 4 files covered. (100.0%)

16433 of 16433 relevant lines covered (100.0%)

29.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39455195199.1 20 Oct 2026 04:13PM UTC 1450
100.0
GitHub Action Run
Source Files on build 39455195199
  • Tree
  • List 1450
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39455195199
  • 9dd16951 on github
  • Prev Build on 26.x (#39444785704)
  • Next Build on 26.x (#39457452793)
  • 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