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

valkyrjaio / valkyrja-php / 39375320969
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Oct 2026 05:33AM UTC
Jobs 1
Files 1418
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 05:31AM UTC coverage: 100.0%. Remained the same
39375320969

push

github

web-flow
[Grpc] feat: Add the gRPC message implementations and cancellation support (#1158)

# Description

Add the classes that satisfy the gRPC message contracts.

Two decisions are worth stating. The send guard lives with the outbound
sink
rather than with the call, because `withRoute()` clones the call and the
clones
share one transport, so a per-instance flag misses a nested send. The
sentinel
deadline is a finite far-future instant rather than an unbounded one, so
arithmetic on a call that set no deadline cannot overflow.

`Cancellation` is a support class, because the check it performs belongs
to
neither the call nor the response.

## 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/Message/Call/ServiceCall.php`** — implements the
call, and guards a concurrent send
- **`src/Valkyrja/Grpc/Message/Response/ServiceResponse.php`** —
implements the response
- **`src/Valkyrja/Grpc/Message/Status/Status.php`** — implements the
status, with one named constructor per code
- **`src/Valkyrja/Grpc/Message/Metadata/Metadata.php`** — implements the
metadata, and validates each key and value on write
- **`src/Valkyrja/Grpc/Message/Deadline/Deadline.php`** — implements the
deadline
- **`src/Valkyrja/Grpc/Message/Cancellation/CancellationToken.php`** —
implements the token, and runs every listener even when one throws
- **`src/Valkyrja/Grpc/Message/Peer/`** — implements the peer, its auth
context and its certificate
- **`src/Valkyrja/Grpc/Message/Stream/InboundMessageStream.php`** —
implements the inbound sequence
- **`src/Valkyrja/Grpc/Support/Cancellation.php`** — adds the shared
cancellation ... (continued)

334 of 334 new or added lines in 11 files covered. (100.0%)

15847 of 15847 relevant lines covered (100.0%)

29.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39375320969.1 20 Oct 2026 05:33AM UTC 1418
100.0
GitHub Action Run
Source Files on build 39375320969
  • Tree
  • List 1418
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39375320969
  • bdef61a2 on github
  • Prev Build on 26.x (#39374497081)
  • Next Build on 26.x (#39376133704)
  • 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