[BUG] Publisher not throwing error in GA workflows when connectivity is not available
- Vorherrschende Sprache
- C#
- Sterne
- 448
- Forks
- 247
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Release version
v6.0.1.1
### Describe the bug
When publisher run for the artifacts having named values attached to Azure Keyvault, during publisher run if AKV is not accessible or have no proper rights ADO throws an error clearly stating the same but GA doesn't fail and go ahead without any error.
### Expected behavior
GA also should fail when there is no Access to the respective resource like ADO does.
### Actual behavior
GA does not fail when connectivity is not available and logs says it has put the named values in APIM but actually it is not created. At the same time ADO works fine and give proper error.
### Reproduction Steps
1. Create an api has reference to namedvalue which holds the value from the Keyvault.
2. Deploy to another instance which does not have access to the Kwyvault.
3. Run publisher.
4. In GA you can see it will not fail for the named value but fail when it will try to setup the policy as named value object is not created and it is trying to refer the same. And when you run the same using ADO it will fail at the stage of named value creation itself.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Bereitstellung mit einer API namens value zu reproduzieren, die von einem nicht zugänglichen Azure Key Vault unterstützt wird, und vergleiche die GA- und ADO-Publisher-Pfade. Verfolge die Erstellung von named values und die Fehlerbehandlung im Publisher-Workflow. Die Aufgabe ist erledigt, wenn GA den Key Vault-Zugriffsfehler meldet und stoppt, bevor versucht wird, das abhängige Policy-Setup einzurichten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, csharp
- Bereich
- api, cloud, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100