Use a non-`-` schedulerId in the UI's task creator.
Categories
(Taskcluster :: UI, enhancement)
Tracking
(Not tracked)
People
(Reporter: tomprince, Unassigned)
References
Details
Attachments
(1 file)
The UI defaults to using the scheduler-id -
.
This means that anybody who needs to be able to create tasks should have the scopes for that, (both to create tasks, and potentially manage tasks).
I think it would be clearer what is going on, if we changed the default schedulerid through that interface to be something like taskcluster-ui
or web-ui
.
Comment 1•5 years ago
|
||
I like that idea. I want to have a bit of a re-think about schedulerId in the context of projects and allowing cancellation, reruns, etc. in a controlled fashion.
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
It looks like https://github.com/taskcluster/taskcluster/commit/7ecc81acf476010f8bac38e85dcfa51906a2711e changes the default task that https://firefox-ci-tc.services.mozilla.com/tasks/create creates, but it doesn't impact things like doing edit
on an existing task, which clears the scheduler-id currently, and so tries to use -
as the default there.
Comment 6•5 years ago
|
||
We should probably modify edit so that it doesn't clear scheduler-id. I don't think we ever thought very hard about what to do to tasks when clicking those buttons.
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
bstack:
I'm convinced by it so long as we make this official and documented, etc. Perhaps there are other fields that we can define this way, etc.
me:
Hm, so we would need some kind of convention in the docs for how to clone a task. I like that, too.
Comment 9•5 years ago
|
||
I think I'm going to back-burner this, as we have an idea bubbling for a while to define a projectId
that would partially replace usage of schedulerId
. Let's try to tackle all of this in a single RFC.
Updated•5 years ago
|
Reporter | ||
Comment 10•5 years ago
|
||
I think this has been addressed by https://github.com/taskcluster/taskcluster/pull/2361/files
Description
•