From 7be9bd7106593f3c2139a98a2a8128fd63c1dd03 Mon Sep 17 00:00:00 2001 From: Claire Peng Date: Tue, 30 Sep 2025 14:08:01 +0200 Subject: [PATCH] simplify changeset Signed-off-by: Claire Peng --- .changeset/twelve-oranges-grin.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.changeset/twelve-oranges-grin.md b/.changeset/twelve-oranges-grin.md index 174dbdcd66..ab1ede0a0d 100644 --- a/.changeset/twelve-oranges-grin.md +++ b/.changeset/twelve-oranges-grin.md @@ -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.