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

Intelligent repo http cache cleanup for branch statuses #28528

Open
rarkins opened this issue Apr 19, 2024 · 0 comments
Open

Intelligent repo http cache cleanup for branch statuses #28528

rarkins opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
core:cache priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Apr 19, 2024

Describe the proposed change(s).

We should clean up branch status checks and check runs after each run.

I think this approach should work:

  • Use the branch cache and extract out the set of commit SHAs for open branches
  • Iterate over the http cache, matching status checks and check runs, and then delete any entries which don't match the open SHAs
@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others core:cache labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core:cache priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants