Inspired by bug 1420242
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.
Inspired by bug 1420242
Let's provide a debug option in
.taskcluster.ymlin 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.