TR
Initial Remote asset support
TraceMachina/nativelink#1646

Description

This technically fixes #1533, in that it’s now possible to run Buildstream with Nativelink. This has been done by doing the least possible implementation of the Remote Asset protocol that still passes the basic requirements of Buildstream i.e. Fetch always returns “not found” and Push throws away whatever it’s given. There’s also a few small config changes, because Buildstream needed an extra platform property.

I’m able to run a “hello world” Buildstream project based on the tutorial, but anything more substantial has not been tested, and so may well fail.

Type of change

Please delete options that aren’t relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Booting the docker-compose setup in deployment-examples/docker-compose and running bst -c buildstream.conf build hello.bst in another terminal with the contents of buildstream.tar.gz which resulted in buildstream-results.log

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

/claim #1533

Claim

Total prize pool $2,500
Total paid $2,500
Status Approved
Submitted April 01, 2025
Last updated April 01, 2025

Contributors

TO

Tom Parker-Shemilt

@palfrey

100%

Sponsors

TR

TraceMachina

@TraceMachina

$2,500 paid