Repeated comment update causing rate limit
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions, typescript
- Área
- ci-cd
Línea de trabajo
Empieza rastreando dónde la action actualiza el comentario de GitHub y reproduce las entradas de registro repetidas "Updated the comment". Se considera terminado cuando el comentario se actualiza solo al final de la action, evitando las solicitudes repetidas que activan el límite de tasa secundario de GitHub.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The action is updating the github comment multiple times causing Github to rate limit.
This is from my logs:
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
...
and so on about +100 or maybe 200 times
After a few repeated runs, I get this error:
data: {
documentation_url: 'https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits',
message: 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID ...'
}
Can we update the comment only at the end of the action so that we don't hit GH rate limit?
- Lenguaje dominante
- TypeScript
- Estrellas
- 20
- Forks
- 10
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de braintrustdata/eval-action
-
Ruby Runtime?Posiblemente ocupada @dpguthrie la tomó hace 52 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de braintrustdata/eval-action
Issues similares
-
ArcGIS Maps SDK for JavaScript c-carousel calcite-design-tokens enhancement impact - p3 - not time sensitive needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Esri/calcite-design-system#15565 ·
Los mantenedores suelen responder en 1 día
-
customer-reported question
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Azure/azure-rest-api-specs#48017 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
microsoft/TypeScript#65370 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
ts-graphviz/ts-graphviz#1904 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día