fix: Gotify and Web Push providers are switched off at the next restart
Maintainer antworten meist innerhalb von 1 Tag
@Wikid82 arbeitet bereits daran.
Seit 01.12.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
What
EnsureNotifyOnlyProviderMigration runs once per start and touches every provider whose migration_state is not migrated or deprecated. Providers created while Charon is running have an empty migration_state, so on the next start every non-Discord one (Gotify, Web Push, Telegram and so on) is set to enabled=false and migration_state=deprecated. Web Push provisioning creates its row with Enabled=true and an empty state, so after a restart its subscribe path reports it as disabled.
Where
backend/internal/api/routes/routes.go(call near line 438-491)backend/internal/services/notification_service.go(EnsureNotifyOnlyProviderMigration, around lines 745-790)
Evidence
Seen in every restart during container checks on a branch that adds Gotify and Web Push providers through the API. The function body is identical on development. Found by reading the code and by observation; not yet reproduced by a dedicated test.
Severity
Medium (user-visible: providers stop sending after a restart).
Suggested approach
Set migration_state when a provider is created at runtime (or limit the migration to rows that predate the migration), and add a test that creates a Gotify and a Web Push provider, runs the start-up migration, and expects both to stay enabled.
- Vorherrschende Sprache
- Go
- Sterne
- 17
- Forks
- 2
- Ø Merge
- 1 Std. 42 Min.
- Gemergte PRs (30 T.)
- 173
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Wikid82/Charon
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Docs promise signed SLSA provenance that the image build does not produceEvtl. vergeben @Wikid82 hat das heute übernommen. Offenarchitecture documentation security ui
Wikid82/Charon#2152 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Orthrus agent images are not signed or SBOM-attestedEvtl. vergeben @Wikid82 hat das heute übernommen. Offensecurity ssl testing
Wikid82/Charon#2151 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Registry prune deletes release image signatures and SBOM attestations on GHCR after 7 daysEvtl. vergeben @Wikid82 hat das heute übernommen. Offencritical testing
Wikid82/Charon#2150 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Minor follow-ups from the country-allow-list local-network reviewEvtl. vergeben @Wikid82 hat das heute übernommen. Offenarchitecture backend documentation frontend low
Wikid82/Charon#2149 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
agent:ready
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
turbot/flowpipe#1162 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsEvtl. vergeben @weirong-ui hat das heute übernommen. Offenkind/bug needs-priority needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
kubernetes-sigs/karpenter#3728 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
compaction: redundant exclusion checks after inRangeEvtl. vergeben @moodbased hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
docker/mcp-registry#8199 ·
Maintainer antworten meist innerhalb von 2 Tagen