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

Implement Fetch 'Push' Service #1767

Open
werkt opened this issue Jun 11, 2024 · 0 comments
Open

Implement Fetch 'Push' Service #1767

werkt opened this issue Jun 11, 2024 · 0 comments

Comments

@werkt
Copy link
Collaborator

werkt commented Jun 11, 2024

Provide an implementation of the Asset API 'Push' service: https://github.com/bazelbuild/remote-apis/blob/main/build/bazel/remote/asset/v1/remote_asset.proto#L356

The implementation should be a peer of https://github.com/bazelbuild/bazel-buildfarm/blob/main/src/main/java/build/buildfarm/server/services/FetchService.java, be named PeerService, and will need to have an Instance method added that performs a write on behalf of the stream into the QUALIFIER_CHECKSUM_SRI identified digest. IIUC, the blob will already have been uploaded, and only the association from the canonical_id should be made. If no canonical_id is presented, the associated urls should be the keys.

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