Merge pull request #33158 from backstage/freben/move-stitch-queue-2

catalog: move stitch queue into dedicated table
This commit is contained in:
Fredrik Adelöw
2026-03-10 16:21:13 +01:00
committed by GitHub
20 changed files with 640 additions and 301 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Moved stitch queue concerns out of `refresh_state` and `final_entities` into a dedicated `stitch_queue` table with `entity_ref` as the primary key. The `stitch_ticket` is used for optimistic concurrency control. When a stitch completes successfully and the ticket hasn't changed, the corresponding row is deleted from the queue. The migration handles existing data and is fully reversible.