Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read extension install status from report #453

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

tombruijn
Copy link
Member

@tombruijn tombruijn commented Oct 7, 2021

The installation result was hardcoded to always be success, because
previously we couldn't track it. But since PR #409 we now run the
node-gyp command from the extension.js install script so we can
track the installation result.

Read the status from the report so the diagnose report is more accurate.

Since there are more fields in case of an error or failure, print those
as well if present.

@tombruijn tombruijn added the bug label Oct 7, 2021
@tombruijn tombruijn self-assigned this Oct 7, 2021
@tombruijn
Copy link
Member Author

@jeffkreeftmeijer we have no tests for failure scenarios in this repo or in the diagnose_tests repo. What was your idea about where to implement them? Should failure state tests be part of the diagnose_tests repo?

The installation result was hardcoded to always be `success`, because
previously we couldn't track it. But since PR #409 we now run the
`node-gyp` command from the `extension.js` install script so we can
track the installation result.

Read the status from the report so the diagnose report is more accurate.

Since there are more fields in case of an error or failure, print those
as well if present.
@tombruijn tombruijn marked this pull request as ready for review October 8, 2021 07:35
@tombruijn tombruijn merged commit ad6be4f into main Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants