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

Cerrado
#251 1 comentario 0 reacciones 1 asignado Ver en GitHub

@Alexey-Zheltov ya está trabajando en esto.

Desde el 4/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
29
Forks
10
Merge medio
1 d 14 h
PR fusionados (30 d)
22

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/apiops-cli

Todos los issues de Azure/apiops-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.