Skip to content

tests/artifactcache/expiry.py: Tweak tests for buildbox-casd update - #2191

Merged
juergbi merged 1 commit into
masterfrom
jbilleter/expiry-tests
Sep 14, 2026
Merged

juergbi merged 1 commit into
masterfrom
jbilleter/expiry-tests

Conversation

@juergbi

@juergbi juergbi commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

buildbox-casd 1.4.23+ triggers LRU expiry on a cleanup threshold below the quota to avoid blocking writes during cleanup.

The expiry tests were relying on LRU expiry implementation details that no longer hold. This tweaks a few parameters to pass the tests with the latest and older versions of buildbox-casd.

https://gitlab.com/BuildGrid/buildbox/buildbox/-/merge_requests/1204

buildbox-casd 1.4.23+ triggers LRU expiry on a cleanup threshold below
the quota to avoid blocking writes during cleanup.

The expiry tests were relying on LRU expiry implementation details that
no longer hold. This tweaks a few parameters to pass the tests with the
latest and older versions of buildbox-casd.

https://gitlab.com/BuildGrid/buildbox/buildbox/-/merge_requests/1204
@shymega

shymega commented Sep 13, 2026

Copy link
Copy Markdown

This PR fixes the issue I reported with the Buildbox update in Nixpkgs, and cross-package rebuilds being picked up by the Nixpkgs CI.

I am keen for this to be merged, and when ready, a patch release. However, there is no immediate hurry, as the Buildbox package currently in Nixpkgs is functioning.

@juergbi
juergbi merged commit 74ec492 into master Sep 14, 2026
17 checks passed
@juergbi
juergbi deleted the jbilleter/expiry-tests branch September 14, 2026 08:54
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.

3 participants