Skip to content

test: make the deferred-sort module probe portable - #197

Merged
justin-schroeder merged 1 commit into
release/0.6.0from
fix/deferred-sort-ci-path
Jun 11, 2026
Merged

justin-schroeder merged 1 commit into
release/0.6.0from
fix/deferred-sort-ci-path

Conversation

@justin-schroeder

Copy link
Copy Markdown
Member

Fixes the one remaining CI failure: the #169 regression spec imported src/index.ts through Vite's /@fs/ endpoint using a hardcoded absolute path from the machine it was written on — instant failure on any other machine (all three desktop shards, 20ms in).

With #193 (sharding), #195 (bounded install), and #196 (Node pin), the run triggered by this merge should be the first fully green CI on the branch.

The #169 regression probe imported the library module through Vite's
/@fs/ endpoint with a hardcoded absolute path from the machine it was
written on, failing instantly on CI runners. The path now resolves from
the repo root at runtime, and the probe runs as a string-evaluated
script so the dynamic import reaches the browser untransformed.
@vercel

vercel Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drag-and-drop-docs Ready Ready Preview Jun 11, 2026 7:31pm

Request Review

@justin-schroeder justin-schroeder left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review notes: a local debug session traced the earlier confusing local failures to a stale orphaned Vite server on port 5173 serving the HTML fallback for /@fs paths (reuseExistingServer picked it up); with fresh servers the spec is stable across repeats. CI never has that problem (no pre-existing server). The probe's assertions are unchanged.

@justin-schroeder
justin-schroeder merged commit 067858c into release/0.6.0 Jun 11, 2026
3 of 5 checks passed
@justin-schroeder justin-schroeder mentioned this pull request Jun 11, 2026

This branch was successfully deployed

1 active deployment
Preview — 96222e0b Deployed Jun 11, 2026 by vercel[bot]
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