Skip to content

fix(ci): clear the two deterministic CI failures (onboarding publint, wp-vs-tanstack hang) - #69

Merged
jherr merged 2 commits into
mainfrom
fix/ci-health
Dec 3, 2026
Merged

jherr merged 2 commits into
mainfrom
fix/ci-health

Conversation

@jherr

@jherr jherr commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

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 tsdown copy (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 run loaded the app's TanStack-Start vite.config.ts, which errored (module is not defined) and started a server that never closed — close timed out after 10000ms. Added a standalone vitest.config.ts (passWithNoTests, no app plugins); vitest prefers it over vite.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)

🤖 Generated with Claude Code

jherr and others added 2 commits December 2, 2026 17:42
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>
@changeset-bot

changeset-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 64c3982

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jherr
jherr merged commit 96a1dd5 into main Dec 3, 2026
7 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@jherr
jherr deleted the fix/ci-health branch December 3, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant