Merge pull request #34265 from backstage/freben/stable-multi-org-order

github: stabilize entity order in multi-org provider
This commit is contained in:
Fredrik Adelöw
2026-05-19 10:23:43 +02:00
committed by GitHub
3 changed files with 35 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
The `GithubMultiOrgEntityProvider` now emits entities in a stable order during full mutations. Entities are sorted by entity ref, with the location annotation as a tiebreaker for entities that share the same ref. This prevents entity data from flickering between different GitHub orgs across refresh cycles when `alwaysUseDefaultNamespace` is enabled and teams with identical slugs exist in multiple orgs.