taskcluster
taskcluster copied to clipboard
Clean up decision task hacks
Things noted by @tomprince:
-
TransformSequence
intaskcluster/src/transforms/__init__.py
is not necessary - We should also change
basestring
tosix.text_type
wherever used - Consider using level-1 vs level-3 to keep decision task stuff on its own workers instead of a
decision
worker.
3. Consider using level-1 vs level-3 to keep decision task stuff on its own workers instead of a
decision
worker.
More specifically to keep pull-request tasks on separate workers for tasks for pushes. This is probably most relevant for any tasks that are involved in the release process (including the decision task).
Also, consider moving tascluster/src
to taskcluster/taskcluster_taskgraphor the like. The convention releng has adopted is
I want to work on this .
Thank you, @090max! I've assigned you. All work takes place inside the taskcluster
directory and .taskcluster.yml
file. Let me know if you want any further pointers.
sure
Just had these two queries:
- Can you please elaborate task 3 "Consider using level-1 vs level-3 to keep decision task stuff on its own workers instead of a decision worker."
- By removing TransformSequence , all the functions proceeding @transforms.add would no longer be required in the file taskcluster/src/transforms/init.py , right ?
Can you please elaborate task 3 "Consider using level-1 vs level-3 to keep decision task stuff on its own workers instead of a decision worker."
Ah sure. Right now we use a release
worker to do certain kinds of tasks and ci
to do others. These are defined in taskcluster/ci/config.yml
and you can see where they're used elsewhere. We could instead use workers called ci-level-1
and ci-level-2
or something like that.
Now that I think about it, this is a slightly more involved change. Let's do the other changes first and then we can handle this in a followup once you're more familiar with this code.
By removing TransformSequence , all the functions proceeding @transforms.add would no longer be required in the file taskcluster/src/transforms/__init__.py , right ?
I believe that's correct, yeah.
I am new to contributing to open source orgs Can I work on this?
Is this issue fixed?. because it is still among the unassigned task on codetribute.
@ahal I think you are the most relevant person to ask if this is still needed? Thanks
Yeah, a bit of a mish mash of things in here, but looks like it's mostly still relevant. We should be running the decision task with Python 3 at least now, so the basestring
stuff should be fixed.
hello @ahal and @lotas; can you please assign this to me. I'm interested in working on it. Thanks