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

[rush] update: show only cobuild build steps in the build timeline #4667

Merged

Conversation

aramissennyeydd
Copy link
Contributor

Summary

The timeline can get confusing when cobuilds have a lot of cache hits, all machines report the status as skipped or restored from cache but they show up as cobuilds in the timeline. This makes it a little harder to debug and understand if a project is being built on a separate machine or just being restored from cache on a separate machine. This PR makes it so that only terminal build statuses are reflected as cobuilds in the timeline.

Details

This forces cobuilds to only show for terminal build states (success, success w/ warning, error and blocked), all other states show the original icons. We could flip this to just have cache restores show the original icon, but I think the value in flipping it is stronger for taking a quick look at the timeline and understanding where actionable work has been split up - non build steps clutter that view.

How it was tested

Tested locally using the repo project for cobuild testing. Verified that terminal build statuses show up as C and cache restores show up as %.

Impacted documentation

@iclanton
Copy link
Member

Can you include example before and after output?

@aramissennyeydd
Copy link
Contributor Author

@iclanton It's a little hard to show across both terminals, so adding screenshots instead of text output.

Before:

Screenshot 2024-05-01 at 9 54 57 AM

After:

Screenshot 2024-05-01 at 9 56 48 AM

@dmichon-msft dmichon-msft merged commit 0c41a82 into microsoft:main May 1, 2024
5 checks passed
@octogonz octogonz changed the title [console-timeline] update: show only cobuild build steps in the build timeline [rush] update: show only cobuild build steps in the build timeline May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants