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

fixup! build(deps): bump @octokit/rest from 20.1.1 to 21.0.1 #541

Conversation

Ceres6
Copy link

@Ceres6 Ceres6 commented Jul 22, 2024

Require of octokit migrated to await import to accommodate chango to ESM-only

@Ceres6 Ceres6 requested a review from a team as a code owner July 22, 2024 20:41
@Trott
Copy link
Member

Trott commented Jul 22, 2024

Do tests pass for you locally? They're failing in CI....

lib/github-client.js Outdated Show resolved Hide resolved
@Trott
Copy link
Member

Trott commented Jul 22, 2024

OK, after a small linter fix, the tests pass with Node.js 22 but not Node.js 20. Node.js 20 is what we run in production, so we'll want to fix that.

@Ceres6
Copy link
Author

Ceres6 commented Jul 22, 2024

Seems to be a race condition, so I must have forgotten to await sth. Taking a look rn

@Ceres6
Copy link
Author

Ceres6 commented Jul 22, 2024

it seems we were missing a couple returns in the original code and tap wasn't waiting for promise resolution. It should be fixed now

@Trott Trott mentioned this pull request Jul 22, 2024
@Trott
Copy link
Member

Trott commented Jul 23, 2024

Tests pass now. 👍

There is now a potentially-competing PR at #542. If there's benefit to landing this one first as an incremental step, I'm good with that. If not, then I'm really sorry that you put in the work and now this might not land. It happens, but it still sucks, and I'm sorry.

@Trott
Copy link
Member

Trott commented Jul 28, 2024

Closing in favor of #542. Thank you for the effort, though!

@Trott Trott closed this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants