Since it's never called with the `task_id` parameter, and when the task ID
is not set, the return value is identical to calling `list_runnable_jobs`
directly.
Fixes:
tests/autoclassify/test_classify_failures.py:7:1: F401 'treeherder.model.models.TextLogErrorMetadata' imported but unused
tests/etl/test_job_loader.py:7:1: F401 'treeherder.model.models.Repository' imported but unused
tests/model/test_classified_failure.py:6:1: F401 'treeherder.model.models.FailureLine' imported but unused
tests/seta/conftest.py:2:1: F401 'django.utils.timezone' imported but unused
tests/seta/test_job_priorities.py:8:1: F401 'treeherder.seta.settings.SETA_LOW_VALUE_PRIORITY' imported but unused
tests/webapp/api/test_text_log_summary_lines.py:4:1: F401 'treeherder.model.models.TextLogError' imported but unused
treeherder/auth/backends.py:13:5: F401 'django.utils.encoding.smart_str as smart_bytes' imported but unused
treeherder/autoclassify/tasks.py:4:1: F401 'django.conf.settings' imported but unused
treeherder/autoclassify/tasks.py:6:1: F401 'treeherder.celery_app' imported but unused
treeherder/perfalert/__init__.py:1:1: F401 '.perfalert.*' imported but unused
treeherder/seta/analyze_failures.py:7:1: F401 'treeherder.etl.seta.valid_platform' imported but unused
treeherder/seta/job_priorities.py:10:1: F401 'treeherder.model.models.Repository' imported but unused
treeherder/seta/models.py:7:1: F401 'treeherder.model.models.Repository' imported but unused
The seta migrations file change is due to the seta models no longer
depending on `model` (since the unnecessary `Repository` import has
been removed).
* Bug 1338334 - fix analyze_failures.py when we have empty fixed_by_commit arrays
* Bug 1338334 - fix analyze_failures.py when we have empty fixed_by_commit arrays
* Bug 1330677 - Allow calling runnable jobs API without having to pass the Gecko decision task id.
This is useful if all you care about is to determine what is most up-to-date list of tasks that can be scheduled.
In the future, this will allow for determining the "current set of runnable jobs" on a schedule
(caching the latest values) rather on per API call.
* Bug 1330652 - SETA - Fix job priorities endpoint
We were not passing the project name down to the functionality that
retrieves runnable jobs, thus, using 'mozilla-inbound' by default.
This change starts using the simplified ref_data_names() method which also
takes the project name.
This also paves the way to drop Treecodes from the code.
ref_data_name is a calculated value rather than a value defined by the
TaskCluster task. If ref_data_name cannot be calculated it fallsback to
a signature. Switching to job type name avois this issue.
Also add TaskCluster jobs to the list of jobs with notes