Closed Bug 1420903 Opened 7 years ago Closed 4 years ago

Provide a debug flag in .taskcluster.yml to aid troubleshooting

Categories

(Taskcluster :: Services, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dustin, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Inspired by bug 1420242, copied from @petemoore in https://github.com/taskcluster/taskcluster-rfcs/issues/102#issuecomment-346804197 --- Let's provide a debug option in .taskcluster.yml in github repositories that makes taskcluster extra "chatty". When a task is not triggered, e.g. because branch filtering prevents it, it can post a message against the commit / PR that explains why it did not trigger a task. This could also apply if the user doesn't have adequate permissions. It could also leave a message with the webhook payload it received, and optionally the message payload that it wrote to any pulse exchange, together with the name of the pulse exchange it wrote to. Having this debug mode will be really useful when people are setting up new projects, and can't work out why tasks are not getting triggered. The idea would be, so long as taskcluster-github receives a call from a webhook, it would attempt to add debugging information to the PR/commit/tag/release that triggered it, even if it is a no-op.
Mentor: dustin
Hey yd, Any interest in taking this on once we land your current work?
Flags: needinfo?(didwaniayashvardhan)
Yes Brian, I would be happy to work on it. Just waiting for the no-deploy period to end :)
Flags: needinfo?(didwaniayashvardhan)
Assignee: nobody → didwaniayashvardhan
Status: NEW → ASSIGNED
YD, do you still want to work on this? Otherwise we could make it a mentored bug.
Flags: needinfo?(didwaniayashvardhan)
I will not be able to work on it. Can I mentor it though?
Flags: needinfo?(didwaniayashvardhan)
Awesome, yeah!
Assignee: didwaniayashvardhan → nobody
Mentor: dustin → didwaniayashvardhan
Status: ASSIGNED → NEW
Severity: normal → enhancement
Keywords: good-first-bug
Priority: -- → P5
Component: Github → Services
Blocks: github-bugs
Mentor: bugzeeeeee, dustin
Mentor: bugzeeeeee

This is good background for a rethink of the GitHub integration.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.