Page MenuHomePhabricator

Show broken units in revision history
ClosedPublic

Authored by avivey on Sep 2 2016, 1:29 AM.
Tags
None
Referenced Files
F14052821: D16483.diff
Fri, Nov 15, 11:04 AM
F14039899: D16483.diff
Mon, Nov 11, 6:38 AM
F14025270: D16483.diff
Thu, Nov 7, 3:47 PM
F14012935: D16483.id.diff
Fri, Nov 1, 9:25 PM
F13990241: D16483.diff
Tue, Oct 22, 2:10 AM
F13987561: D16483.id.diff
Mon, Oct 21, 10:06 AM
F13981263: D16483.diff
Oct 19 2024, 3:21 PM
F13964437: D16483.diff
Oct 15 2024, 8:24 PM
Subscribers

Details

Summary

This is hacky, and I'm not sure I'm happy with it; Until T9365 is done, this will show up
broken tests with an appropriate star in the Revision History.

Test Plan

Created 1M messages in a couple of old diffs in a revision. The query took ~80us (On SSD drive).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avivey retitled this revision from to Show broken units in revision history.
avivey updated this object.
avivey edited the test plan for this revision. (Show Details)
avivey edited edge metadata.
  • stray debug string
epriestley added a reviewer: epriestley.

Cool, I think this is pretty reasonable. Thanks!

(For context for anyone else reading this: this is a compromise to improve integration of Harbormaster unit test data in the short term, until we can fix this properly in D16417 or similar, but that requires more planning through T9365/T10635/T11402 than I want to do right away.)

It looks like there's no <buildTargetPHID, result> key on the harbormaster_buildunitmessage table so this might still need to look at a fair number of rows, but it shouldn't need to load them so I don't think it will make T10635 materially worse. We can keep an eye on it; I have more of an idea of how I want to attack that than of how I want to do aggregation.

src/applications/differential/view/DifferentialRevisionUpdateHistoryView.php
397

(Is this a stray typo, or does it fix a display issue?)

This revision is now accepted and ready to land.Sep 2 2016, 12:02 PM
This revision was automatically updated to reflect the committed changes.
src/applications/differential/view/DifferentialRevisionUpdateHistoryView.php
397

Typo...