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

adobe / spectrum-web-components / 31515911920
96%

Build:
DEFAULT BRANCH: main
Ran 11 Aug 2026 05:14PM UTC
Jobs 1
Files 403
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

11 Aug 2026 05:06PM UTC coverage: 96.241%. Remained the same
31515911920

push

github

web-flow
feat(dev-validation): apply shared validation helpers across all Gen2 components (#6510)

* feat(dev-validation): add reusable dev-mode validation helpers and docs

Lays the foundation for consistent dev-mode validation warnings across
2nd-gen components: shared helpers (validateEnum, warnIf,
validateRequiredSlot, validateAllowedChildren) in
@spectrum-web-components/core/utils replace the hand-rolled
includes()+warn() checks each component previously wrote independently.

Also fixes window.__swc.warn's dedup key (adds the message to
localName:type:level) so two distinct warnings on the same component no
longer silently suppress each other.

Documents the full set of validation categories (enum, required,
conditionally required, mutually exclusive/no-effect, required slots,
allowed children, component-specific quirks via warnIf) in the style
guide and the washing-machine migration workflow, and adds a consumer-
facing Storybook guide explaining how the warnings work.

* docs(dev-validation): say Gen2 instead of 2nd-gen in the consumer guide

The rest of the repo's docs use "2nd-gen" as an established convention
(120+ files), so pre-existing prose in touched files is left as-is;
this only fixes the one line of net-new prose this PR introduced.

* docs(dev-validation): add per-bundler production-stripping recipes

Turns the "no guaranteed production stripping" known limitation into
actionable guidance: concrete recipes for webpack/Next.js, Vite,
esbuild, and Rollup to confirm process.env.NODE_ENV is actually
replaced and the resulting dead branch removed, plus the no-bundler
ReferenceError case. Addresses the concern that components could ship
dev-only validation code and message strings to production bundles by
default.

* feat(dev-validation): retrofit Badge, Tabs, IllustratedMessage onto helpers

First representative batch applying the shared dev-validation helpers
from the foundation branch:

- Badge: variant enum check -> validateEnum; outline/non-s... (continued)

6018 of 6462 branches covered (93.13%)

Branch coverage included in aggregate %.

37993 of 39268 relevant lines covered (96.75%)

460.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31515911920.1 11 Aug 2026 05:14PM UTC 403
96.24
GitHub Action Run
Source Files on build 31515911920
  • Tree
  • List 403
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31515911920
  • 371f2925 on github
  • Prev Build on main (#31502502140)
  • Next Build on main (#31611456434)
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