Skip to content

Conversation

@targos
Copy link
Member

@targos targos commented Sep 1, 2024

No description provided.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. labels Sep 1, 2024
@targos targos marked this pull request as draft September 1, 2024 09:38
@targos targos force-pushed the backport-54544-v22 branch from d8416b7 to 170a9ae Compare September 5, 2024 16:07
@targos
Copy link
Member Author

targos commented Sep 5, 2024

I fixed the crash with a fallback to undefined in the interceptor, but I think there's a bug in V8 because that's what the documentation says:

 * If the interceptor handles the request (i.e. the property should not be
 * looked up beyond the interceptor) it should
 *  - (optionally) use info.GetReturnValue().Set()` to set the return value
 *    (by default the result is set to v8::Undefined),
 *  - return `Intercepted::kYes`.
 * If the interceptor does not handle the request it must return
 * `Intercepted::kNo` and it must not produce side effects.

@targos targos marked this pull request as ready for review September 5, 2024 16:09
@targos
Copy link
Member Author

targos commented Sep 6, 2024

I'm not sure what to do with the coverage job. It pretends that JS coverage went down, but this PR doesn't touch any JS file.

PR-URL: nodejs#54544
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
@targos
Copy link
Member Author

targos commented Sep 16, 2024

Rebased

@targos
Copy link
Member Author

targos commented Sep 17, 2024

#54966 is also affected by the coverage drop

@targos
Copy link
Member Author

targos commented Sep 19, 2024

@RafaelGSS Should I open an issue for the coverage? The difference between v22.x and main is non-negligible.

@targos targos added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 5, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 5, 2024
@nodejs-github-bot
Copy link
Collaborator

targos added a commit that referenced this pull request Oct 6, 2024
PR-URL: #54544
Backport-PR-URL: #54683
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
@targos
Copy link
Member Author

targos commented Oct 6, 2024

Landed in 0999949

@targos targos closed this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants