Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
20d9a244
Unverified
Commit
20d9a244
authored
Sep 24, 2019
by
Kate Lovett
Committed by
GitHub
Sep 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Benchmark for un-triaged image results on Flutter Gold (#40634)" (#41232)
This reverts commit
43932aa2
.
parent
81e693a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
41 deletions
+0
-41
flutter_gold_triage.dart
dev/devicelab/bin/tasks/flutter_gold_triage.dart
+0
-35
manifest.yaml
dev/devicelab/manifest.yaml
+0
-6
No files found.
dev/devicelab/bin/tasks/flutter_gold_triage.dart
deleted
100644 → 0
View file @
81e693a7
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
const
String
_kTriageCountKey
=
'count'
;
Future
<
TaskResult
>
getTriageCount
()
async
{
final
HttpClient
skiaClient
=
HttpClient
();
int
digestCount
=
0
;
try
{
final
HttpClientRequest
request
=
await
skiaClient
.
getUrl
(
Uri
.
parse
(
'https://flutter-gold.skia.org/json/trstatus'
));
final
HttpClientResponse
response
=
await
request
.
close
();
final
String
responseBody
=
await
response
.
transform
(
utf8
.
decoder
).
join
();
final
Map
<
String
,
dynamic
>
json
=
jsonDecode
(
responseBody
);
digestCount
=
json
[
'corpStatus'
][
0
][
'untriagedCount'
];
}
catch
(
e
)
{
return
TaskResult
.
failure
(
e
.
toString
());
}
return
TaskResult
.
success
(
<
String
,
dynamic
>{
_kTriageCountKey:
digestCount
},
benchmarkScoreKeys:
<
String
>[
_kTriageCountKey
],
);
}
Future
<
void
>
main
()
async
{
await
task
(()
=>
getTriageCount
());
}
dev/devicelab/manifest.yaml
View file @
20d9a244
...
@@ -655,12 +655,6 @@ tasks:
...
@@ -655,12 +655,6 @@ tasks:
stage
:
devicelab
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
required_agent_capabilities
:
[
"
linux/android"
]
flutter_gold_triage
:
description
:
>
Checks the number of un-triaged image digests from Flutter Gold.
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
# run_without_leak_linux:
# run_without_leak_linux:
# description: >
# description: >
# Checks that `flutter run` does not leak dart on Linux.
# Checks that `flutter run` does not leak dart on Linux.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment