Skip to content

test(execution): keep inline module calls independently evaluated - #1955

Merged
NathanFlurry merged 1 commit into
mainfrom
stack/test-execution-keep-inline-module-calls-independently-evaluated-okmvronr
Sep 17, 2026
Merged

NathanFlurry merged 1 commit into
mainfrom
stack/test-execution-keep-inline-module-calls-independently-evaluated-okmvronr

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

No description provided.

Re-run the same inline ES module twice in one retained context with a fixed
file_path and assert globalThis.moduleRuns is 2, so repeated module calls are
evaluated independently instead of served from a module cache (#1955).

The base test javascript_module_execution_accepts_inline_exports_in_a_context
comes from #1949; this commit adds it in its extended form so it applies to
main. When landing after #1949, keep this version of the function.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@NathanFlurry
NathanFlurry changed the base branch from stack/test-execution-cover-context-top-level-await-zznlqovp to main September 17, 2026 02:44
@NathanFlurry
NathanFlurry force-pushed the stack/test-execution-keep-inline-module-calls-independently-evaluated-okmvronr branch from eefd445 to ae47aa0 Compare September 17, 2026 02:44

@the-company-company the-company-company Bot 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.

No issues found

Reviewed commit ae47aa0.

@NathanFlurry
NathanFlurry merged commit e119eee into main Sep 17, 2026
8 of 9 checks passed
@NathanFlurry
NathanFlurry deleted the stack/test-execution-keep-inline-module-calls-independently-evaluated-okmvronr branch September 17, 2026 02:55
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