Page MenuHomePhabricator

Prevent buildable list in Harbormaster from breaking when container or buildables are missing
ClosedPublic

Authored by hach-que on Mar 24 2014, 3:30 AM.
Tags
None
Referenced Files
F18820587: D8608.diff
Wed, Oct 22, 4:05 PM
F18757806: D8608.id20439.diff
Sun, Oct 5, 7:31 PM
F18757784: D8608.id20398.diff
Sun, Oct 5, 7:27 PM
F18723932: D8608.diff
Tue, Sep 30, 2:23 AM
F18654439: D8608.id20398.diff
Sep 22 2025, 9:07 AM
F18618865: D8608.id.diff
Sep 15 2025, 1:08 AM
F18557353: D8608.id.diff
Sep 8 2025, 7:56 PM
F18513604: D8608.diff
Sep 5 2025, 9:34 AM

Details

Summary

Ref T1049. I'm fair sure this is just a case of bad data in my local install, but we probably don't want the default page for Harbormaster to break when there's invalid / missing container or buildable handles on any of the builds.

Test Plan

Loaded the page, didn't get a crash due to null reference.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hach-que retitled this revision from to Prevent buildable list in Harbormaster from breaking when container or buildables are missing.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.

In theory, handles should always load something, but this case is a little weird and we don't have a convenient way to get/attach a totally empty handle. This seems reasonable until we have some justification for doing that.

This revision is now accepted and ready to land.Mar 26 2014, 12:35 AM
epriestley updated this revision to Diff 20439.

Closed by commit rPfc3b5ddce6a5 (authored by @hach-que, committed by @epriestley).