-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Change test.xml from BasicActionInput to Artifact so it's metadata can be injected #12590
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coeuvre
force-pushed
the
fix-test-with-minimal
branch
from
December 1, 2020 07:26
5f198fc
to
737b489
Compare
oquenchil
approved these changes
Dec 2, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
coeuvre
force-pushed
the
fix-test-with-minimal
branch
2 times, most recently
from
December 29, 2020 10:18
19b829b
to
40d136a
Compare
Is this ready to go, or a WIP? |
Still WIP |
…n be injected This is achieved by adding test.xml to TestRunnerAction's outputs which means test.xml becomes a mandatory output of TestRunnerAction just like test.log. test.xml should always be generated by either test actions or the separated spawn action enabled by --experimental_split_xml_generation. Fixes bazelbuild#12554.
coeuvre
force-pushed
the
fix-test-with-minimal
branch
2 times, most recently
from
June 16, 2021 08:17
5b12603
to
ae0bb52
Compare
coeuvre
force-pushed
the
fix-test-with-minimal
branch
from
June 17, 2021 06:33
ae0bb52
to
5ac9192
Compare
coeuvre
added a commit
to coeuvre/bazel
that referenced
this pull request
Jul 15, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
coeuvre
added a commit
to coeuvre/bazel
that referenced
this pull request
Jul 15, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
coeuvre
added a commit
to coeuvre/bazel
that referenced
this pull request
Jul 15, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
coeuvre
added a commit
to coeuvre/bazel
that referenced
this pull request
Jul 15, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
coeuvre
added a commit
to coeuvre/bazel
that referenced
this pull request
Jul 16, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
larsrc-google
pushed a commit
to larsrc-google/bazel
that referenced
this pull request
Jul 28, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
larsrc-google
pushed a commit
to larsrc-google/bazel
that referenced
this pull request
Jul 30, 2021
…l is generated when build with --remote_download_minimal. Change test.xml from BasicActionInput to Artifact before executing the spawn so its metadata can be injected. Use a custom MetadataHandler to allow metadata injections of undeclared outputs. Fixes bazelbuild#12554. Closes bazelbuild#12590. PiperOrigin-RevId: 380741230
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 22, 2022
So that spawn outputs can be accessed among Spwans within the same action using the `FileSystem` API. This allow us to revert the hack we introduced in #12590. Also fixes the issue described by #15711. Closes #15711. Closes #16123. PiperOrigin-RevId: 469133936 Change-Id: Ide5bcfa0fe2c6a3806d333cd61270e411aa78f80
aiuto
pushed a commit
to aiuto/bazel
that referenced
this pull request
Oct 12, 2022
So that spawn outputs can be accessed among Spwans within the same action using the `FileSystem` API. This allow us to revert the hack we introduced in bazelbuild#12590. Also fixes the issue described by bazelbuild#15711. Closes bazelbuild#15711. Closes bazelbuild#16123. PiperOrigin-RevId: 469133936 Change-Id: Ide5bcfa0fe2c6a3806d333cd61270e411aa78f80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is achieved by adding test.xml to TestRunnerAction's outputs which means test.xml becomes a mandatory output of TestRunnerAction just like test.log.
test.xml should always be generated by either test actions or the separated spawn action enabled by --experimental_split_xml_generation.
Fixes #12554.