зеркало из https://github.com/mozilla/gecko-dev.git
8def27347a
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 |
||
---|---|---|
.. | ||
__init__.py | ||
backstop.py | ||
bugbug.py | ||
schema.py | ||
strategies.py |