Skip to content

Instantly share code, notes, and snippets.

try_usage:
recipe: try_usage
from: now-week
to: now
try_usage:
command:
adr try_usage --from now-week --to now
@ahal
ahal / compute-hours.md
Last active January 17, 2019 20:40
Total Opt Compute Hours by Branch from 2019-01-10 to 2019-01-17
Branch Total Compute Hours Percentage
total 128074 100.0
autoland 70304 54.9
mozilla-inbound 33290 26.0
mozilla-central 24480 19.1
@ahal
ahal / compute-hours-month.md
Last active January 17, 2019 20:39
Total Opt Compute Hours by Branch from 2018-12-17 to 2019-01-17
Branch Total Compute Hours Percentage
total 422461 100.0
autoland 203398 48.1
mozilla-inbound 126464 29.9
mozilla-central 92599 21.9
diff --git a/adr/recipes/intermittent_tests.py b/adr/recipes/intermittent_tests.py
index ff4b3fe..ffbb0a3 100644
--- a/adr/recipes/intermittent_tests.py
+++ b/adr/recipes/intermittent_tests.py
@@ -2,36 +2,33 @@
This is currently broken.
.. code-block:: bash
adr intermittent_tests
{
"<config A>" : {
"total": "<num tests: int>",
"skipped": [
"<test 1>",
"<test 2>",
"..."
],
},
"<config B>": "..."
Test Suite Platform Build Type Status Timestamp
accessible/tests/mochitest/actions/test_anchors.html mochitest-a11y maxosx64 opt OK 1543317176.259
accessible/tests/mochitest/actions/test_anchors.html mochitest-a11y maxosx64 debug OK 1543342455.13
accessible/tests/mochitest/actions/test_aria.html mochitest-a11y maxosx64 opt OK 1543317176.259
accessible/tests/mochitest/actions/test_aria.html mochitest-a11y maxosx64 debug OK 1543342455.13
accessible/tests/mochitest/actions/test_controls.html mochitest-a11y maxosx64 opt OK 1543317176.259
accessible/tests/moch
Method Pushes Percent Users Push / User
total 8438 100.0 314 26.87
mach try syntax 3601 42.7 220 16.37
vanilla try syntax 2468 29.2 74 33.35
mach try fuzzy 1923 22.8 91 21.13
mach try again 204 2.4 18 11.33
mach try release 110 1.3 20 5.5
mach try empty 88 1.0 17 5.18
other 44 0.5 16 2.75
@ahal
ahal / example_recipe.py
Created October 24, 2018 13:35
Recipe Definition Example
DEFINITION = {
"name": "example_recipe",
"arguments": [ ... ],
"queries": [
{
"name": "query_name_1",
"callback": process_query_1,
},
{
"name": "query_name_2",
{
"from":"treeherder",
"limit":10,
"select":[
"build.date",
"job.type.name",
"action.request_time",
"build.revision12",
"failure.notes.text"
],
@ahal
ahal / example-views.json
Last active September 5, 2018 13:41
Taskcluster views.json proposal
{
"taskGroupId": "<taskGroupId>",
"views": [
{
"type": "subtask",
"tasks": ["<task id>", "<task id>", "..."],
"context": {
"description": "Linux64 opt Mochitest",
"symbol": "M",