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

valkyrjaio / sindri-ts / 30148559471
100%

Build:
DEFAULT BRANCH: 26.x
Ran 25 Jul 2026 07:02AM UTC
Jobs 1
Files 45
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

25 Jul 2026 07:01AM UTC coverage: 100.0%. Remained the same
30148559471

push

github

web-flow
[Http][Cli] Rename terminal middleware stages Terminated→ResponseSent and Exited→ProcessExiting (#58)

# Description

Follows the valkyrja terminal middleware stage rename in Sindri's AST
readers:
the interface names Sindri matches when classifying route middleware
must track
valkyrja's renamed contracts.

Pure identifier rename with **no behavior change**:

- **HTTP** — `Terminated` → `ResponseSent` (the
`classImplementsInterface(…,
'TerminatedMiddlewareContract')` check →
`'ResponseSentMiddlewareContract'`,
plus the `terminatedMiddleware` field/params/locals that thread through
the
  reader, its contract, and `HttpRouteData`).
- **CLI** — `Exited` → `ProcessExiting` (the
`'ExitedMiddlewareContract'` check →
`'ProcessExitingMiddlewareContract'`, plus the `exitedMiddleware` slot
in the
  reader and `CliRouteData`).

Generated Route construction is positional, so the emitted output is
unchanged;
only the interface-name strings Sindri matches against needed updating
(and the
test fixtures that implement those interfaces).

**Depends on** valkyrjaio/valkyrja-ts#78 — Sindri matches valkyrja's
renamed middleware contracts by name, so this should land together with
/ after
that rename. Breaking change, targets `26.x`.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [ ] 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

- **`Ast/HttpRouteMiddlewareReader.ts`** — interface check
`'TerminatedMiddlewareContract'` → `'ResponseSentMiddlewareContract'`;
`terminatedMiddleware` params/locals/`data.` access → `responseSent*`.
- **`Ast/HttpRouteAttributeReader.ts`**,
**`Ast/Contract/HttpRouteMiddlewareReaderContract.ts`** — matching
param/field renames.
- **`Ast/Da... (continued)

697 of 697 branches covered (100.0%)

Branch coverage included in aggregate %.

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

1130 of 1130 relevant lines covered (100.0%)

10.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30148559471.1 25 Jul 2026 07:02AM UTC 45
100.0
GitHub Action Run
Source Files on build 30148559471
  • Tree
  • List 45
  • Changed 5
  • Source Changed 5
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30148559471
  • 4d0f019c on github
  • Prev Build on 26.x (#30141064848)
  • Next Build on 26.x (#30149089484)
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