Page MenuHomePhabricator

Hide empty build logs
ClosedPublic

Authored by hach-que on Jul 31 2014, 4:52 AM.
Tags
None
Referenced Files
F13981557: D10091.id.diff
Oct 19 2024, 5:22 PM
F13973917: D10091.id24297.diff
Oct 18 2024, 3:15 AM
F13967948: D10091.id24268.diff
Oct 16 2024, 5:20 PM
Unknown Object (File)
Oct 11 2024, 11:37 PM
Unknown Object (File)
Sep 17 2024, 2:25 PM
Unknown Object (File)
Sep 17 2024, 2:25 PM
Unknown Object (File)
Sep 17 2024, 2:25 PM
Unknown Object (File)
Sep 17 2024, 2:25 PM
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
Branch
hide-empty-logs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1956
Build 1957: [Placeholder Plan] Wait for 30 Seconds

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).