Skip to content

Add an e2e spec per example - #9

Merged
dai-shi merged 21 commits into
wakujs:mainfrom
daishikato:per-example-e2e
Oct 7, 2026
Merged

dai-shi merged 21 commits into
wakujs:mainfrom
daishikato:per-example-e2e

Conversation

@dai-shi

@dai-shi dai-shi commented Oct 7, 2026

Copy link
Copy Markdown
Member

Replaces the smoke test with one spec per example (34), each run in DEV and PRD, and fixes what they caught:

  • minimal-api/jotai: update the server atom in production
  • minimal-api/nesting: inner app refetch, and /no-ssr in dev
  • fs-router/data-fetching: nidoran pages and the mr. mime link
  • fs-router/nextjs-commerce: one robots tag on product pages

claude added 21 commits October 2, 2026 09:11
The route was declared static while its page element is dynamic, so the
client reused whichever slug it fetched last: going back to /dynamic/foo
after /dynamic/bar showed /dynamic/bar.
waku-jotai refetches with a POST to the RSC path, and the prerendered
RSC file was served for it instead of the handler. Prerender only the
HTML.
The prerendered InnerApp=1..5 files held App rather than InnerApp, so
the inner count never changed in production. /no-ssr was only
prerendered, so it was a 404 in dev.
The page turned every - in its slug into a space, so nidoran-female and
nidoran-male matched nothing and rendered empty. The home page linked
to /mr. mime, but Waku serves that static path at /mr.-mime. Links,
static paths and lookups now share one toPath.
Waku does not merge robots, so the layout's index, follow was served
next to a hidden product's noindex, nofollow. Pages without the tag are
indexed and followed anyway.
Waku logs rendering errors through sanitizeLog, which writes each
newline as a literal \n, so the patterns that expected whitespace
before "at" never matched.
# Conflicts:
#	define-router/basic/src/waku.server.tsx
@dai-shi
dai-shi merged commit f14f616 into wakujs:main Oct 7, 2026
4 checks passed
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.

2 participants