Async LRO poll timeout (450s) too low for large API imports; abandons still-running operations

クローズ
#251 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Alexey-Zheltov がすでに取り組んでいます。

2026年9月4日 から。

評価

この issue はまだ評価されていません。

説明

effort:S type:bug
Command that triggered the bug

apiops publish

Expected behavior

For large API specifications, apiops publish should wait long enough for APIM's asynchronous import (LRO) to complete. APIM continues processing the import server-side; the CLI should not give up while the operation is still succeeding.

Actual behavior

The CLI aborts polling after a hardcoded 7.5-minute deadline and reports the API as failed, even though the APIM operation is still running and eventually succeeds:

ERROR NOOP api/: Async operation polling timed out after 450s for apis/
ERROR NOOP api/: Async operation polling timed out after 450s for apis/

This reproduces with large specs (observed with files in the ~340 KB–670 KB / 10k–20k line range), whose import takes more than 7.5 minutes.

apiops CLI version

1.0.0

Environment details

Windows self-hosted agent; Node v24.15.0 / npm 11.12.1; Windows PowerShell 5.1; APIM SKU Developer.

CI/CD environment

Azure DevOps

Is this bug blocking you?

Yes

主要言語
TypeScript
スター
29
フォーク
10
平均マージ
1日 14時間
マージ済み PR(30日)
22

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/apiops-cli のほかの issue

Azure/apiops-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。