Shorter rate limit in the same header replaces a longer one
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Lee lib/sentry/transport/http_transport.rb alrededor de parse_rate_limit_header (las líneas enlazadas 158–165) y consulta la especificación de limitación de tasa citada en el issue. Reproduce el comportamiento con 3600:error:organization, 0:error:project; se considera terminado cuando se conserva el límite más largo para la categoría compartida y una prueba de regresión cubre el caso.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
handle_rate_limited_response keeps the longer limit across responses. Within one X-Sentry-Rate-Limits header, parse_rate_limit_header keeps the last group for each category (http_transport.rb#L158-L165). With 3600:error:organization, 0:error:project, errors are not limited, and the SDK starts sending them before the longer quota expires.
- The spec says: "Always keep the maximum rate limit if multiple rate limits reference the same category."
@itsrayeedscodespace reported this bug in the Rust SDK in getsentry/sentry-rust#1409. A check of the other SDKs found the same behavior here.
via @szokeasaurusrex.
--
- Lenguaje dominante
- Ruby
- Estrellas
- 990
- Forks
- 552
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 29
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
- Tiene una plantilla de pull request
- Leer la 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 getsentry/sentry-ruby
-
Events dropped client-side for size are only logged at debug level and not recorded as lostPosiblemente ocupada @sentry-junior la tomó hoy. AbiertoBug Junior: repro Ruby
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-ruby#3209 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
with_child_span drops spans when blocks exit via break, return, or throwPosiblemente ocupada @itsrayeedscodespace la tomó hace 1 día. AbiertoBug Ruby Traces Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 38/100
getsentry/sentry-ruby#3206 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Let apps choose how the client IP on events is determinedPosiblemente ocupada @sl0thentr0py la tomó hace 11 días. AbiertoImprovement Ruby
getsentry/sentry-ruby#3180 · 2 comentarios · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Remove `sentry-ruby-core` gemAbiertobreaking change Next Major
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
getsentry/sentry-ruby#3176 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
With `register_error_subscriber`, view errors are reported twice: the wrapper by the middleware, and its cause by the error subscriberPosiblemente ocupada @sl0thentr0py la tomó hace 13 días. AbiertoBug Ruby
Dificultad 4/5 1-2 días Aptitud para principiantes 57/100
getsentry/sentry-ruby#3166 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de getsentry/sentry-ruby
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
internetee/registry#2984 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ecosyste-ms/issues#862 ·
Los mantenedores suelen responder en 1 día
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredPosiblemente ocupada @mimosa la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
riscv/riscv-unified-db#2829 ·
Los mantenedores suelen responder en 1 día
-
⛓️ Security Difficulty: Easy Good First Issue Help Wanted ruby Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
rubyforgood/casa#7404 ·
Los mantenedores suelen responder en 1 día