chore: upgrade octokit dependencies#2459
Conversation
|
Update: I seem to have finally found a combination of the Unfortunately I still have to add a
|
|
Would love to see this get in! |
|
@restfulhead I would be great to merge this in :) Hope the related PR helped a bit, but still seems some tests are failing. |
|
@restfulhead please rebase your branch on main and the failing tests should turn green. Is there anything else missing to get this merged? Have a great day. |
The main goal here is to upgrade `@octokit/plugin-throttling` to `5`, so that the secondary rate limit wait time is increased, wich hopefully fixes intuit#2458. This required other dependencies to be upgraded. The `resolutions` for `@octokit/plugin-rest-endpoint-methods` is necessary, because without it it pulls in `10.0.0` of `@octokit/types` which isn't compatible with the other libraries.
Finally found a combination of @octokit versions that all use @octokit/types 9.x
|
@LittleGreenYoda42 @dpotyralski Thanks, the rebase is done and the test build is now green. 🙌
In general, it would probably be a good idea for someone else to manually test this change. Also note that I haven't tested any plugins and I'm not sure how isolated they are from the dependency changes here. I checked |
Thanks @restfulhead for your input. I'm not sure if we are in a position to decide about the version here. Maybe @hipstersmoothie could add his opinion? |
|
Btw, if anyone would like to help test, I've released a beta version here: https://www.npmjs.com/package/@restfulhead/auto |
|
We still experience rate limiting errors here and there that prevent our workflows from properly executing, having up to date rate limiting/throttling plugins for Octokit would fix that. What can we do to help this PR get merged ? |
|
@LittleGreenYoda42 it seems the only failures remaining come from your CI actions being outdated. NPM/PNPM are now throwing audit errors due to security vulnerabilities in your octokit dependency, making this PR rather urgent. Could you please have another look at it? |
The main goal here is to upgrade
@octokit/plugin-throttlingto5, so that the secondary rate limit wait time is increased, wich hopefully fixes #2458.This required other dependencies to be upgraded. The
resolutionsfor@octokit/plugin-rest-endpoint-methodsis necessary, because without it, it pulls in10.0.0of@octokit/typeswhich isn't compatible with the other libraries.Change Type
Indicate the type of change your pull request is:
documentationpatchminormajor