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

ci: only archive derived data logs if the build step fails #3011

Merged

Conversation

armcknight
Copy link
Member

I noticed a case where it took several minutes to archive derived data logs here:
image

This happened due to a test failure. Now that we've split up the build and runtest steps, I think we only need derived data logs if the build step fails. Once the build succeeds, these logs can't help for test run failures, so the step linked above didn't actually need to run.

#skip-changelog

@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #3011 (b8acfc4) into main (034be1c) will increase coverage by 0.007%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #3011       +/-   ##
=============================================
+ Coverage   88.307%   88.315%   +0.007%     
=============================================
  Files          495       495               
  Lines        53230     53232        +2     
  Branches     19114     19113        -1     
=============================================
+ Hits         47006     47012        +6     
  Misses        5256      5256               
+ Partials       968       964        -4     

see 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 034be1c...b8acfc4. Read the comment docs.

@armcknight
Copy link
Member Author

Well, got a natural experiment with a flake, at least the changes are validated 😆 https://github.com/getsentry/sentry-cocoa/actions/runs/4915463064/jobs/8778134993?pr=3011

@armcknight armcknight merged commit f0737f6 into main May 9, 2023
25 checks passed
@armcknight armcknight deleted the armcknight/ci/archive-deriveddata-logs-only-on-build-failure branch May 9, 2023 07:44
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.

None yet

2 participants