Skip to content

test: cover HMR in workers - #8716

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/test-worker-hmr
Oct 22, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
chenjiahan/test-worker-hmr

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

Add regression coverage for HMR in a worker created with new Worker(new URL(..., import.meta.url)).

Changes

Add one E2E test that edits an accepted dependency and verifies the worker sends the updated message while preserving its initialization ID, ruling out a page reload or worker recreation.

Related Links

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T04:28:27.446546Z b84239c 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.

@chenjiahan
chenjiahan merged commit 4d29a5d into main Oct 22, 2026
8 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/test-worker-hmr branch October 22, 2026 05:54
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