simplify changeset

Signed-off-by: Claire Peng <clairep@spotify.com>
This commit is contained in:
Claire Peng
2025-09-30 14:08:01 +02:00
parent 5752fa9228
commit 7be9bd7106
+1 -7
View File
@@ -2,10 +2,4 @@
'@backstage/plugin-catalog-backend-module-gitlab': patch
---
Update GitlabDiscoveryEntityProvider to use `project.id` rather than `project.path_with_namespace` for `hasFile` check in `shouldProcessProject`
Solves [#30147](https://github.com/backstage/backstage/issues/30147):
> Use of project.id avoids edge cases caused by path encoding or project structure changes
> [...]
> It also simplifies reasoning about the GitLab API usage, since IDs are immutable, while paths are not.
Fixed an issue in `GitlabDiscoveryEntityProvider` where entity fetching could fail for projects with special characters or that had been renamed or moved.