-
Notifications
You must be signed in to change notification settings - Fork 68
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
Fixes part of #133: Update dependencies #318
Conversation
@gp201 PTAL! |
@gp201 a friendly reminder if you somehow missed it. |
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.
Thanks, @winnie368c ! I left some comments. PTAL
"@actions/github": "^2.2.0", | ||
"axios": "^0.21.1", | ||
"dotenv": "^9.0.2", |
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.
This version change seems to be a big jump. Were u able to check the change logs if any functions we use have been changed?
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.
@gp201 Yes, most of the breaking changes are mostly just things like adding multiline parsing support: https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md
"axios": "^0.21.1", | ||
"dotenv": "^9.0.2", | ||
"google-auth-library": "^7.0.4", | ||
"googleapis": "^73.0.0", |
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.
This version change seems to be a big jump. Were u able to check the change logs if any functions we use have been changed?
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.
@gp201 There are some of the APIs that Oppiabot seems to use that are listed under breaking changes between the two versions at https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md but I'm not sure if they would affect the functionality of the codebase
@gp201 PTAL |
@seanlip Can you please approve the workflows so the tests can run? |
Yup done! @gp201 |
@gp201 @winnie368c FYI the CI frontend tests are failing |
@winnie368c Looks like apiForSheetsSpec.js is failing PTAL. You can run the tests using the following command: |
@gp201 |
Unassigning @winnie368c since a re-review was requested. @winnie368c, please make sure you have addressed all review comments. Thanks! |
@winnie368c Looks like branch coverage is not 100% for index.js PTAL |
@gp201 PTAL! |
Unassigning @winnie368c since a re-review was requested. @winnie368c, please make sure you have addressed all review comments. Thanks! |
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.
@winnie368c since the nodejs version has been updated, can you do the manual test matrix again?
.github/workflows/frontend_tests.yml
Outdated
@@ -17,7 +17,7 @@ jobs: | |||
- uses: actions/checkout@v2 | |||
- uses: actions/setup-node@v1 |
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.
Can you update this action to the latest version?
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.
Done
Unassigning @gp201 since the review is done. |
Hi @winnie368c, it looks like some changes were requested on this pull request by @gp201. PTAL. Thanks! |
@gp201 Yes, the manual test matrix passed! |
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.
LGTM
Hi @winnie368c, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to ask someone to merge your PR once the CI checks pass and you're happy with it. Thanks! |
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.
Thanks @winnie368c!
Explanation
Fixes part of #133. Updated from this list of outdated packages:
Checked the changelogs for the packages whose versions were changed in the update; they were just bug fixes.
These dependencies remain to be updated:
When updating probot:
When updating @actions/github:
Also migrated node version of GitHub Actions to v14.
Checklist
Examples of manual tests:
Adding merge conflict label:
Removing merge conflict label:
Adding stale label:
Removing stale label: