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

valkyrjaio / sindri-php / 39558050002
100%

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

21 Oct 2026 06:51AM UTC coverage: 100.0%. Remained the same
39558050002

push

github

web-flow
[Ast] feat: Generate gRPC routing data from attributes (#193)

# Description

Adds gRPC route cache generation, so an application's gRPC routes are
compiled from attributes into
a data file the same way its HTTP and CLI routes already are.

`GrpcRouteAttributeReader` reads `#[Service]` and `#[Method]` off a
controller's AST and emits one
route per attributed method, keyed by the fully-qualified
`/package.Service/Method` — the same key
the framework's router looks up. Streaming flags are emitted only when
set, so a unary method's
generated entry stays minimal. Per-stage middleware is classified by
which middleware contracts the
class implements, so one `#[Middleware]` attribute lands in every stage
it applies to.

A method attribute without a name, a service attribute without a name,
and an unresolvable
middleware reference are each skipped rather than fatal: generation runs
over an application's whole
source tree, and one malformed attribute should not take the build down.

`ComponentProviderReader` gains `getGrpcProviders()` recognition,
matching the contract change in
the framework, and `GenerateDataFromAst` gains `generateGrpcData()`
alongside the HTTP and CLI
generators.

A golden snapshot (`AppGrpcRoutingData.golden`) pins the generated
output, matching how the HTTP and
CLI generators are tested.

## 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

- **`Ast/GrpcRouteAttributeReader.php`** — reads `#[Service]` /
`#[Method]` and emits one route per
  attributed method, keyed by `/package.Service/Method`
- **`Ast/Data/GrpcRouteData.php`**,
**`Ast/Data/Result/GrpcRouteAttributeResult.php`** — the r... (continued)

211 of 211 new or added lines in 10 files covered. (100.0%)

2088 of 2088 relevant lines covered (100.0%)

20.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39558050002.1 21 Oct 2026 06:53AM UTC 94
100.0
GitHub Action Run
Source Files on build 39558050002
  • Tree
  • List 94
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39558050002
  • c050b635 on github
  • Prev Build on 26.x (#39555936217)
  • Next Build on 26.x (#39613656941)
  • 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