Skip to content

Bug 2009019 - Structure .taskcluster.yml to be a single task#327

Merged
ahal merged 1 commit intoenterprise-mainfrom
ahal/push-kwtxlvrqyxul
Jan 9, 2026
Merged

Bug 2009019 - Structure .taskcluster.yml to be a single task#327
ahal merged 1 commit intoenterprise-mainfrom
ahal/push-kwtxlvrqyxul

Conversation

@ahal
Copy link
Member

@ahal ahal commented Jan 9, 2026

In order to support actions, the .taskcluster.yml must be structured as a single task. This is because when fxci-config generates the hooks, it uses tcyml.tasks[0] as the hook task definition.

When we were defining separate tasks for hg and git, then the git implementation of the Decision task was being discarded.

This refactors the .tc.yml a bit such that there is only a single top-level task. This is a bit cleaner anyway as it guarantees it will always be one or the other, with no possibility of accidentally scheduling two Decision tasks.

In order to support actions, the `.taskcluster.yml` must be structured
as a single task. This is because when `fxci-config` generates the
hooks, it uses `tcyml.tasks[0]` as the hook task definition.

When we were defining separate tasks for hg and git, then the git
implementation of the Decision task was being discarded.

This refactors the .tc.yml a bit such that there is only a single
top-level task. This is a bit cleaner anyway as it guarantees it will
always be one or the other, with no possibility of accidentally
scheduling two Decision tasks.
@ahal ahal requested a review from a team January 9, 2026 15:28
@ahal ahal self-assigned this Jan 9, 2026
@ahal ahal merged commit bd0843c into enterprise-main Jan 9, 2026
22 checks passed
@ahal ahal deleted the ahal/push-kwtxlvrqyxul branch January 9, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant