Sign-in markers: stop mirroring to the legacy shared record one release after #1969
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 20/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with DESIGN.md and the code from #1969 that writes the per-entity Studio:PotentiallyAuthenticated:<entityId> keys, then find where the mirror into the shared Studio:PotentiallyAuthenticated record happens and where the sign-out sweeps read it. Done means the mirror is gone, the old record is deleted on load after the one-time migration, the Studio:PotentiallyAuthenticatedMigrated special handling is removed, and DESIGN.md matches. Do not start until #1969 has shipped and run in production for a release; the issue says so.
索引モデルが issue の本文から書いたものです。
説明
What to do
#1969 moves remembered sign-in markers from the shared Studio:PotentiallyAuthenticated record to one key per entity (Studio:PotentiallyAuthenticated:<entityId>). Studio tabs from before #1969 read the shared record only at load and write their whole copy back. So for one release #1969 also mirrors every marker change into the old record, and its sign-out sweeps read it. That keeps old tabs, and a rollback, consistent with new ones.
One release after #1969 ships to production:
- Stop mirroring into
Studio:PotentiallyAuthenticated. - Delete the old record on load, keeping the one-time migration of anything still in it.
- Drop the old-record reads from the sign-out sweeps and the
Studio:PotentiallyAuthenticatedMigratedflag's special handling, and updateDESIGN.md.
Why it can't wait
While the mirror exists, the old record keeps the limits #1969 removed for new tabs. These are the review findings recorded against it:
- a read-modify-write race between tabs on the mirrored record;
- a rewrite per entity during a full sign-out;
- an unreadable record replacing it on write;
- the migration's one-time copy, and an old tab's write-back bringing back a signed-out marker.
Don't remove it until production has run #1969's release long enough that no tab from before it is still open.
Review-Deferral: d861d82357ec0895 severity=minor category=concurrency
Review-Deferral: 58c8df7ce1fb2420 severity=nit category=concurrency
Review-Deferral: 43cd604ec076ea0e severity=nit category=concurrency
Review-Deferral: 81c98bc4312a6a42 severity=nit category=performance
Review-Deferral: 1282fb67a2760cbc severity=nit category=data-integrity
Review-Deferral: a947843f6d1dd466 severity=nit category=correctness
Review-Deferral: defde12cf7a0afc8 severity=nit category=correctness
Raised by the cross-model review of #1969 (#1968).
🤖 Generated by Anthropic Claude Code (Claude Opus 5.5); posted via @dawsontoth.
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 4
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HarperFast/studio のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
HarperFast/studio#2111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
HarperFast/studio#2109 ·
メンテナーはふだん 1 日以内に返信
-
rum
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
HarperFast/studio#2085 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HarperFast/studio#2070 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
HarperFast/studio#2067 ·
メンテナーはふだん 1 日以内に返信
HarperFast/studio の issue をすべて見る
似ている issue
-
Type/Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
OpenNSW/nsw-srilanka#1259 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
oxc-project/tsrs#1010 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Fission-AI/OpenSpec#2260 ·
メンテナーはふだん 1 日以内に返信
-
Add: ESP 1 UKオープンcheck:passed streams:add
難易度 1/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
area:infra area:storage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
THU-MAIC/OpenMAIC#2311 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信