Repository navigation
fix(ci): clear the two deterministic CI failures (onboarding publint, wp-vs-tanstack hang) - #69
Merged
Merged
Conversation
The ./styles.css export's publishConfig points at ./dist/onboarding.css, but the build never copied it there. Add tsdown copy (matching cms-ui-react). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The example has no unit tests, so `vitest run` loaded the app's TanStack-Start vite.config, which errored (`module is not defined`) and started a server that never closed — 'close timed out after 10000ms'. Add a standalone vitest.config with passWithNoTests and no app plugins. Vitest prefers vitest.config over vite.config, so the hang and the CJS-in-ESM error both go away. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the two deterministic CI reds (guaranteed failures, not flakes — the real killers).
1.
react-onboarding:test:build(publint)./styles.css's publishConfig points at./dist/onboarding.css, but the build never emitted it. Added tsdowncopy(matching@tanstack/cms-ui-react) → publint now "All good!".2.
wp-vs-tanstack:test:lib(Vite-server hang)The example has no unit tests, so
vitest runloaded the app's TanStack-Startvite.config.ts, which errored (module is not defined) and started a server that never closed —close timed out after 10000ms. Added a standalonevitest.config.ts(passWithNoTests, no app plugins); vitest prefers it overvite.config.ts, so both the hang and the CJS-in-ESM error vanish. Swept the other examples — none had the same latent trap.Still open (flakes, not deterministic)
basee2e first-run-owner timeout (slow PGlite WASM first-run + browser) — re-run-to-green today.🤖 Generated with Claude Code