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

[SS] When routing workflows, support adding git default branch to routing key as a fallback #6144

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

maggie-lou
Copy link
Contributor

To improve local filecache hit rates when snapshot sharing, we want workflows to be routed to the executor that recently ran a similar workflow. In addition to trying to route on GIT_BRANCH, also route on the default git branch and base branch as fallbacks, to ensure higher routing hit rates for new pr branches that won't have been run before.

@maggie-lou
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @maggie-lou and the rest of your teammates on Graphite Graphite

@maggie-lou maggie-lou merged commit 0dfd136 into master Mar 14, 2024
21 checks passed
@maggie-lou maggie-lou deleted the route_default_branch branch March 14, 2024 19:56
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.

None yet

2 participants