test(google-health): drive a backfill to completion against a Google that refuses the edge filter

Also documents the fallback and its log fields.
This commit is contained in:
Marc-André Bombeck committed 2026-10-15 12:35:49 +02:00
1 parent ebc0168f53
commit 1f9180fe6f
3 files changed
+166 -6

No files matched your search

+2 -1
View File
@@ -545,7 +545,8 @@ async function persistBackfillProgress(
edgeFilterUnsupported?: Set<string>;
},
): Promise<void> {
const unsupported = next.edgeFilterUnsupported ?? tracker.edgeFilterUnsupported;
const unsupported =
next.edgeFilterUnsupported ?? tracker.edgeFilterUnsupported;
await prisma.googleHealthConnection.update({
where: { userId: tracker.userId },
data: {