Small cache-regression check for the pnpm + Playwright CI lane #21851
Replies: 2 comments
-
|
Vite is usually blazingly fast, but issues like this often crop up around dependency pre-bundling or rollup configurations.
Let me know if clearing the Vite cache or tweaking the Rollup config gets you past this hurdle. Hope this points you in the right direction! Let me know how it goes. Happy coding! |
Beta Was this translation helpful? Give feedback.
-
|
Thanks - to clarify: this is about CI cache behavior, not Vite runtime/build config. I’m referring to the GitHub Actions cache shape in your CI: the I ran a fork-side dry run of that workflow shape with a small warn-only cache check. In a controlled bad-case, only the
Minimal workflow used: Gate step: - name: Cache Health Gate
id: gate
uses: eivindsjursen-lab/gates-suite-public-beta/packages/cache-health-gate@cache-health-gate/v1
with:
mode: warn
no_baseline_behavior: warn
baseline_runs: "8"
baseline_event_filter: push
debug: "true"So the point is not “there’s a Vite cache bug,” but that this CI shape is a good fit for catching partial cache drift before the workflow obviously slows down. If useful, I can paste a tighter version mapped directly to your current ci.yml so it only targets the existing pnpm/Playwright cache surfaces? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi — your main CI lane already has two separate cache surfaces:
pnpmand Playwright binaries.I tried a fork-side dry run of that workflow shape with a small warn-only cache check. In a controlled bad-case, the
pnpmcache lane degraded while the Playwright cache stayed healthy, which is exactly the kind of partial cache drift that can be easy to miss while the workflow still looks green.If useful, I can paste the minimal warn-only snippet I used for a
pnpm + Playwrightlane. No backend, easy rollback.Beta Was this translation helpful? Give feedback.
All reactions