chore: sunset the StaticMirroringWorker in favour of negentropy sync
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- TypeScript
- スター
- 829
- フォーク
- 234
- 平均マージ
- 15時間 58分
- マージ済み PR(30日)
- 73
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cameri/nostream のほかの issue
-
Website
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
feat(payments): let clients see their subscription tier対応中かも @Priyanshubhartistm が今日担当しました。 オープンenhancement
cameri/nostream#925 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
feat(payments): per-plan event rate limits and retention対応中かも @Priyanshubhartistm が 1 日前に担当しました。 オープンenhancement
cameri/nostream#921 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Three repositories have no unit tests (notification-outbox, notification-delivery-log, nip05-verification)対応中かも @Priyanshubhartistm が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 72/100
cameri/nostream#905 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
cameri/nostream の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phivk/rubiks-lab#33 ·
メンテナーはふだん 1 日以内に返信
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be edited対応中かも @ManyaJain111 が今日担当しました。 オープンbug enhancement possible-duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
AOSSIE-Org/PictoPy#1637 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chaitin/MonkeyCode#1437 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:cards enhancement migration ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fil-donadoni/tolaria#6309 ·
メンテナーはふだん 1 日以内に返信