Skip to content

cli/execute: Re-execute actions using input root digest #9551

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

Merged
merged 5 commits into from
Jun 5, 2025

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Jun 3, 2025

This change introduces a new --input_root_digest flag to bb execute
which allows users to re-run an action with a specific input root tree.
When both --input_root and --input_root_digest are provided,
an error will be thrown.

This change introduces a new `--input_root_digest` flag to `bb execute`
which allows users to re-run an action with a specific input root tree.
When both `--input_root` and `--input_root_digest` are provided,
`--input_root` takes precedence, enabling local modifications to be
applied to a previously downloaded input tree.

Additionally, when `--input_root_digest` is used, the system now
validates that all blobs referenced by the input root digest are
present in the Content Addressable Storage (CAS) using `GetTree` and
`FindMissingBlobs`. This ensures the remote execution can proceed
without missing input artifacts.
@sluongng sluongng requested review from bduffany and fmeum June 3, 2025 10:26
@sluongng sluongng merged commit b657ca8 into master Jun 5, 2025
15 checks passed
@sluongng sluongng deleted the sluongng/bb-execute-input-root-digest branch June 5, 2025 10:59
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.

4 participants