зеркало из https://github.com/mozilla/gecko-dev.git
a97dfc7c07
The runnable jobs API on Treeherder is timing out quite frequently. This is due that it downloads the full-task-graph.json artifact from the Gecko decision task. This file has grown to be massive (over 30MB) and that takes too long to fetch. The API times out after 20 seconds. The data we need from the artifact is minimal. We can generate a file with just the minimum amount of data needed. This code change adds logic to generate a runnable-jobs.json.gz file after the full-task-graph.json artifact is generated. MozReview-Commit-ID: 9u2H7HbUAcl --HG-- extra : rebase_source : f450527e7dd565e29cfe2e04dc52761e77827cc0 |
||
---|---|---|
.. | ||
__init__.py | ||
automationrelevance.json | ||
python.ini | ||
test_create.py | ||
test_cron_util.py | ||
test_decision.py | ||
test_files_changed.py | ||
test_generator.py | ||
test_graph.py | ||
test_morph.py | ||
test_optimize.py | ||
test_parameters.py | ||
test_target_tasks.py | ||
test_taskgraph.py | ||
test_transforms_base.py | ||
test_try_option_syntax.py | ||
test_util_attributes.py | ||
test_util_docker.py | ||
test_util_parameterization.py | ||
test_util_python_path.py | ||
test_util_runnable_jobs.py | ||
test_util_schema.py | ||
test_util_templates.py | ||
test_util_time.py | ||
test_util_treeherder.py | ||
test_util_yaml.py |