Merge pull request #34339 from backstage/freben/stitch-queue-no-overlap

fix(catalog-backend): prevent overlapping stitches for the same entity
This commit is contained in:
Fredrik Adelöw
2026-05-26 14:46:59 +02:00
committed by GitHub
7 changed files with 152 additions and 18 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Improved stitch queue semantics to prevent overlapping stitches for the same entity. New stitch requests that arrive while a stitch is in progress now only update the ticket (not the timestamp), so the in-progress worker is not interrupted. When the worker completes and detects a pending re-stitch, the queue entry becomes immediately eligible for pickup instead of waiting for the timeout period.