From d419dd4c10874fe70ad523dc4713c7b0cb4d8614 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 19 Aug 2025 10:00:15 +0100 Subject: [PATCH 1/2] fix: do not try to sync advocu items with no tags --- modules/sync/runtime/server/providers/gde-advocu.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sync/runtime/server/providers/gde-advocu.ts b/modules/sync/runtime/server/providers/gde-advocu.ts index 2236e02f..e0e8731d 100644 --- a/modules/sync/runtime/server/providers/gde-advocu.ts +++ b/modules/sync/runtime/server/providers/gde-advocu.ts @@ -46,6 +46,7 @@ export class GdeAdvocuProvider implements SyncProvider { const safeTags = validateTags(item.tags) if (item.tags && safeTags.length === 0) { console.warn(`No valid Advocu tags for item: ${item.title} (${item.canonical_url}). Provided: ${JSON.stringify(item.tags)}`) + continue } try { -- 2.51.2 From b858f13310c38048d903067883ec49f9d550d2b4 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 19 Aug 2025 10:01:04 +0100 Subject: [PATCH 2/2] chore: update bundle size --- test/unit/bundle.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/bundle.spec.ts b/test/unit/bundle.spec.ts index b064e5d9..30639bf6 100644 --- a/test/unit/bundle.spec.ts +++ b/test/unit/bundle.spec.ts @@ -79,7 +79,7 @@ describe('project sizes', () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) expect .soft(roundToKilobytes(stats.server.totalBytes)) - .toMatchInlineSnapshot(`"907k"`) + .toMatchInlineSnapshot(`"898k"`) const modules = await analyzeSizes('node_modules/**/*', serverDir) expect -- 2.51.2