[BUG]Duplicate subscriptions created when publishing to multiple environments
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Release version
v6.0.1.7
### Describe the bug
When using the APIOps publisher to deploy APIs across multiple environments (e.g., Dev → Test → Prod), subscriptions included in the Git repository result in duplicate subscriptions being created in each environment, even if the displayName and scope are the same.
### Expected behavior
Subscriptions with the same displayName and scope should be treated as the same logical entity and not duplicated in other environments.
Alternatively, subscriptions could be considered runtime-only data and excluded entirely by default, unless explicitly managed.
### Actual behavior
Publishing creates duplicate subscriptions with the same display name but separate keys and internal IDs, leading to confusion and clutter across environments.
### Reproduction Steps
1. Extract from Dev APIM instance using the extractor pipeline — this includes subscriptions/ artifacts.
2. Commit the extracted subscriptions into the APIOps Git repo.
3. Run the publisher pipeline against a different environment (e.g., Test).
4. Observe that new subscriptions with identical displayName are created in Test, instead of reusing or matching existing ones.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il flusso di extractor pipeline e publisher pipeline descritto per subscriptions/artifacts in Dev e Test. Confronta il modo in cui vengono gestite nell'ambiente di destinazione le subscriptions con lo stesso displayName e scope. Done deve essere definito come l'impedire subscriptions logiche duplicate, oppure l'escluderle per impostazione predefinita se questo è il comportamento scelto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp
- Ambito
- api, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100