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

disable optimistic_updates #49211

Merged
merged 1 commit into from
May 4, 2023
Merged

disable optimistic_updates #49211

merged 1 commit into from
May 4, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented May 4, 2023

What?

disable optimistic_updates

So it no longer does that:

If Kodiak is merging an out-of-date pull request that has running status checks, update the pull request's branch without waiting for the running status checks to finish.

The problem with that is that it cancels running checks and restarts them.

Instead it waits for all running status checks before updating the PR.

Why?

This should avoid the case where a PR is updated again and again without yielding a result.

It also saves some CI cost

And it allows CI to finish and fill up the turborepo cache, which can potentially used for the next run.

@ijjk ijjk added the created-by: Turbopack team PRs by the Turbopack team. label May 4, 2023
@sokra sokra marked this pull request as ready for review May 4, 2023 13:44
@sokra sokra requested a review from a team as a code owner May 4, 2023 13:44
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Sounds good to me!

(I have been thinking about turning this off for awhile)

@sokra sokra merged commit aabc1d9 into canary May 4, 2023
@sokra sokra deleted the sokra/improve-kodiak branch May 4, 2023 13:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Turbopack team PRs by the Turbopack team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants