Skip to content

Use the correct name for the RequestMetadata header

The spec explicitly requires that the RequestMetadata header message has a key/name of build.bazel.remote.execution.v2.requestmetadata-bin. However, recc currently uses requestmetadata-bin as the key, ignoring the prefix from the spec.

Other REAPI tools (eg. Bazel) use the full name from the spec, so this MR updates recc to do the same.

See buildgrid!713 (merged) for the equivalent change in BuildGrid.

Edited by Adam Coldrick

Merge request reports