Azure / apiops

APIOps applies the concepts of GitOps and DevOps to API deployment. By using practices from these two methodologies, APIOps can enable everyone involved in the lifecycle of API design, development, and deployment with self-service and automated tools to ensure the quality of the specifications and APIs that they’re building.
https://azure.github.io/apiops
MIT License
328 stars 193 forks source link

[BUG] Publish failing with more than 3 apis and having huge specification #667

Open mandiga8 opened 2 months ago

mandiga8 commented 2 months ago

Release version

v6.0.1.1

Describe the bug

Publish is failing with 4 apis and having huge specifications. When we publish all 4 individually, they are publishing without any issues.

Expected behavior

Publish to be successful for any number of apis.

Actual behavior

Producing errors, randomly. Each run fails in different place Content is '{"error":{"code":"PessimisticConcurrencyConflict","message":"Operation on the API is in progress","details":null}}'.

Reproduction Steps

Publish with 4 or more apis having huge opsn api specification

github-actions[bot] commented 2 months ago
  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
KryptoBeard commented 1 month ago

I also get this when publishing multiple apis. Its never the same one that fails either.