Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/lib/store/api-store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ describe("ApiStore.sendMessage wire body", () => {
});

expect(message).toMatchObject({ id: 649560, uuid: exactUuid, channel: "git-publishing" });
// The by-uuid read-back is the AUTHORITATIVE path, so it must carry no
// degradation marker. `toMatchObject` above is a subset match and would
// silently accept a stray one, which would corrupt the exact signal the
// field exists to provide — and `sendMessage` has two authoritative returns
// (create-echo and this read-back), of which the other one was already
// covered and this one was not.
expect((message as unknown as { write_confirmation?: unknown }).write_confirmation).toBeUndefined();
});

// ── regression: rc=1 on a write that fully succeeded (todos d8f3f963) ────────
Expand Down
Loading