Skip to content

Use stricter execution requirements for copy actions - #372

Merged
hvadehra merged 1 commit into
bazelbuild:mainfrom
kormide:copy-improvements
Jun 10, 2022
Merged

hvadehra merged 1 commit into
bazelbuild:mainfrom
kormide:copy-improvements

Conversation

@kormide

@kormide kormide commented Jun 1, 2022

Copy link
Copy Markdown

@hvadehra This is an optimization we added to our forked versions of copy_directory and copy_file that I forgot to add to the previous PR.

Comment thread rules/private/copy_common.bzl Outdated
Comment on lines +67 to +68
"no-remote": "1",
"no-remote-cache": "1",
"no-remote-exec": "1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since no-remote implies no-remote-cache and no-remote-exec, what is the reasoning for listing all 3? Same for local and no-sandbox.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I think we were just being extra cautious 😂. I'll remove the redundancy.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@kormide
kormide force-pushed the copy-improvements branch 2 times, most recently from 544c65d to e2da001 Compare June 1, 2022 19:26
@kormide
kormide force-pushed the copy-improvements branch from e2da001 to e043027 Compare June 1, 2022 21:02
@kormide

kormide commented Jun 6, 2022

Copy link
Copy Markdown
Author

@brentleyjones Do you have any further feedback?

@brentleyjones

Copy link
Copy Markdown

Nope! Mine was more a flyby review. Someone else will need to approve.

@kormide

kormide commented Jun 9, 2022

Copy link
Copy Markdown
Author

@hvadehra Are you able to review this one?

@hvadehra
hvadehra merged commit a501641 into bazelbuild:main Jun 10, 2022
@kormide
kormide deleted the copy-improvements branch June 10, 2022 17:46
@tetromino tetromino mentioned this pull request Nov 4, 2025
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

Successfully merging this pull request may close these issues.

3 participants