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

Do not fail a sandboxed spawn for missing execution statistics #22780

Closed
wants to merge 2 commits into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Jun 18, 2024

This was already the case for "local" spawns. Statistics may be missing if the spawn wrapper exits abnormally.

Fixes #22151

This was already the case for "local" spawns. Statistics may be missing if the spawn wrapper exits abnormally.
@fmeum fmeum requested a review from oquenchil June 18, 2024 09:30
@fmeum
Copy link
Collaborator Author

fmeum commented Jun 18, 2024

@bazel-io fork 7.3.0

@fmeum
Copy link
Collaborator Author

fmeum commented Jun 18, 2024

@bazel-io fork 7.2.1

@github-actions github-actions bot added team-Performance Issues for Performance teams team-Local-Exec Issues and PRs for the Execution (Local) team awaiting-review PR is awaiting review from an assigned reviewer labels Jun 18, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Jun 18, 2024

I marked this for cherry-picking as users reported on Slack that this is blocking their Bazel 7 update and the fix is very safe.

@fmeum fmeum requested a review from tjgq June 18, 2024 11:58
Copy link
Contributor

@tjgq tjgq left a comment

Choose a reason for hiding this comment

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

Thanks!

@tjgq tjgq added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jun 18, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Jun 18, 2024

@tjgq Added a "Fixes" line to the PR description.

@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jun 18, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jun 18, 2024
This was already the case for "local" spawns. Statistics may be missing if the spawn wrapper exits abnormally.

Fixes bazelbuild#22151.

Closes bazelbuild#22780.

PiperOrigin-RevId: 644378541
Change-Id: Ia3d792f380b78945523f21875c593744b60f0c81
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jun 18, 2024
This was already the case for "local" spawns. Statistics may be missing if the spawn wrapper exits abnormally.

Fixes bazelbuild#22151.

Closes bazelbuild#22780.

PiperOrigin-RevId: 644378541
Change-Id: Ia3d792f380b78945523f21875c593744b60f0c81
@fmeum fmeum deleted the 22151-stats.out branch June 18, 2024 15:38
github-merge-queue bot pushed a commit that referenced this pull request Jun 19, 2024
#22790)

This was already the case for "local" spawns. Statistics may be missing
if the spawn wrapper exits abnormally.

Fixes #22151.

Closes #22780.

PiperOrigin-RevId: 644378541
Change-Id: Ia3d792f380b78945523f21875c593744b60f0c81

Commit
ec41dd1

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
github-merge-queue bot pushed a commit that referenced this pull request Jun 19, 2024
#22791)

This was already the case for "local" spawns. Statistics may be missing
if the spawn wrapper exits abnormally.

Fixes #22151.

Closes #22780.

PiperOrigin-RevId: 644378541
Change-Id: Ia3d792f380b78945523f21875c593744b60f0c81

Commit
ec41dd1

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team team-Performance Issues for Performance teams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failed: I/O exception during sandboxed execution: No such file or directory
2 participants