Blex's circuit pause E2E test still pauses with JS calls in flight on .NET 10, which has no circuitactivitychanged event
维护者通常 1 天内回复
@msynk 已经在做这个了。
开始于 2026年12月4日。
评估
这个 Issue 还没有评估数据。
描述
ServerModeTests.Stores_survive_the_circuit_being_paused_and_resumed (src/Utilities/Blex/Tests/Bit.Blex.Tests.E2E/WebModeTests.cs) failed again in "Blex E2E - web render modes (net10.0)" of All Utilities E2E CI run 47434198193: the test itself passed, and its console check found
uncaught: Error: Cannot send data if the connection is not in the 'Connected' State.
at Un.send (blazor.web.js) ... at qo.endInvokeJSFromDotNet ... at b.beginInvokeJSFromDotNet
It is the race of #15602: Blazor.pauseCircuit() called while <BlexProvider>'s start still has JS interop calls in flight, and blazor.web.js failing to send their answers once the pause stopped the connection.
Why #15602's fix doesn't cover it. That fix (bd855290e5, in the still open #15603, not on develop) waits for the circuit to report itself idle through blazor.web.js's circuitactivitychanged event. Only .NET 11's blazor.web.js has it: its CircuitManager.ts counts each JS.BeginInvokeJS until its EndInvokeJSFromDotNet and dispatches the event, while .NET 10's (v10.0.0) has no such count. On the net10.0 leg, the leg that failed tonight, the event never fires and the wait passes at once.
Fix. The test counts the same messages itself, on the circuit's WebSocket through Playwright: one call in flight from each JS.BeginInvokeJS the server sends until the page sends its EndInvokeJSFromDotNet (every call the server makes carries a handle and gets that answer). It pauses once nothing has been in flight for 500 ms, on both runtimes. This replaces bd855290e5: merging #15603 after this needs that file resolved to this version.
- 主要语言
- C#
- 星标
- 1.4k
- 派生
- 264
- 平均合并
- 5 小时 25 分钟
- 30 天内合并 PR
- 447
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 ·