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

valkyrjaio / valkyrja-starter-app-ts / 30187021981
100%

Build:
DEFAULT BRANCH: 26.x
Ran 26 Jul 2026 03:59AM UTC
Jobs 1
Files 17
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

26 Jul 2026 03:58AM UTC coverage: 100.0%. Remained the same
30187021981

push

github

web-flow
[Tests] Add HTTP and CLI entry-point smoke tests (#73)

# Description

Adds end-to-end smoke tests for the application's two entry points so a
regression that breaks the app's actual boot — entry wiring, provider
bootstrap,
routing/command discovery — is caught, even when the class-level unit
tests still
pass. These live in the normal Vitest suite (not a sindri generated-code
build)
so they run on every PR: the framework discovers routes/commands at
runtime in
debug mode, so the entries function against the committed (empty) data
stubs.

- **`CliEntry`** runs the real CLI entry (`bin/cli.ts` runs `App.run(new
Config())`)
in process and asserts the `list` command boots and lists the
application's own
  `test` command, with no thrown/uncaught error.
- **`HttpEntry`** boots `App/Http/App` with the application's real
`ComponentProvider`, dispatches a `GET /` request through the request
handler,
  and asserts a 2xx response rendering the welcome view.

Both entries are exercised **in process** rather than as subprocesses:
the
framework is published as raw TypeScript resolved from `node_modules`,
which
Node's type stripping refuses to execute
(`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`),
so `node bin/cli.ts` cannot run against a normal install — Vitest's
transform is
what makes the framework source runnable. Booting the real entry classes
in
process gives the same regression coverage without depending on that.

The HTTP smoke uses a debug-mode config (as the CLI config already is)
so routes
are discovered at runtime against the empty committed stubs; the app's
committed
`Http/Config` runs non-debug and would require generated routing data.

Requires the HTTP serving provider stack + request-dispatch fix added in
`@valkyrjaio/valkyrja` **26.3.0** (valkyrja-ts#82); this PR bumps the
dependency to
`^26.3.0`. Verified locally: both smoke tests pass; tsc, eslint, and
prettier are
clean.

## Related

- Framework support this depends on (adds the HTTP serving p... (continued)

8 of 8 branches covered (100.0%)

Branch coverage included in aggregate %.

72 of 72 relevant lines covered (100.0%)

2.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30187021981.1 26 Jul 2026 03:59AM UTC 17
100.0
GitHub Action Run
Source Files on build 30187021981
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30187021981
  • e765db69 on github
  • Prev Build on 26.x (#30175312323)
  • Next Build on 26.x (#30188217879)
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