Skip to content

Skip snapshot tests when snapshots are disabled#246

Merged
victorgomes merged 1 commit intov8:node-ci-2026-02-24from
gahaas:2026-03-24_fix_name
Mar 24, 2026
Merged

Skip snapshot tests when snapshots are disabled#246
victorgomes merged 1 commit intov8:node-ci-2026-02-24from
gahaas:2026-03-24_fix_name

Conversation

@gahaas
Copy link
Copy Markdown

@gahaas gahaas commented Mar 24, 2026

These tests create node snapshots even when node snapshots are disabled. Node snapshots don't work at the moment because FunctionTemplateInfo objects with fast API callbacks are put into the snapshot, but this causes security issues.

These tests create node snapshots even when node snapshots are disabled.
Node snapshots don't work at the moment because FunctionTemplateInfo
objects with fast API callbacks are put into the snapshot. However, the way
FunctionTemplateInfo objects reference fast API callbacks at the moment causes
security issues, and the fix references fast API callbacks via a dynamically
allocated C++ object, which cannot be put into the snapshot.
@gahaas gahaas force-pushed the 2026-03-24_fix_name branch from 39e5f28 to 42e64bf Compare March 24, 2026 11:41
@victorgomes victorgomes merged commit 64280ee into v8:node-ci-2026-02-24 Mar 24, 2026
13 of 18 checks passed
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