fix: stop creating TaskRunTag records and join table entries during triggering (#3369)

The TaskRun.runTags string array already stores tag names, making the
TaskRunTag M2M relation redundant write overhead. Remove createTags
calls, connect: tags, and join table writes from both V1 and V2 trigger
paths. Simplify the add-tags API to just push to runTags directly.
This commit is contained in:
Eric Allam
2026-04-14 05:40:51 +01:00
committed by GitHub
parent c09983ef19
commit ed0c3e4f38
12 changed files with 37 additions and 188 deletions
@@ -0,0 +1,6 @@
---
area: webapp
type: improvement
---
Stop creating TaskRunTag records and _TaskRunToTaskRunTag join table entries during task triggering. The denormalized runTags string array on TaskRun already stores tag names, making the M2M relation redundant write overhead.