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

valkyrjaio / valkyrja-starter-app-java / 30422607592
100%

Build:
DEFAULT BRANCH: 26.x
Ran 29 Jul 2026 04:34AM UTC
Jobs 2
Files 37
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

29 Jul 2026 04:33AM UTC coverage: 95.409% (-0.6%) from 96.037%
30422607592

push

github

web-flow
[Cli] Add a command for every routing permutation with regression and generated data tests (#58)

# Description

The CLI counterpart to #55. The starter app defined a single trivial
command, so nothing in it
proved that the CLI router binds the full range of parameter shapes a
developer can declare — and
nothing caught a regression in that binding when a new framework or
Sindri release lands.

This adds `RoutingPermutationsCommand`: one command per argument and
option permutation the CLI
router supports, each echoing back the value(s) bound to its parameters
so the declaration, the
generated command data, and the runtime binding can all be asserted
independently. Fourteen
commands cover argument mode {REQUIRED, OPTIONAL} x value mode {DEFAULT,
ARRAY}, option mode
{REQUIRED, OPTIONAL} x value mode {NONE, DEFAULT, ARRAY}, short names,
valid values, a declared
default value, and a mixed command declaring arguments and options
together.

Two test tiers, matching the HTTP PR:

1. **Regression/unit** — the command echoes the right value for each
permutation, and each provider
handler resolves the command from the container and binds its route's
parameters.
2. **Generated data** — the `sindri-junit` CI build asserts the
Sindri-generated `AppCliRoutingData`
carries all 15 commands with the right names, argument/option counts,
modes, value modes, short
names, valid values and default values — proving the generated cache
matches what the runtime
   collector produces.

There is deliberately **no e2e tier** here. `app/bin/cli` exits 0 with
no output, and the existing
`AppTest` asserts exactly that, so there is no observable surface to
drive real argv against yet;
the HTTP side has e2e because a real request yields a response to
assert. This is worth revisiting
once the CLI entry point emits its output.

The Sindri fix this needed is merged and released —
valkyrjaio/sindri-java#62 shipped in Sindri
v26.4.3, which `26.x` now depends on. The `sindri-junit` assertio... (continued)

20 of 22 branches covered (90.91%)

Branch coverage included in aggregate %.

458 of 479 relevant lines covered (95.62%)

10.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
32
8.57
-91.43% src/main/java/app/http/provider/HttpRouteProvider.java
31
5.71
-94.29% src/main/java/app/cli/provider/CliRouteProvider.java
21
8.7
-91.3% src/main/java/app/http/controller/RoutingPermutationsController.java
12
0.0
-100.0% src/main/java/app/cli/Config.java
11
15.38
-84.62% src/main/java/app/cli/command/TestCommand.java
11
14.29
-78.57% src/main/java/app/cli/provider/ComponentProvider.java
10
0.0
-100.0% src/main/java/app/cli/provider/DataServiceProvider.java
10
0.0
-100.0% src/main/java/app/cli/provider/ServiceProvider.java
7
30.0
-70.0% src/main/java/app/http/controller/HomeController.java
6
25.0
-75.0% src/main/java/app/grpc/provider/DataServiceProvider.java
6
50.0
-42.86% src/main/java/app/http/provider/ComponentProvider.java
5
64.29
-35.71% src/main/java/app/grpc/provider/ComponentProvider.java
4
50.0
-50.0% src/main/java/app/http/provider/DataServiceProvider.java
3
0.0
-100.0% src/main/java/app/cli/App.java
3
0.0
-100.0% src/main/java/app/cli/data/AppEventData.java
3
0.0
-100.0% src/main/java/app/grpc/data/AppEventData.java
3
0.0
-100.0% src/main/java/app/http/data/AppEventData.java
2
0.0
-100.0% src/main/java/app/cli/controller/abstract_/Controller.java
2
0.0
-100.0% src/main/java/app/grpc/controller/GreeterController.java
2
40.0
-20.0% src/main/java/app/http/provider/ServiceProvider.java
Jobs
ID Job ID Ran Files Coverage
1 30422607592.1 29 Jul 2026 04:34AM UTC 37
52.4
GitHub Action Run
2 30422607592.2 29 Jul 2026 04:34AM UTC 32
94.32
GitHub Action Run
Source Files on build 30422607592
  • Tree
  • List 37
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30422607592
  • 6ce93ad1 on github
  • Prev Build on 26.x (#30422605780)
  • Next Build on 26.x (#30423418790)
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