Do not save duplicate notes when importing pipelines
What does this MR do and why?
This MR fixes a bug in Project Import/Export, where on import we create duplicate commit notes for every exported pipeline.
Example
| original project | exported and re-imported project |
|---|---|
![]() |
![]() |
This is happening because for every exported pipeline, we export all corresponding commit notes. Then, on import, we re-create exported notes for the same commit. But because there can be multiple pipelines for a single commit, we end up creating duplicate notes for every pipeline we exported.
In the example above, there are 39 pipelines for this commit & we end up with 39 mentioned in issue ... notes for this commit.
Mentions #365702 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.

