release: v1.32.0 — hardening and scalability (#580)

* release: prepare v1.32.0

* test: stabilize water capture re-entry
This commit is contained in:
Marc-André Bombeck authored and GitHub committed 2026-07-22 04:14:15 +02:00
1 parent b01822be48
commit 62eb431d66
372 files changed
+25178 -8561

No files matched your search

@@ -151,6 +151,16 @@ describe("withings/callback atomic nonce consumption (M3)", () => {
// Exactly one delete-attempt per leg — the atomic shape collapses
// findUnique + delete into a single round-trip.
expect(deleteMock).toHaveBeenCalledTimes(2);
const upsert = vi.mocked(prisma.withingsConnection.upsert).mock
.calls[0]![0];
expect(upsert.update).toMatchObject({
webhookSubscriptionState: Prisma.DbNull,
webhookSubscriptionRetryAt: expect.any(Date),
});
expect(upsert.create).toMatchObject({
webhookSubscriptionState: Prisma.DbNull,
webhookSubscriptionRetryAt: expect.any(Date),
});
// Exactly one leg landed on `withings=connected`, exactly one
// landed on the replay branch (`withings=error&reason=replay`).