| Index: Tools/GardeningServer/ui/ct-unexpected-failures.html
|
| diff --git a/Tools/GardeningServer/ui/ct-unexpected-failures.html b/Tools/GardeningServer/ui/ct-unexpected-failures.html
|
| index 0b208c38857395d93b01eebcd1241b4d79401861..109271d462df0c0be532a12af74c93f0ac39c7ab 100644
|
| --- a/Tools/GardeningServer/ui/ct-unexpected-failures.html
|
| +++ b/Tools/GardeningServer/ui/ct-unexpected-failures.html
|
| @@ -6,6 +6,7 @@ found in the LICENSE file.
|
|
|
| <link rel="import" href="../bower_components/paper-button/paper-button.html">
|
| <link rel="import" href="../bower_components/paper-toast/paper-toast.html">
|
| +<link rel="import" href="../model/ct-commit-log.html">
|
| <link rel="import" href="ct-failing-builders.html">
|
| <link rel="import" href="ct-failure-analyzer.html">
|
| <link rel="import" href="ct-failure-grouper.html">
|
| @@ -37,22 +38,26 @@ found in the LICENSE file.
|
| padding: 0;
|
| }
|
| </style>
|
| - <ct-failure-analyzer id="analyzer" status="{{ analyzerStatus }}" failures="{{ failures }}"></ct-failure-analyzer>
|
| + <ct-failure-analyzer id="analyzer" status="{{ analyzerStatus }}" failures="{{ failures }}" builderLatestRevisions="{{ builderLatestRevisions }}"></ct-failure-analyzer>
|
| <ct-failure-grouper failures="{{ failures.unexpected }}" groups="{{ failureGroups }}"></ct-failure-grouper>
|
| <ct-tree-status project="chromium"></ct-tree-status>
|
| <ct-tree-status project="blink"></ct-tree-status>
|
| <ct-failing-builders builders="{{ failures.builders }}"></ct-failing-builders>
|
| - <ct-failure-stream groups="{{ failureGroups }}"></ct-failure-stream>
|
| + <ct-failure-stream groups="{{ failureGroups }}" builderLatestRevisions="{{ builderLatestRevisions }}" commits="{{ revisionLog.commits }}"></ct-failure-stream>
|
| <paper-toast id="toast" text="{{ analyzerStatus }}"></paper-toast>
|
| </template>
|
| <script>
|
| Polymer({
|
| + revisionLog: new CTCommitLog(),
|
| +
|
| attached: function() {
|
| this.update();
|
| setInterval(this.update.bind(this), config.kUpdateFrequency);
|
| },
|
|
|
| update: function() {
|
| + // FIXME: These shouldn't update if there's already an update in progress.
|
| + this.revisionLog.update();
|
| this.$.analyzer.update();
|
| var treeStatuses = this.shadowRoot.querySelectorAll("ct-tree-status");
|
| for (var i = 0; i < treeStatuses.length; i++)
|
|
|