chore: align the feature flag list with the notification settings it reports
メンテナーはふだん 1 日以内に返信
@Wikid82 がすでに取り組んでいます。
2026年12月3日 から。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 17
- フォーク
- 2
- 平均マージ
- 1時間 42分
- マージ済み PR(30日)
- 173
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Wikid82/Charon のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Docs promise signed SLSA provenance that the image build does not produce対応中かも @Wikid82 が今日担当しました。 オープンarchitecture documentation security ui
Wikid82/Charon#2152 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Orthrus agent images are not signed or SBOM-attested対応中かも @Wikid82 が今日担当しました。 オープンsecurity ssl testing
Wikid82/Charon#2151 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Registry prune deletes release image signatures and SBOM attestations on GHCR after 7 days対応中かも @Wikid82 が今日担当しました。 オープンcritical testing
Wikid82/Charon#2150 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Minor follow-ups from the country-allow-list local-network review対応中かも @Wikid82 が今日担当しました。 オープンarchitecture backend documentation frontend low
Wikid82/Charon#2149 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
agent:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
turbot/flowpipe#1162 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costs対応中かも @weirong-ui が今日担当しました。 オープンkind/bug needs-priority needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kubernetes-sigs/karpenter#3728 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
compaction: redundant exclusion checks after inRange対応中かも @moodbased が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docker/mcp-registry#8199 ·
メンテナーはふだん 2 日以内に返信