Skip to content

_sandboxremote.py: stop trying to pull partial artifacts#2032

Merged
juergbi merged 2 commits intomasterfrom
abderrahim/sandbox-remote-no-artifactcache
Jul 15, 2025
Merged

_sandboxremote.py: stop trying to pull partial artifacts#2032
juergbi merged 2 commits intomasterfrom
abderrahim/sandbox-remote-no-artifactcache

Conversation

@abderrahim
Copy link
Contributor

There used to be a time where buildstream could partially download artifacts,
which could mean that not all artifact blobs are available locally. This is no
longer the case: support for partial artifacts was dropped in favour of the
cache storage-service and is only used for buildtrees, which aren't used in
this case.

Downloading missing blobs from the cache storage-service is handled in
CASCache._send_blobs() called a few lines below.

This PR also drops ArtifactCache.{fetch,find}_missing_blobs() which are unused.

@abderrahim abderrahim force-pushed the abderrahim/sandbox-remote-no-artifactcache branch from 0ef347e to 2286042 Compare July 8, 2025 07:36
There used to be a time where buildstream could partially download artifacts,
which could mean that not all artifact blobs are available locally. This is no
longer the case: support for partial artifacts was dropped in favour of the
cache storage-service and is only used for buildtrees, which aren't used in
this case.

Downloading missing blobs from the cache storage-service is handled in
`CASCache._send_blobs()` called a few lines below.
These were related to partial artifacts and are no longer used
@abderrahim abderrahim force-pushed the abderrahim/sandbox-remote-no-artifactcache branch from 2286042 to e867d6f Compare July 11, 2025 15:11
@juergbi juergbi merged commit 360eb71 into master Jul 15, 2025
17 checks passed
@juergbi juergbi deleted the abderrahim/sandbox-remote-no-artifactcache branch July 15, 2025 08:33
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.

2 participants