-
Notifications
You must be signed in to change notification settings - Fork 34
Bug 1761485 - Expose ErrorType through its own entry point. #1318
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
Bug 1761485 - Expose ErrorType through its own entry point. #1318
Conversation
Dexterp37
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tawahpeggy and thank you for your contribution!
This needs a few changes before we can merge it: because you're using an old version of npm, the lock files have been rewritten in an old format, making CI fail.
In addition to the above, would you kindly add an entry for this change at the top of the CHANGELOG.md file?
| "requires": true, | ||
| "packages": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you're using an outdated npm and the lockfile was rewritten with an older version. Would you kindly update your local npm and drop this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tawahpeggy this was fully removed instead of restored, would you kindly restore the file?
glean/tests/unit/platform/utils/webext/sample/package-lock.json
Outdated
Show resolved
Hide resolved
|
Thank you very much for your review, will update the PR ASAP |
|
Hello @Dexterp37, please do you have an idea why some tests fail? |
It doesn't seem to be able to import |
Hmmmmm this is strange and I do not even know what I have done wrong. |
In this PR you're changing the way the
|
|
@tawahpeggy note that the proper import need to be applied to all the samples and in all the other locations within the codebase. |
c00ac16 to
912760a
Compare
glean/package.json
Outdated
| "type": "module", | ||
| "sideEffects": false, | ||
| "exports": { | ||
| "exports": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: please remove the trailing whitespaces on this line
Dexterp37
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're almost there! I think with the last two requested changes it should be ok for merging.
|
Hello @Dexterp37, hope you are having a great day. |
Hi @tawahpeggy , I'm doing great, thanks. Note that the PR is still failing the tests (see the failing CI jobs), so we can't merge it: would you kindly fix the codebase to make sure tests run ok? You can also run them locally to reduce the turnaround time. |
I noticed the failed test but I really do not know how to fix it. any heads up? |
I think we need to add something like this after |
|
Thank you @Dexterp37, |
I don't think we should worry about that as long as this runs on CI. Let me check :) |
Build size report
|
|
Thank you @tawahpeggy ! This is now in a good shape, I'll merge it and close the related bug. |
|
Thank you for merging,and thank you for being a great mentor. I noticed you have closed the bug but i still have to add the documentation to the glean book. Will be working on it as soon as possible. |
Okay understood thanks. |
Thank you for helping out with this! Good catch, I completely forgot about the docs updates. I re-opened the bug. |


Pull Request checklist
glean/folder, run:npm run testRuns all testsnpm run lintRuns all lintersCHANGELOG.mdor an explanation of why it does not need onemozilla/gleanrepository