Skip to content

fix(examples): give each example its own ports - #59

Merged
rqbazan merged 1 commit into
mainfrom
fix/examples-ports
Oct 18, 2026
Merged

rqbazan merged 1 commit into
mainfrom
fix/examples-ports

Conversation

@rqbazan

@rqbazan rqbazan commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

mise run test:e2e runs every suite in parallel, but five examples share a port with another example, so their suites can't run at the same time. They move to ports of their own:

Example Before After
backend-node-cjs 3001 3011
backend-bun-cjs 3002 3012
backend-deno-cjs 3003 3013
ssr-react-router (start, E2E) start 3000 or a random port, E2E 3002 3005
ssr-tanstack-start (dev, start, E2E) 3003 3006

The other seven examples keep their ports. The examples README now lists every example's ports, and the contributing guide asks new examples to pick unused ones.

Evidence

  • Before: on main, 3001, 3002 and 3003 are each used by more than one example's E2E suite.
    After: no example shares a port. mise run test:e2e runs all 12 suites in parallel and passes, with no port-in-use errors. examples:check passes.
  • Before: ssr-react-router's start sets no port, so it listens on 3000, or on a random port when 3000 is busy.
    After: it prints [react-router-serve] http://localhost:3005.

Merge Danger

Door: two-way

Blast Radius: examples only. Anyone who opens these five examples on their old ports has to use the new ones. ssr-react-router's start now fails when 3005 is busy instead of taking another port.

🤖 Generated with Claude Code

https://claude.ai/code/session_012xRhgX9oTNKCAhLoiC8vSX

The root `mise run test:e2e` runs the suites in parallel, and five examples
shared a port with another one. The CommonJS twins move to 3011-3013,
ssr-react-router to 3005 (its `start` task now listens there too) and
ssr-tanstack-start to 3006. The examples README lists every example's ports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012xRhgX9oTNKCAhLoiC8vSX
@changeset-bot

changeset-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 465205b

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

@vland-bot

vland-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Preview release

Latest commit: 465205b

No packages have been released.

@rqbazan
rqbazan merged commit bef81d4 into main Oct 18, 2026
22 checks passed
@rqbazan
rqbazan deleted the fix/examples-ports branch October 18, 2026 17:49
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