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

Move output_node_properties from Action to Command #121

Merged
merged 1 commit into from
Mar 12, 2020

Conversation

juergbi
Copy link
Contributor

@juergbi juergbi commented Feb 17, 2020

This is consistent with the other output_* fields.

@googlebot googlebot added the cla: yes Pull requests whose authors are covered by a CLA with Google. label Feb 17, 2020
@juergbi
Copy link
Contributor Author

juergbi commented Feb 17, 2020

As discussed last Tuesday, I will prepare another PR to replace MTime and UnixMode defined in the lexicon with regular Protobuf fields. However, looking into that I've noticed that output_node_properties is part of the Action message while all the other output-related fields were moved to the Command message a while ago. I think it would make more sense if output_node_properties and the new field (equivalent of output_node_properties for the new Protobuf fields) were in the Command message as well.

I've marked Action.output_node_properties as deprecated and servers can still support it if they care about clients that use it. Alternatively, we could also replace Action.output_node_properties with a reserved field as we don't expect significant use in the wild yet.

@bergsieker
Copy link
Collaborator

I think it's better to go the RESERVED route if we can--this field was recently added, and it's not clear that anyone is actually using it yet. Can you follow up with the various client and server implementations to make sure it's not being used and then replace the original field with a RESERVED one?

@bergsieker
Copy link
Collaborator

Note: Bazel, the remote-apis-sdk, and goma are not using this field.

@bergsieker
Copy link
Collaborator

Also, this should regenerate the related go files. Ola thinks that should have been done by the commit hook, but for some reason in this case it was not?

@sstriker
Copy link
Collaborator

sstriker commented Mar 6, 2020 via email

@juergbi
Copy link
Contributor Author

juergbi commented Mar 9, 2020

I think it's better to go the RESERVED route if we can--this field was recently added, and it's not clear that anyone is actually using it yet. Can you follow up with the various client and server implementations to make sure it's not being used and then replace the original field with a RESERVED one?

Sounds fine with me. BuildStream and BuildBox master support it but this change shouldn't cause any disruption to users. Buck, Buildbarn, Buildfarm, BuildGrid, Pants and RECC don't use it, based on grepping the repositories. I don't know about RBE but I'd be surprised if it uses it. Any other component we should check?

This is consistent with the other output_* fields.
@juergbi
Copy link
Contributor Author

juergbi commented Mar 12, 2020

I've mentioned this PR in the monthly meeting on Tuesday and there has been no objection. Is this now ok to be merged?

@bergsieker bergsieker merged commit 77cfb44 into bazelbuild:master Mar 12, 2020
santigl pushed a commit to santigl/remote-apis that referenced this pull request Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Pull requests whose authors are covered by a CLA with Google.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants