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

[BUG] merge-similar-caches can't discover caches when using BuildJet backend #41

Open
deemp opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@deemp
Copy link
Collaborator

deemp commented Apr 30, 2024

Describe the bug

Individual caches were created:

However, they weren't discovered:

To Reproduce

Run "Nix CI with BuildJet backend" at this commit.

Expected behavior

merge-similar-caches discovers individual caches and restores them.

Context

We use a custom cache package for the BuildJet backend (link). This package comes from BuildJet/toolkit synchronized with actions/toolkit.

The action tries to restore all caches with matching prefixes (link) and calls octokit (link). However, octokit can't see caches created by BuildJet.

We need a way to interact with BuildJet caches.

  • list them (for this to work)
  • purge them (for this to work)

The problem is that BuildJet didn't update the github package (link).

@deemp deemp self-assigned this Apr 30, 2024
@deemp deemp changed the title [BUG] Can't discover caches when using BuildJet backend [BUG] merge-similar-caches can't discover caches when using BuildJet backend Apr 30, 2024
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

No branches or pull requests

1 participant