Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Bug 1623601 - Add visual metrics tasks to nightly browsertime tests. #9248

Merged
merged 2 commits into from
Mar 19, 2020

Conversation

gmierz
Copy link
Contributor

@gmierz gmierz commented Mar 19, 2020

This patch adds the visual-metrics tasks to the nightly browsertime cron tests. They are currently being removed because they don't have a browsertime kind.

Copy link
Contributor

@JohanLorenzo JohanLorenzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach is the right one!

I suggested a nit, but I don't think it's a big deal because we're just handling 2 different task kinds.

@@ -56,6 +56,6 @@ def filter(task, parameters):
@_target_task('browsertime')
def target_tasks_raptor(full_task_graph, parameters, graph_config):
def filter(task, parameters):
return task.kind == 'browsertime'
return task.kind == 'browsertime' or task.kind == 'visual-metrics'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python nit: This can be simplified into

Suggested change
return task.kind == 'browsertime' or task.kind == 'visual-metrics'
return task.kind in ('browsertime', 'visual-metrics')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks!

@gmierz
Copy link
Contributor Author

gmierz commented Mar 19, 2020

@JohanLorenzo I've fixed the nit issue, and it's ready for landing when the PR checks are done. Thanks for the review!

@codecov-io
Copy link

Codecov Report

Merging #9248 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #9248   +/-   ##
=========================================
  Coverage     19.49%   19.49%           
  Complexity      511      511           
=========================================
  Files           329      329           
  Lines         13155    13155           
  Branches       1748     1748           
=========================================
  Hits           2565     2565           
  Misses        10364    10364           
  Partials        226      226           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ed1319...f8b7ae9. Read the comment docs.

@JohanLorenzo
Copy link
Contributor

Failure is unrelated to the patch. Landing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants