chore: align the feature flag list with the notification settings it reports
Los mantenedores suelen responder en 1 día
@Wikid82 ya está trabajando en esto.
Desde el 3/12/2026.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
Línea de trabajo
Read backend/internal/api/handlers/feature_flags_handler.go and backend/internal/services/notification_service.go, then inspect backend/internal/services/notification_feature_flags.go and the existing handler tests. Compare the endpoint's notification flag keys and defaults with those used by dispatch. Done when the endpoint reports matching defaults, omits unread keys, and a test checks the defaults agree.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
GET /api/v1/feature-flags reports values for notification settings that differ from what notification sending uses, and lists two keys that nothing reads.
backend/internal/api/handlers/feature_flags_handler.go:36-60listsfeature.notifications.service.gotify.enabled,...webhook.enabledand...telegram.enabledwith a default offalse. When no stored setting exists,NotificationService.isDispatchEnabled(backend/internal/services/notification_service.go,getFeatureFlagValue(..., true)) treats the same keys astrueand sends. The endpoint therefore reports these provider types as off while Charon sends to them.feature.notifications.service.slack/pushover/ntfy/webpush.enabledare read byisDispatchEnabledbut not listed by the endpoint.feature.notifications.engine.notify_v1.enabledandfeature.notifications.service.discord.enabledare listed, but no code reads them (FlagNotifyEngineEnabledandFlagDiscordServiceEnabledinbackend/internal/services/notification_feature_flags.gohave no reader).
Severity
Low. No user-facing page reads these keys; scripts reading the endpoint get values that do not match sending.
Suggested approach
Derive the notification entries of defaultFlags / defaultFlagValues from one table shared with isDispatchEnabled (key + default), drop the two keys nothing reads, and add a test that the endpoint's defaults equal the dispatch defaults.
Found while planning #2132.
- Lenguaje dominante
- Go
- Estrellas
- 17
- Forks
- 2
- Merge medio
- 1 h 42 min
- PR fusionados (30 d)
- 173
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 Wikid82/Charon
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Docs promise signed SLSA provenance that the image build does not producePosiblemente ocupada @Wikid82 la tomó hoy. Abiertoarchitecture documentation security ui
Wikid82/Charon#2152 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Orthrus agent images are not signed or SBOM-attestedPosiblemente ocupada @Wikid82 la tomó hoy. Abiertosecurity ssl testing
Wikid82/Charon#2151 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Registry prune deletes release image signatures and SBOM attestations on GHCR after 7 daysPosiblemente ocupada @Wikid82 la tomó hoy. Abiertocritical testing
Wikid82/Charon#2150 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Minor follow-ups from the country-allow-list local-network reviewPosiblemente ocupada @Wikid82 la tomó hoy. Abiertoarchitecture backend documentation frontend low
Wikid82/Charon#2149 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de Wikid82/Charon
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
agent:ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
turbot/flowpipe#1162 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPosiblemente ocupada @weirong-ui la tomó hoy. Abiertokind/bug needs-priority needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kubernetes-sigs/karpenter#3728 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
compaction: redundant exclusion checks after inRangePosiblemente ocupada @moodbased la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
docker/mcp-registry#8199 ·
Los mantenedores suelen responder en 2 días