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

Thread architecture still depends on replyToEventId/rootEventId

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
dart
領域
databases

調査の方向性

Start by reading NoteRelationModel and tracing the thread-loading, reply-discovery, parent/root resolution, and reply-visibility paths that currently use replyToEventId or rootEventId. The issue does not identify files or tests, so first locate those entry points and inspect the regressions found during testing. Done would require a defined migration that preserves those behaviors, but the scope and acceptance criteria are not specified.

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

説明

Summary

While investigating a migration toward using NoteRelationModel as the single source of truth for thread relationships, I found that the current thread architecture still depends on replyToEventId and rootEventId in several places.

Findings

  • NoteRelationModel currently stores untyped relation edges.
  • Root edges are excluded.
  • The relation graph does not contain enough information to fully reconstruct thread structure.
  • Removing or bypassing replyToEventId/rootEventId causes regressions in:
    • Thread loading
    • Reply discovery
    • Parent/root note resolution
    • Reply visibility

Notes

During testing, relying only on NoteRelationModel caused thread-related regressions, suggesting that a complete migration would likely require broader changes to the relation layer.

This does not affect the fix in PR #102, but was discovered while investigating the underlying architecture.

主要言語
Dart
スター
2
フォーク
2
平均マージ
19時間 21分
マージ済み PR(30日)
37

環境構築

はじめの一歩

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

basictech01/uniun のほかの issue

basictech01/uniun の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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