Open Bug 1586980 Opened 5 years ago Updated 2 years ago

Can we suggest that someone run ci-admin when requests to retrigger/rerun/backfill jobs responds with "No such hook"?

Categories

(Tree Management :: Treeherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: KWierso, Unassigned)

Details

Earlier today Bug 1580622 landed. It wasn't noticed at the time, but after the fact, sheriffs couldn't retrigger/backfill/rerun tasks. I pinned it down to the push where Bug 1580622 had landed.

This resulted in the sheriff backing out that patch, and tomprince requesting that it be re-landed so the ci-admin script could be run to regenerate all of the hooks after .taskcluster.yml was modified.

Errors displayed when trying to trigger actions while it was broken:
https://uploads.kiwiirc.com/files/57e4d2684d70ada332ac2be295bbb0df/image.png
https://uploads.kiwiirc.com/files/7d524c20eae44201a10ab4dd5207537a/image.png
https://uploads.kiwiirc.com/files/f8e78fd1ea384089456aeab9f68f64f8/image.png

I feel it might be nice if Treeherder caught the "no such hook" response and displayed something more useful, like "No such hook found: Does ci-admin need to be re-run?"

8:36 PM <KWierso> tomprince|see-ci-on-matrix: sorry for the churn. Should've pinged when I pinpointed the revision at fault :(
8:36 PM <tomprince|see-ci-on-matrix> No worries.
8:37 PM <tomprince|see-ci-on-matrix> KWierso: That error almost always means that somebody landed a change to .taskcluster.yml and ci-admin needs to be run.
8:37 PM <KWierso> tomprince|see-ci-on-matrix: any chance the error response can mention that?
8:38 PM <tomprince|see-ci-on-matrix> I'm not sure it makes sense for taskcluster to report that. Treeherder probably could, though?

Component: Treeherder: Job Triggering & Cancellation → TreeHerder
You need to log in before you can comment on or make changes to this bug.