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

agama-project / agama / 23785937680
77%
master: 83%

Build:
Build:
LAST BUILD BRANCH: busy_state_calc
DEFAULT BRANCH: master
Ran 31 Mar 2026 07:37AM UTC
Jobs 2
Files 886
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

31 Mar 2026 07:35AM UTC coverage: 77.453% (-2.8%) from 80.257%
23785937680

push

github

dgdavid
feat(web): add client-side validation to ConnectionForm

Validates name (required), IPv4/IPv6 addresses (required when manual,
all valid), gateways (valid if present, mode-aware), DNS servers and
search domains (at least one valid entry when enabled).

Validation logic is extracted into validateConnectionForm and
buildConnection helpers to keep onSubmitAsync readable.

Three related fixes are included:
- ArrayField was showing guidance text ("Select entries to edit…")
  instead of the actual error when a field-level error came from
  onSubmitAsync. Now the error is shown.
- Re-submission after a validation failure had no effect because
  TanStack Form kept canSubmit false once field errors were set. The
  form now clears those errors before each attempt
- IPv4 validation now requires standard four-part decimal notation,
  rejecting values like "1111" that ipaddr.js would otherwise accept.

3488 of 5508 branches covered (63.33%)

Branch coverage included in aggregate %.

38 of 41 new or added lines in 4 files covered. (92.68%)

33 existing lines in 7 files now uncovered.

21287 of 26479 relevant lines covered (80.39%)

88.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.43
-15.45% web/src/components/network/ConnectionForm.tsx
1
92.24
-0.32% web/src/components/form/ArrayField.tsx

Coverage Regressions

Lines Coverage ∆ File
11
83.1
3.97% web/src/utils/network.ts
11
87.72
3.1% web/web/src/utils/network.ts
5
89.89
-8.6% web/web/src/components/network/ConnectionForm.tsx
3
81.43
-15.45% web/src/components/network/ConnectionForm.tsx
1
98.22
-0.57% web/web/src/components/form/ArrayField.tsx
1
94.44
-5.56% web/web/src/components/network/IpSettings.tsx
1
84.75
-15.25% web/src/components/network/IpSettings.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
2 web 23785937680.2 31 Mar 2026 07:37AM UTC 571
73.19
GitHub Action Run
2 service 23769286671.2 30 Mar 2026 09:48PM UTC 315
88.24
GitHub Action Run
Source Files on build 23785937680
  • Tree
  • List 886
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23785937680
  • 10b1ab55 on github
  • Prev Build on network-tanstack-form-part3 (#23769286671)
  • Next Build on network-tanstack-form-part3 (#23786378739)
  • 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