Skip to content

test(e2e): normalize template EOF markers across Rspack versions - #274

Merged
SoonIter merged 1 commit into
mainfrom
codex/eco-ci-auto/overlay-snapshots-20261110
Nov 10, 2026
Merged

SoonIter merged 1 commit into
mainfrom
codex/eco-ci-auto/overlay-snapshots-20261110

Conversation

@SoonIter

Copy link
Copy Markdown
Member

Rspack's swc-next 0.6.1 upgrade gives unterminated-template diagnostics zero-length EOF ranges. The overlay lifecycle snapshots expect the previous underline, causing Eco-CI failures.

Normalize the optional underline only for the two malformed template fixtures and update four affected snapshots. Error text, source text, HTML and lifecycle assertions remain checked, while the pinned Rspack canary and the new diagnostic format share the same snapshots. No runtime changes.

Validation:

  • pnpm exec rs test tests/e2e/overlay.test.js: 35 passed without snapshot updates on the pinned 2.2.10-canary-8ee68a1b-20261014173729.
  • Same command: 35 passed on Rspack c82729830ee9f59d99f48e64998ede6ed8c2ea3a, using JS built from that commit and its macOS CI binding artifact.
  • pnpm check and pnpm run test:type.

An initial snapshot-update run hit the existing transient overlay-hide wait timeout; subsequent full no-update runs passed.

Copilot AI balanced review requested due to automatic review settings November 10, 2026 11:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T11:48:52.430472Z 7966791 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SoonIter
SoonIter merged commit fdbd8bb into main Nov 10, 2026
3 checks passed
@SoonIter
SoonIter deleted the codex/eco-ci-auto/overlay-snapshots-20261110 branch November 10, 2026 14: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.

2 participants