Page MenuHomePhabricator

Hide empty build logs
ClosedPublic

Authored by hach-que on Jul 31 2014, 4:52 AM.
Tags
None
Referenced Files
F14378356: D10091.diff
Sat, Dec 21, 2:06 AM
Unknown Object (File)
Tue, Dec 17, 4:45 PM
Unknown Object (File)
Sun, Dec 15, 7:45 PM
Unknown Object (File)
Sun, Dec 15, 11:45 AM
Unknown Object (File)
Wed, Dec 11, 9:40 PM
Unknown Object (File)
Tue, Dec 10, 6:01 PM
Unknown Object (File)
Tue, Dec 10, 2:49 AM
Unknown Object (File)
Sun, Dec 8, 6:08 AM
Subscribers

Details

Reviewers
epriestley
chad
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPcefe30d7374d: Hide empty build logs
Summary

This automatically hides any empty build logs from Harbormaster, so that they do not appear.

Test Plan

Viewed a build plan where the logs were empty and didn't see them appear.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hach-que retitled this revision from to Hide empty build logs.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que edited edge metadata.

Allow user to show logs

hach-que edited edge metadata.

Fix line too long

epriestley edited edge metadata.

Can this use behavior-reveal-content instead?

Is there any reason users would want to show empty logs?

(I plan to do a general cleanup pass on most of the result UIs at some point, so I lean toward picking simpler fixes here...)

This revision now requires changes to proceed.Jul 31 2014, 6:26 PM

I was discussing with my coworker yesterday as to "why would anyone ever want to view empty build logs?".

I think the conclusion we came to was that we want to know the presence of them, more than actually viewing them. That is, we want to know "the build target created a log and didn't output anything" vs "the build target hasn't created a log".

We did try a version that just hid them completely (without the option to show them), but it was not clear as to whether the build target had broken or done something weird, and it made it far less clear on what to do if you were trying to diagnose a build target.

hach-que edited edge metadata.

Use behavior-reveal-content instead.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Aug 6 2014, 12:21 AM
hach-que updated this revision to Diff 24444.

Closed by commit rPcefe30d7374d (authored by @hach-que).