Skip to content

Conversation

@JckXia
Copy link
Member

Resetting last_error struct inside the env instance if the error code is napi_ok to make sure that the error code is consistent with any other meta data inside the struct.
ref: nodejs/node-addon-api#1089

@nodejs-github-botnodejs-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. labels Oct 21, 2021
Copy link
Member

@RaisinTenRaisinTen left a comment

Choose a reason for hiding this comment

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

LGTM. @mhdawson could you take a look at this too?

@JckXiaJckXiaforce-pushed the reset-err-info-if-napi-ok branch from 61c473e to 2bdcfd5CompareOctober 24, 2021 17:15
Copy link
Member

@mhdawsonmhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@JckXiaJckXiaforce-pushed the reset-err-info-if-napi-ok branch from 2bdcfd5 to ad97f6eCompareNovember 14, 2021 22:40
@JckXia
Copy link
MemberAuthor

@mhdawson It looks like the CI has passed after a rebase.

@mhdawsonmhdawson added the node-api Issues and PRs related to the Node-API. label Nov 15, 2021
@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member

@JckXia I needed to kick off a CI, the passing checks are the ones done through actions.

A commend with the new CI should be added to the issue soon and lets keep our fingers crossed that it passes this time.

@JckXia
Copy link
MemberAuthor

@mhdawson Hmm it looks like the CI failed again. Will do more digging.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member

@JckXia I think it's still CI flakyness based on the failures, not your PR. I've resumed once more and hopefully we'll get to green.

@JckXia
Copy link
MemberAuthor

Thank you @mhdawson!

@mhdawson
Copy link
Member

It's greeeeen :)

@mhdawson
Copy link
Member

Landed in 86e976f

mhdawson pushed a commit that referenced this pull request Nov 17, 2021
PR-URL: #40552 Refs: nodejs/node-addon-api#1089 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
@mhdawson
Copy link
Member

@JckXia thanks for your patience and work on this one:)

@JckXia
Copy link
MemberAuthor

@mhdawson Thank you so much! :)

targos pushed a commit that referenced this pull request Nov 21, 2021
PR-URL: #40552 Refs: nodejs/node-addon-api#1089 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
@targostargos mentioned this pull request Nov 26, 2021
danielleadams pushed a commit that referenced this pull request Jan 30, 2022
PR-URL: #40552 Refs: nodejs/node-addon-api#1089 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
danielleadams pushed a commit that referenced this pull request Feb 1, 2022
PR-URL: #40552 Refs: nodejs/node-addon-api#1089 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
@danielleadamsdanielleadams mentioned this pull request Feb 1, 2022
@JckXiaJckXia deleted the reset-err-info-if-napi-ok branch February 11, 2022 18:51
Sign up for freeto 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-ciPRs that need a full CI run.node-apiIssues and PRs related to the Node-API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@JckXia@nodejs-github-bot@mhdawson@jasnell@gabrielschulhof@juanarbol@RaisinTen