Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Tasks should be created with task group ID of decision task

Aperta
#540 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@petemoore ci sta già lavorando.

Dal 7/5/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Currently taskgraph assumes that taskId and taskGroupId match. This means, if you retrigger a decision task, but e.g. place it in the original task group, subtasks will end up in a completely different task group to the decision task. Or maybe you want to have more than one decision task in your task group. To ensure that subtasks are always created in same task group as decision task, the subtask should have its taskGroupId set to the taskGroupId of the decision task (not the taskId of the decision task).

One option would be to query the taskcluster queue to get the taskGroupId of the current task. Another option would be to check if TASK_GROUP_ID is set in the environment, and fall back to querying taskcluster queue if it isn't. The reason for this, is that TASK_GROUP_ID env var has been added to Generic Worker tasks in taskcluster/taskcluster#7140, so should be available in future to taskgraph.

Code is here: https://github.com/taskcluster/taskgraph/blob/4896be17ec9ef349f61f8acb85699dc9a9c7e555/src/taskgraph/create.py#L45

Lingua principale
Python
Stelle
26
Fork
55
Merge medio
2g 6m
PR unite (30g)
15

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di taskcluster/taskgraph

Tutte le issue di taskcluster/taskgraph

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.