gecko-dev/taskcluster/gecko_taskgraph/optimize
Aki Sasaki 8def27347a no bug - fix ./mach taskgraph test-action-callback r=releng-reviewers,jmaher DONTBUILD
First, import `yaml` from `taskgraph` instead of `gecko_taskgraph` now
that bug 1733950 has landed.

Second, avoid trying to create decision task indexes if `gecko_taskgraph.create.testing` is True (we set this in `test-action-callback` [here](https://searchfox.org/mozilla-central/rev/d488f68d845a87cc107612b667951152c34fb116/taskcluster/gecko_taskgraph/actions/registry.py#344); we need to import `create` and check `create.testing` rather than `from create import testing` because the value changes after we import it.

Third, don't die in `optimize` if we're in testing: the `status_task` call can return `None` in that case.

And fourth, let's noop bugbug `push_schedules` if we're in `create.testing`; this appears to fix a hang.

Differential Revision: https://phabricator.services.mozilla.com/D128001
2021-10-11 15:08:06 +00:00
..
__init__.py
backstop.py
bugbug.py
schema.py
strategies.py no bug - fix ./mach taskgraph test-action-callback r=releng-reviewers,jmaher DONTBUILD 2021-10-11 15:08:06 +00:00