Bcrdt's SingleThreadContext can throw ObjectDisposedException when a test ends
メンテナーはふだん 1 日以内に返信
@msynk がすでに取り組んでいます。
2026年12月4日 から。
評価
この issue はまだ評価されていません。
説明
In All Utilities CI (https://github.com/bitfoundation/bitplatform/actions/runs/47434187171, job 145395007763, net11.0), CollaborationStackTests.An_edit_in_one_client_reaches_another failed in SingleThreadTestMethodAttribute.ExecuteAsync:
System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Collections.Concurrent.BlockingCollection`1[...]'
at System.Collections.Concurrent.BlockingCollection`1.CheckDisposed()
at System.Collections.Concurrent.BlockingCollection`1.get_Count()
at System.Collections.Concurrent.BlockingCollection`1.CompleteAdding()
at Bit.Bcrdt.Tests.SingleThreadContext.Dispose() in SingleThreadContext.cs:line 120
SingleThreadContext.Run disposes its queue in a finally as soon as its consuming loop ends. CompleteAdding marks the queue complete before it reads Count, so the context's thread can see the queue complete and empty, leave the loop and dispose it while Dispose is still inside CompleteAdding on the test's thread. The test itself passed; the helper's teardown failed it.
- 主要言語
- C#
- スター
- 1.4k
- フォーク
- 264
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 447
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bitfoundation/bitplatform のほかの issue
-
Project dependencies are outdated対応中かも @yasmoradi が今日担当しました。 オープンdependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
bitfoundation/bitplatform#15616 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
bitfoundation/bitplatform#15606 ·
メンテナーはふだん 1 日以内に返信
-
The AutoReset E2E tests of BitFileInput and BitFileUpload open the second chooser before Firefox has closed the first対応中かも @msynk が今日担当しました。 オープン
bitfoundation/bitplatform#15625 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
An E2E test's retry runs on the Firefox instance whose page crashed on its first try対応中かも @msynk が今日担当しました。 オープン
bitfoundation/bitplatform#15624 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
The BitDatePicker look E2E test presses Escape before the year grid has the focus対応中かも @msynk が今日担当しました。 オープン
bitfoundation/bitplatform#15623 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
bitfoundation/bitplatform の issue をすべて見る
似ている issue
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xml対応中かも @alexeyfala が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danipen/TextMateSharp#145 · コメント 2 件 ·
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Klyroo/klyroo-dashboard#12 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[辞書] VIVANTオープン要トリアージ 辞書
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
christian-raj/S-Aloha#504 ·