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

Properly guard upload #2439

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Properly guard upload #2439

merged 3 commits into from
Feb 17, 2023

Conversation

yacaovsnc
Copy link
Contributor

Fix 2.302 upload log issue

@yacaovsnc yacaovsnc requested a review from a team as a code owner February 15, 2023 17:33
@actions actions deleted a comment Feb 15, 2023
TingluoHuang
TingluoHuang previously approved these changes Feb 17, 2023
if (timelineRecordId == _jobTimelineRecordId && String.Equals(type, CoreAttachmentType.ResultsLog, StringComparison.Ordinal))
{
Trace.Verbose("Skipping job log {0} for record {1}", path, timelineRecordId);
return;
Copy link
Member

Choose a reason for hiding this comment

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

same here, do we need to delete the file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not going to delete here since I am going to remove this check now in my next PR. I already have the code mostly ready, just need to test and submit a PR.

The general ff case is handled by the first delete above.

@TingluoHuang TingluoHuang merged commit aaf02ab into actions:main Feb 17, 2023
nikola-jokic pushed a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
* Revert "Revert "Uploading step logs to Results as well  (actions#2422)" (actions#2437)"

This reverts commit 8c096ba.

* Properly guard the upload to results feature

* Delete skipped file if deletesource is true
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Jun 17, 2024
* Revert "Revert "Uploading step logs to Results as well  (actions#2422)" (actions#2437)"

This reverts commit 8c096ba.

* Properly guard the upload to results feature

* Delete skipped file if deletesource is true
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.

2 participants