Server events lose session IDs when profile ID equals device ID
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with SessionBuffer.getExistingSession({ profileId }) and the worker code that resolves sessions for server-like user agents through the profile-to-device index. Confirm that the index is skipped when profile_id equals device_id, then check whether a fallback lookup by the profile ID as device ID returns the right session. Done when server events for such profiles are stored with the active session's session_id and device_id, and other profiles still resolve through the existing index.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When a server-side event is sent with a profile ID that is also used as its device ID, the /track API can find the active session and return its session ID. However, the event may be stored with an empty session_id and device_id.
The worker handles server-like user agents by resolving the session through the profile-to-device index. The session buffer does not create that index when profile_id and device_id are equal, so the worker cannot find the session—even though it exists under the device key.
Suggested change
In SessionBuffer.getExistingSession({ profileId }), if the profile index is absent, try looking up the session using the profile ID as the device ID. Return it only when the stored profile_id and device_id both match the requested profile ID.
Expected result
Server-side events for a profile whose ID equals its device ID are stored with the active session’s correct IDs. Other profiles continue to resolve through the existing profile index.
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.1k
- Forks
- 516
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un 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 Openpanel-dev/openpanel
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
Openpanel-dev/openpanel#551 ·
Los mantenedores suelen responder en 1 día
-
Self-hosted missing op1-replay.jsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Openpanel-dev/openpanel#512 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
login page needs refinementQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Openpanel-dev/openpanel#495 ·
Los mantenedores suelen responder en 1 día
-
Help reproducing the 100k/27s benchmark in #560: ingestion throughput and Redis CPU saturationAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 36/100
Openpanel-dev/openpanel#564 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Openpanel-dev/openpanel#563 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Openpanel-dev/openpanel
Issues similares
-
DQ assisgnment closing at CRAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
equinor/prisma-decision-web#919 ·
Los mantenedores suelen responder en 1 día
-
[DC] OneLogin sync imports a partial user list when an API request failsPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
bitwarden/directory-connector#1276 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
home-assistant/installer#324 ·
Los mantenedores suelen responder en 1 día
-
Mondriaan
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
knaw-huc/textannoviz#733 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día