Trying to repeat a task I get: Taskcluster: While firing hook: InterpreterError at template.payload.env["ACTION_TASK"]: unknown context value task --- * method: triggerHook * errorCode: InputError * statusCode: 400 * time: 2018-09-18T17:21:24.776Z Tom said on IRC: 19:51:00 - tomprince: The error message you quote suggests the `.taskcluster.yml` may have diverged from firefox's in a way that impacts actions. 19:55:24 - tomprince: https://bugzilla.mozilla.org/show_bug.cgi?id=1491371 is also related (but not the issue you are seeing on c-c). Apparently also part of the problem was bug 1470622 which has been resolved.
> Apparently also part of the problem was bug 1470622 which has been resolved. That bug is what caused the issue to become visible, as it caused treeherder to start using in-tree actions for things like retrigger/cancel, instead of ad-hoc implementations.
I talked to Tom about this briefly last night. I think I know what needs to be changed, but I don't have all of the necessary access to test. We'll be working on it today.
The idea is to make actions work again from treeherder
Comment on attachment 9010653 [details] Bug 1492219 - Update .taskcluster.yml with (some) changes from M-C Tom Prince [:tomprince] has approved the revision.
Attachment #9010653 - Flags: review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/comm-central/rev/66c355e529f5 Update .taskcluster.yml with (some) changes from M-C r=tomprince
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Should that go to the comm-beta tree as well?
Pushed by email@example.com: https://hg.mozilla.org/comm-central/rev/bdd596274fb1 Follow-up: Fixed indentation/white-space issues. rs=white-space-only DONTBUILD
Hmm, tried to retrigger a job on TreeHerder and got: Taskcluster: No such hook --- * method: triggerHook * errorCode: ResourceNotFound * statusCode: 404 * time: 2018-09-21T08:39:35.255Z
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
It will probably need to go to comm-beta and comm-esr60 once it works on central. Tom mentioned something about needing to make changes in the ci-admin repository I believe.
Flags: needinfo?(rob) → needinfo?(mozilla)
ci-admin needs to be run by someone with permissions after changes to `.taskcluster.yml`. You can ask in #taskcluster. There is Bug 1491371 about figuring out how to pin versions on release branches without changing that file (and thus requiring a ci-admin run to allow actions to work).
Cancel seems to work again on the C-C tree, I've just cancelled a bunch of stuff.
Repeat works, too.
Status: REOPENED → RESOLVED
Closed: 10 months ago → 10 months ago
Resolution: --- → FIXED
It worked for a while, now I get this on try: Taskcluster: No such hook --- * method: triggerHook * errorCode: ResourceNotFound * statusCode: 404 * time: 2018-10-18T18:51:01.662Z
I just reran a couple jobs on try without any problems. Can you try again and if it's still not working I'll look at it more.
Modifying .taskcluster.yml breaks actions. See bug 1491371.
You need to log in before you can comment on or make changes to this bug.