Honor the wait-util header for 429 responses

Abierto
#291 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
api, backend

Línea de trabajo

Start by locating the existing 429 handling and the client code paths that make backend requests; the issue does not name specific files or tests. Check which paths honor server-provided wait-until headers, then run the relevant client tests and verify that retries use the supplied delay and eventually stop after repeated failures.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The ticket is coming out of some test parallelization work on the dbt-side, where running the functional tests w/ a high worker count (between 10 and 16, sorry I don't have the exact number) would see dbt build failures due to 429 errors from the backend. Ideally, the client would throttle itself and still be able to complete a dbt build.

We should ensure we're handling 429's in all cases (we have some handling in the repo today, and I haven't yet verified it's effective on all applicable code paths) and make sure the. Furthermore our backoff should be informed by any wait-until headers or other information the server provides.

Obviously at some point we'll need to give up, so I don't expect to solve all conceivable failures in a dbt build due to 429's. So this is a bit of an audit-and-improve ticket.

Lenguaje dominante
Python
Estrellas
6
Forks
1
Merge medio
21 h 16 min
PR fusionados (30 d)
29

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 confluentinc/confluent-sql

Todos los issues de confluentinc/confluent-sql

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.