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

agama-project / agama / 26086819313
77%
master: 81%

Build:
Build:
LAST BUILD BRANCH: ci-caching
DEFAULT BRANCH: master
Ran 19 May 2026 08:56AM UTC
Jobs 2
Files 926
Run time 2min
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

19 May 2026 08:51AM UTC coverage: 80.939% (-0.003%) from 80.942%
26086819313

push

github

dgdavid
refactor(web): centralize typed validation result helpers for forms

Introduce shared `ValidationResult<T>` and `FieldsValidationResult<T>`
types in `validation-helpers.ts` as the canonical return shapes for form
validation.

- `ValidationResult<T>` represents the final value returned from top-level
  `validate` functions and matches TanStack Form’s `onSubmitAsync`
  validator contract.
- `FieldsValidationResult<T>` represents the intermediate result produced
  by field-group validators before results are merged and `undefined`
  entries are stripped.

Both generics constrain keys to valid form field names via `T`, enabling
compile-time detection of misspelled fields. Centralizing these types
keeps validation behavior consistent across forms, avoids duplicate
`FormFieldErrors` aliases in individual `fields.ts` files, and makes
future updates easier if TanStack Form’s expected validation shape
changes.

4199 of 6288 branches covered (66.78%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 3 files covered. (100.0%)

8 existing lines in 5 files now uncovered.

23547 of 27992 relevant lines covered (84.12%)

99.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
85.71
0.0% web/web/src/components/form/validation-helpers.ts
2
94.37
0.0% web/web/src/components/network/connection-form/Form.tsx
2
90.05
0.0% web/src/components/network/connection-form/Form.tsx
1
98.08
-0.07% web/web/src/components/network/connection-form/fields.ts
1
97.14
-0.12% web/src/components/network/connection-form/fields.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
2 web 26086819313.2 19 May 2026 08:56AM UTC 609
76.75
GitHub Action Run
2 service 26030472742.2 18 May 2026 11:27AM UTC 317
92.46
GitHub Action Run
Source Files on build 26086819313
  • Tree
  • List 926
  • Changed 12
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26086819313
  • f94ae34e on github
  • Prev Build on valibot (#26042057710)
  • Next Build on valibot (#26091227466)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc