chore: align the feature flag list with the notification settings it reports
Maintainers usually reply within 1 day
@Wikid82 is already working on this.
Since Dec 3, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 70/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 17
- Forks
- 2
- Avg merge
- 1h 42m
- Merged PRs (30d)
- 173
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Wikid82/Charon
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Docs promise signed SLSA provenance that the image build does not producePossibly taken @Wikid82 claimed this today. Openarchitecture documentation security ui
Wikid82/Charon#2152 · 1 assignee ·
Maintainers usually reply within 1 day
-
Orthrus agent images are not signed or SBOM-attestedPossibly taken @Wikid82 claimed this today. Opensecurity ssl testing
Wikid82/Charon#2151 · 1 assignee ·
Maintainers usually reply within 1 day
-
Registry prune deletes release image signatures and SBOM attestations on GHCR after 7 daysPossibly taken @Wikid82 claimed this today. Opencritical testing
Wikid82/Charon#2150 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Minor follow-ups from the country-allow-list local-network reviewPossibly taken @Wikid82 claimed this today. Openarchitecture backend documentation frontend low
Wikid82/Charon#2149 · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
compaction: redundant exclusion checks after inRangePossibly taken @moodbased claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docker/mcp-registry#8199 ·
Maintainers usually reply within 2 days