Fixes tagged CI
3 fixes · back to all fixes
ENOENT: scandir in CI, green on my machine, and the path was correct
A vitest suite passed locally on every run and failed the first CI job with ENOENT: scandir. The path was not wrong. The test read its fixture corpus by absolute path from a sibling repository, so a CI checkout of one repo could never contain it. The bug is a test depending on state outside the artifact under test.
3 min read →
Your Cloudflare Pages env vars do nothing (Direct Upload vs Git build)
You set a PUBLIC_ variable in the Pages dashboard, redeploy, and the build still can't see it. The reason: a Direct Upload project builds in your CI, not on Cloudflare, so the dashboard env vars never reach the build.
2 min read →
Your Cloudflare build passes locally but silently fails in CI
A Vite alias that reached outside the repo root built fine locally but failed on Cloudflare Pages for weeks, while the old bundle kept serving.
2 min read →