Skip to content

Set platform in REAPI Action message#1366

Open
sf229 wants to merge 1 commit into
facebook:mainfrom
sf229:platform-in-action
Open

Set platform in REAPI Action message#1366
sf229 wants to merge 1 commit into
facebook:mainfrom
sf229:platform-in-action

Conversation

@sf229

@sf229 sf229 commented Jul 7, 2026

Copy link
Copy Markdown

REAPI v2.2 introduced the platform field in the Action message as the preferred location for platform properties over the previously used Command message.

The platform field in the Command message was marked as deprecated in REAPI v2.8, but both fields should still be set.

See: remote_execution/oss/re_grpc_proto/proto/build/bazel/remote/execution/v2/remote_execution.proto:653-660

REAPI v2.2 introduced the platform field in the Action message as the
preferred location for platform properties over the previously used
Command message.

The platform field in the Command message was marked as deprecated in
REAPI v2.8, but both fields should still be set.

See: remote_execution/oss/re_grpc_proto/proto/build/bazel/remote/execution/v2/remote_execution.proto:653-660
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 7, 2026
@sf229

sf229 commented Jul 7, 2026

Copy link
Copy Markdown
Author

Buildbarn recently removed support for reading the platform properties from the Command message, making it incompatible with buck2.
buildbarn/bb-remote-execution@e6ab874

@meta-codesync

meta-codesync Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D110949978. (Because this pull request was imported automatically, there will not be any future comments.)

@cormacrelf

Copy link
Copy Markdown
Contributor

This is exactly the right thing to do, @ meta please merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants