Skip to content

refactor: singleton octokit instance for shared throttling state - #640

Draft
gr2m wants to merge 4 commits into
masterfrom
beta-singleton-octokit
Draft

refactor: singleton octokit instance for shared throttling state#640
gr2m wants to merge 4 commits into
masterfrom
beta-singleton-octokit

Conversation

@gr2m

@gr2mgr2m commented May 29, 2023

Copy link
Copy Markdown
Member

@gr2m
gr2mforce-pushed the beta-singleton-octokit branch from e7f4f8f to 15a127bCompareMay 29, 2023 23:49
@gr2m
gr2mforce-pushed the beta-singleton-octokit branch from 15a127b to 0893befCompareMay 30, 2023 00:02
@gr2m
gr2m changed the base branch from beta to beta-no-more-serialMay 30, 2023 00:03
@gr2mgr2m changed the title WIP singleton octokit instancerefactor: singleton octokit instance for shared throttling stateMay 30, 2023
@gr2mgr2m changed the title refactor: singleton octokit instance for shared throttling staterefactor: singleton octokit instance for shared throttling stateMay 30, 2023
Base automatically changed from beta-no-more-serial to betaMay 30, 2023 02:53

@travitravi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i like where this is headed. only comments are calling out most of your todos. am i correct to assume that is most of what remains for this to still be draft, or do you have additional plans?

});

test.serial("Update a release with a custom github url", async (t) => {
// TODO: move to integration tests

@travitraviJun 2, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a change that you are wanting to include in this PR?

Comment threadtest/publish.test.js
});

test("Publish a release with one asset and custom github url", async (t) => {
// TODO: move to integration tests

@travitraviJun 2, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a change you are wanting to include in this PR?

Comment threadtest/publish.test.js
});

test("Publish a release when env.GITHUB_URL is set to https://github.com (Default in GitHub Actions, #268)", async (t) => {
// TODO: move to integration test

@travitraviJun 2, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a change you are wanting to include in this PR?

Comment threadtest/success.test.js
t.true(fetch.done());
});

// TODO: move to integration test

@travitraviJun 2, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a change you are wanting to include in this PR?

@travi

travi commented Jun 2, 2023

Copy link
Copy Markdown
Member

are we wanting to include this refactor in the ESM change, or follow up with it afterward? i've had no problems in my testing with the current beta that includes the ESM change for our two candidate plugins, so wondering if we promote those candidates or wait for this change to go in

@gr2m

gr2m commented Jun 2, 2023

Copy link
Copy Markdown
MemberAuthor

only comments are calling out most of your todos. am i correct to assume that is most of what remains for this to still be draft

correct

are we wanting to include this refactor in the ESM change, or follow up with it afterward

I planned to give this another go today but I won't have time. I'd say let's go ahead with the ESM change and then do this afterwards.

Base automatically changed from beta to masterJune 2, 2023 19:15
Sign up for freeto 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

@gr2m@travi