chore: sunset the StaticMirroringWorker in favour of negentropy sync
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Is your feature request related to a problem? Please describe.
StaticMirroringWorker (src/app/static-mirroring-worker.ts, 417 lines) mirrors events from other relays through its own admission check, separate from the one EventMessageHandler uses. Rules added to the write path have to be repeated there: for example, with subscription plans enabled, StaticMirroringWorker.isUserAdmitted never reads the subscription, so mirrored writes skip expiry (raised on #909). It also has no unit tests (#904).
Describe the solution you'd like
Retire the worker, since NIP-77 (Negentropy) sync and other ways of syncing with relays now cover what it is used for:
- Remove
StaticMirroringWorker, its factory and its start-up wiring. - Remove or deprecate the
mirroring.static[]settings (includingskipAdmissionCheck), the settings docs and the admin console parts that depend on them, with a changeset noting the removal. - Document how to sync with another relay without it.
Additional context
- Decision from the maintainer on #909: sunset the worker rather than patch the subscription check into it.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 829
- Forks
- 234
- Ø Merge
- 15 Std. 58 Min.
- Gemergte PRs (30 T.)
- 73
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 cameri/nostream
-
Website
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
feat(payments): let clients see their subscription tierEvtl. vergeben @Priyanshubhartistm hat das vor 1 Tag übernommen. Offenenhancement
cameri/nostream#925 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
feat(payments): per-plan event rate limits and retentionEvtl. vergeben @Priyanshubhartistm hat das vor 1 Tag übernommen. Offenenhancement
cameri/nostream#921 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Three repositories have no unit tests (notification-outbox, notification-delivery-log, nip05-verification)Evtl. vergeben @Priyanshubhartistm hat das vor 2 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 72/100
cameri/nostream#905 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in cameri/nostream
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
maniator/verticopolis#1303 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
components-web-app/docs#297 ·
-
listFeatures/getFeatureExamples never return Kotlin examples for Android or server Kotlin SDKsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
appwrite/mcp-for-docs#23 · 1 Kommentar ·
-
`@vanilla-extract/turbopack-plugin`: "getImageSize is not a function" with Next.js 16.4.x when a `.css.ts` file imports an imageEvtl. vergeben @aevarOrigo hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
vanilla-extract-css/vanilla-extract#1799 · 1 Kommentar ·
-
native
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
prime-radiant-inc/evener#4839 ·
Maintainer antworten meist innerhalb von 1 Tag