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

Remove obsolete workaround for XML generation for flaky tests #23776

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 26, 2024

Partially reverts f5cf8b0, which is no longer needed now that test actions opt out of async upload.

Partially reverts f5cf8b0, which is no longer needed now that test actions opt out of async upload.
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Sep 26, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 26, 2024

How deterministic are testlogs expected to be? I'm wondering whether it would make sense to always opt out if remote execution for this spawn.

@fmeum fmeum requested review from tjgq and coeuvre September 26, 2024 14:27
@iancha1992 iancha1992 added the team-Remote-Exec Issues and PRs for the Execution (Remote) team label Sep 26, 2024
@coeuvre coeuvre 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 Sep 30, 2024
@coeuvre
Copy link
Member

coeuvre commented Sep 30, 2024

I think the XML generation spawn was introduced specifically for minimal mode to avoid downloading testlogs. So we should allow it with remote execution.

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 30, 2024

Yes, but what about remote caching? It seems pointless to cache the spawn for every possible duration the test can take, but it should definitely be eligible for remote execution.

@coeuvre
Copy link
Member

coeuvre commented Sep 30, 2024

I think the expectation is: if the test is cached, the xml generation should also be cached.

It seems pointless to cache the spawn for every possible duration the test can take

Maybe use the actual test wall time? For cached test, it means the wall time for the uncached run. I am not sure how, though.

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 30, 2024

True, that makes sense. I think this is good to go then, I'll think about whether any of this can be improved for better cacheability.

@copybara-service copybara-service bot closed this in 141449d Oct 3, 2024
@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 Oct 3, 2024
@fmeum fmeum deleted the test-xml-async branch October 3, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants