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

clay / claycli / 25132156093
64%
master: 87%

Build:
Build:
LAST BUILD BRANCH: jordan/improve-vite-coverage
DEFAULT BRANCH: master
Ran 29 Apr 2026 08:29PM UTC
Jobs 1
Files 30
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 Apr 2026 08:28PM UTC coverage: 63.968% (-0.09%) from 64.054%
25132156093

Pull #246

github

jjpaulino
🍕 Hydrate window.process.env before Vite module evaluation

Generate a shared .clay/_env-init.js runtime module and import it first
from both Vite entries (view bootstrap and kiln-edit init). This
hydrates window.process.env from the earliest available runtime source
(window.kiln.preloadData._envVars when present, otherwise existing
window.process.env) before component/model modules execute.

Fixes timing-sensitive cases where top-level universal constants like
`const AGORA_HOST = process.env.AGORA_HOST` were evaluated before env
injection and permanently captured undefined/null values.

Made-with: Cursor
Pull Request #246: 🍕 Hydrate process.env before Vite universal modules evaluate

562 of 902 branches covered (62.31%)

Branch coverage included in aggregate %.

8 of 16 new or added lines in 3 files covered. (50.0%)

2 existing lines in 2 files now uncovered.

1105 of 1704 relevant lines covered (64.85%)

9.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
60.0
lib/cmd/vite/generate-env-init.js
2
30.77
0.21% lib/cmd/vite/generate-bootstrap.js
2
18.75
0.97% lib/cmd/vite/generate-kiln-edit.js

Coverage Regressions

Lines Coverage ∆ File
1
30.77
0.21% lib/cmd/vite/generate-bootstrap.js
1
18.75
0.97% lib/cmd/vite/generate-kiln-edit.js
Jobs
ID Job ID Ran Files Coverage
1 25132156093.1 29 Apr 2026 08:29PM UTC 30
63.97
GitHub Action Run
Source Files on build 25132156093
  • Tree
  • List 30
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25132156093
  • Pull Request #246
  • PR Base - master (#25125950918)
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