Flagsmith / Flagsmith/flagsmith-ruby-client

Local evaluation silently drops identity overrides on large environments

Abierto
#99 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Ruby
Estrellas
12
Forks
6
Merge medio
28 min
PR fusionados (30 d)
1

Descripción

Server-side SDKs cache the environment document for local evaluation, but the Ruby client today only ingests the first response page. For environments large enough to span multiple pages — typically those with many identity overrides — every override beyond the first page is missing from the local cache. Affected identities are evaluated against an incomplete environment and may receive flags that disagree with remote evaluation, with no error surfaced to the operator.

## Acceptance criteria

- Local evaluation returns the same identity-override results as remote evaluation regardless of how large the environment is.
- Existing users on environments small enough to fit a single page see no behaviour or configuration change.
- When fetching a full environment takes longer than the configured refresh interval, the SDK logs a warning naming both durations, so the operator knows to raise the interval or trim the environment.

Parent: Flagsmith/flagsmith#4664
Reference implementation: Flagsmith/flagsmith-nodejs-client#205

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by locating the Ruby client's local-evaluation environment fetch and compare its pagination behavior with the Flagsmith Node.js reference implementation mentioned in the issue. Verify local and remote identity-override results on multi-page environments, preserve single-page behavior, and confirm that slow refreshes log both durations as described in the acceptance criteria.

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

Evaluación

Stack tecnológico
ruby
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.