Skip to content

test: update stacktrace column snapshots for imported-binding call sites#10722

Closed
hi-ogawa wants to merge 6 commits into
vitest-dev:mainfrom
hi-ogawa:chore/ssr-stacktrace-column
Closed

test: update stacktrace column snapshots for imported-binding call sites#10722
hi-ogawa wants to merge 6 commits into
vitest-dev:mainfrom
hi-ogawa:chore/ssr-stacktrace-column

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Description

vitejs/vite#22829 updates SSR transform to align stacktrace better with Node. This PR updates tests to match with new location for some error stacktrace.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Vite's SSR transform now maps the call-site column of imported bindings
to the callee start (aligning with Node) instead of the argument-list
`(`. Update the e2e stacktrace snapshots to the Node-aligned columns.

Co-authored-by: OpenCode (claude-opus-4-8) <[email protected]>
@netlify

netlify Bot commented Jul 7, 2026

Copy link
Copy Markdown

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c2ef57a
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a4c57fff2447d0008dbc0da
😎 Deploy Preview https://deploy-preview-10722--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

hi-ogawa and others added 5 commits July 7, 2026 10:13
Validate the updated stacktrace snapshots against the Vite SSR
call-site column fix (vitejs/vite#22829, commit e65ff84). Disable
blockExoticSubdeps so the URL-resolved vite is allowed as a subdep.

Co-authored-by: OpenCode (claude-opus-4-8) <[email protected]>
pnpm 11 rejects a tarball lockfile entry with no `integrity` field under
frozen/trusted install (ERR_PNPM_MISSING_TARBALL_INTEGRITY), which broke
CI install. There's no flag to disable that check, so record the
tarball's sha512 SRI instead; pnpm then verifies the download and passes.

Co-authored-by: OpenCode (claude-opus-4-8) <[email protected]>
@hi-ogawa

Copy link
Copy Markdown
Collaborator Author

superseded by #10770

@hi-ogawa hi-ogawa closed this Jul 14, 2026
@hi-ogawa
hi-ogawa deleted the chore/ssr-stacktrace-column branch July 14, 2026 08:57
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