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

clay / claycli
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: v6.0.0-rc.3
DEFAULT BRANCH: master
Repo Added 25 May 2017 03:10PM UTC
Files 30
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

LAST BUILD ON BRANCH jordan/kiln-init-diagnostics
branch: jordan/kiln-init-diagnostics
CHANGE BRANCH
x
Reset
  • jordan/kiln-init-diagnostics
  • 4.x
  • action_update
  • action_version
  • amelvisfranco-patch-2
  • amelvisfranco-patch-3
  • async-await
  • async-defer
  • autoprefixer-config-support
  • babel
  • babel-modules
  • bare-exports
  • browserified
  • browserslist
  • bump-handlebars
  • bumping-version
  • change_pr_templates
  • circle2
  • clay-pack-spike
  • clayconfigjs-readme
  • clayhandlebars_pin_hbs
  • compilation
  • compilation-bugs
  • compile
  • config_fix
  • coveralls-3
  • default-key-order
  • dependabot/npm_and_yarn/fstream-1.0.12
  • dependabot/npm_and_yarn/handlebars-4.7.3
  • dependabot/npm_and_yarn/js-yaml-3.13.1
  • dependabot/npm_and_yarn/lodash.mergewith-4.6.2
  • dependabot/npm_and_yarn/mixin-deep-1.3.2
  • devdep
  • disable-common-shake
  • doc_update
  • docs-update
  • docs_update
  • downgrade-handlebars
  • env-var
  • fix-dev-builds
  • fix-release-script
  • fix-url
  • fix_version_page
  • fixing-compilation
  • freeze-event-stream
  • git_action
  • headers
  • icon_issue
  • import-obj
  • init-regexp
  • issues_awnsers
  • jordan/fix-aws-region-fallback
  • jordan/fix-client-init-mounting-docs
  • jordan/fix-url-imports
  • jordan/fix-vite-env-collector-destructure
  • jordan/fix-vite-env-hydration-order
  • jordan/improve-vite-coverage
  • jordan/migrate-to-github-actions
  • jordan/upgrade-claycli
  • jordan/vite-css-sites-targeting
  • jordan/yolo-update
  • jowen/font_files
  • kilnjs
  • layouts
  • lint-ext
  • love2doc
  • master
  • mem-safe-load
  • moberle/fix-minify-envvar
  • moberle/update-dependencies
  • no-public-font-files
  • npm-templates
  • nyancat
  • parse-bootstraps
  • parseBootstrapJson
  • postcss-plugin-reorder
  • precss
  • prerelease
  • public-fonts
  • pull_request_template
  • realfixforcompilation
  • redesign_task
  • rf.scannable-readme
  • ronin
  • search_bar
  • single-page-export
  • subsite-support
  • test-deploy
  • testing-fixes
  • two-oh
  • underscore
  • update-readme-export
  • update_action
  • update_actions
  • upgrade-dependencies
  • v5-rc
  • v6.0.0-rc.0
  • v6.0.0-rc.1
  • v6.0.0-rc.2
  • v6.0.0-rc.3
  • version_update
  • vueify-sass-bump
  • webpack-dev

29 May 2026 03:10AM UTC coverage: 87.084% (+0.2%) from 86.85%
26615618704

Pull #252

github

jjpaulino
🍕 Simplify Vite client env to a pure window.process.env redirect

Drop the build-time inlining layer (and the .env reader) that was added for the
Browserify-parity experiment. The Docker image build is bare, so inlining never
contributed in prod; the runtime redirect (process.env -> window.process.env,
hydrated from preloadData._envVars and gated by client-env.json) is what
actually fixes the Kiln pickers under Vite.

This matches the legacy Browserify transformEnv plugin (lib/cmd/compile/scripts.js)
exactly — it rewrites process.env to window.process.env and inlines nothing — and
removes the latent risk of baking non-allowlisted secrets (e.g. CORAL_GRAPHQL_TOKEN)
into the public bundle on any env-present build. process.env.NODE_ENV stays a
build-time literal so guards still tree-shake.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #252: 🍕 Add Kiln plugin init diagnostics for Vite

758 of 941 branches covered (80.55%)

Branch coverage included in aggregate %.

42 of 42 new or added lines in 2 files covered. (100.0%)

1622 of 1792 relevant lines covered (90.51%)

10.28 hits per line

Relevant lines Covered
Build:
Build:
1792 RELEVANT LINES 1622 COVERED LINES
10.28 HITS PER LINE
Source Files on jordan/kiln-init-diagnostics
  • Tree
  • List 30
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26615618704 jordan/kiln-init-diagnostics 🍕 Simplify Vite client env to a pure window.process.env redirect Drop the build-time inlining layer (and the .env reader) that was added for the Browserify-parity experiment. The Docker image build is bare, so inlining never contributed in prod; ... Pull #252 29 May 2026 03:11AM UTC jjpaulino github
87.08
26614528197 jordan/kiln-init-diagnostics 🍕 Match Browserify env handling in Vite: inline build vars + runtime fallback buildClientEnvDefines now reproduces the legacy dotenv-webpack ({ path: './.env', systemvars: true }) behaviour and adds a runtime safety net so the Vite pipeline stops... Pull #252 29 May 2026 02:35AM UTC jjpaulino github
86.96
26611081313 jordan/kiln-init-diagnostics 🍕 Inline client process.env vars into Vite bundle at build time CJS modules that read process.env.X at load time compile to an empty `var pVt = {}` stub under @rollup/plugin-commonjs, so reads like process.env.PYXIS_HOST resolve to undefined and ... Pull #252 29 May 2026 12:46AM UTC jjpaulino github
87.1
26581303233 jordan/kiln-init-diagnostics 🍕 Load Vite bootstrap before kiln edit entry. Ensure edit mode module scripts are ordered so bootstrap/env globals initialize before kiln plugin code executes. Co-authored-by: Cursor <cursoragent@cursor.com> Pull #252 28 May 2026 02:34PM UTC jjpaulino github
87.04
26551812318 jordan/kiln-init-diagnostics 🍕 Add verbose Kiln plugin init diagnostics in Vite runtime Wrap site Kiln plugin initialization in structured sync/async error handling so edit-mode plugin boot failures are surfaced with clear error details instead of silently failing during sta... Pull #252 28 May 2026 02:57AM UTC jjpaulino github
87.04
See All Builds (812)
  • Repo on GitHub
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