Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Static mirroring worker (417 lines) has no unit tests

オープン
#904 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend, testing

調査の方向性

Start with src/app/static-mirroring-worker.ts and the existing test/unit/app/relay-monitor-worker.spec.ts to understand the worker's dependencies and test conventions. Add unit coverage for reconnect state and accounting, heartbeat fields, and subscription cleanup on config change or shutdown. Run the relevant unit spec; done means these behaviors have tests that pass.

索引モデルが issue の本文から書いたものです。

説明

Gap

src/app/static-mirroring-worker.ts (417 lines) — the worker that mirrors relay events to configured upstream relays — has no unit tests. No spec file in the suite references it, directly or otherwise.

This is a core data path: connection lifecycle, subscription management, event relaying, reconnection. The relay-monitor worker does have a spec (test/unit/app/relay-monitor-worker.spec.ts), so again the gap is specific, not systemic.

How measured

Import graph over the suite: 175 spec files vs 325 src/**/*.ts files — zero references to this module.

What's worth covering

  • Reconnect behavior: backoff, reconnectCount accounting, connectionState transitions (connecting/open/closed)
  • The ops heartbeat publishing added recently — lastError/lastEventAt/reconnectCount correctness (the relay-monitor's keepalive had a state-clobbering bug of exactly this shape; this worker's keepalive republishes full state, but nothing pins that)
  • Subscription lifecycle: what happens on config change / shutdown (the interval cleanup)
主要言語
TypeScript
スター
829
フォーク
234
平均マージ
15時間 58分
マージ済み PR(30日)
73

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cameri/nostream のほかの issue

cameri/nostream の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。