Merge remote-tracking branch 'upstream/main' into fix/collab-web-liveness-state

This commit is contained in:
robomp-bot
2026-07-30 08:06:32 +09:00
193 changed files with 11506 additions and 1109 deletions
+11
View File
@@ -262,6 +262,17 @@ describe("GuestClient frame apply", () => {
expect(notices[0]).toMatchObject({ level: "error", message: "boom" });
});
it("auto_retry_end failure surfaces an error notice", () => {
const client = liveClient();
client.applyFrameForTest({
t: "event",
event: { type: "auto_retry_end", success: false, attempt: 3, finalError: "x" },
});
const notices = client.getSnapshot().notices;
expect(notices).toHaveLength(1);
expect(notices[0]).toMatchObject({ level: "error", message: "x" });
});
it("a pre-welcome error (hello rejection, e.g. protocol mismatch) ends the session with the host's reason", () => {
const client = new GuestClient(LINK, "tester");
client.applyFrameForTest({