Static mirroring worker (417 lines) has no unit tests
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
- 72/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with src/app/static-mirroring-worker.ts and the existing test/unit/app/relay-monitor-worker.spec.ts to understand the worker's dependencies and test conventions. Add unit coverage for reconnect state and accounting, heartbeat fields, and subscription cleanup on config change or shutdown. Run the relevant unit spec; done means these behaviors have tests that pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Gap
src/app/static-mirroring-worker.ts (417 lines) — the worker that mirrors relay events to configured upstream relays — has no unit tests. No spec file in the suite references it, directly or otherwise.
This is a core data path: connection lifecycle, subscription management, event relaying, reconnection. The relay-monitor worker does have a spec (test/unit/app/relay-monitor-worker.spec.ts), so again the gap is specific, not systemic.
How measured
Import graph over the suite: 175 spec files vs 325 src/**/*.ts files — zero references to this module.
What's worth covering
- Reconnect behavior: backoff,
reconnectCountaccounting,connectionStatetransitions (connecting/open/closed) - The ops heartbeat publishing added recently —
lastError/lastEventAt/reconnectCountcorrectness (the relay-monitor's keepalive had a state-clobbering bug of exactly this shape; this worker's keepalive republishes full state, but nothing pins that) - Subscription lifecycle: what happens on config change / shutdown (the interval cleanup)
- Lenguaje dominante
- TypeScript
- Estrellas
- 829
- Forks
- 234
- Merge medio
- 18 h 18 min
- PR fusionados (30 d)
- 69
Preparar el entorno
- Incluye un Dockerfile o un 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 cameri/nostream
-
rust.sh shares one CARGO_TARGET_DIR across worktrees, so a scratch-copy build poisons the next runAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Website
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
feat(payments): subscription lifecycle, renewal invoices and plan-based write accessPosiblemente ocupada @Priyanshubhartistm la tomó hoy. Abiertoenhancement
cameri/nostream#908 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de cameri/nostream
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
getsentry/sentry-conventions#732 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
status:in-linear status:team-assigned team:nodes
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
n8n-io/n8n#41548 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
motiondivision/motion#3955 ·
Los mantenedores suelen responder en 1 día
-
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
-
自荐 / Suggestion: Prisma ComputeAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100