Include job tags in build webhook event payload
What does this MR do and why?
The existing Job (build) webhook event does not provide information about any tags defined for the job. The runner
object already exposes the relevant runner tags, but the runner attribute is not included in the webhook until after the job is picked up and running.
Use cases
-
Autoscaling: More effective self-hosted runner scaling by having the job tags available in the webhook payload during
created
andpending
status. - Reporting: More insights when ingesting webhooks to external reporting tools.
Screenshots or screen recordings
Before (GitLab.com) | After (Local GDK) |
---|---|
How to set up and validate locally
- Enable "Job" Webhooks for a group/project
- Initiate a pipeline
- Inspect the outgoing event payload in webhook settings
Edited by Mike Heyns