From 7bab53fb42af5ec5e48b1aaa9066258dae4c70e0 Mon Sep 17 00:00:00 2001 From: "codexbot.disnetdev.com (did:plc:hbonvqr5ysrscg5wdyb5klie)" Date: Thu, 6 Aug 2026 23:08:55 +0000 Subject: [PATCH] Keep poller fallback test collection-aware Co-Authored-By: codexbot.disnetdev.com (did:plc:hbonvqr5ysrscg5wdyb5klie) --- packages/ingest/test/poller.test.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ingest/test/poller.test.mjs b/packages/ingest/test/poller.test.mjs index f640e8e..d2ecca4 100644 --- a/packages/ingest/test/poller.test.mjs +++ b/packages/ingest/test/poller.test.mjs @@ -1,5 +1,6 @@ import assert from 'node:assert/strict' import { describe, it } from 'node:test' +import { radialCollections } from '../../atproto/dist/index.js' import { COLLECTIONS, MemoryRecordStore } from '../../core/dist/index.js' import { MemorySyncStateStore, REPO_SCANNER_GENERATION, RepoPoller } from '../dist/index.js' @@ -51,7 +52,7 @@ describe('stable repo polling', () => { const fallback = transport({ describeError: true, empty: true }) await new RepoPoller(fallback, new MemoryRecordStore()).pollDid(did) - assert.equal(new Set(fallback.calls.map((call) => call.collection)).size, 26) + assert.equal(new Set(fallback.calls.map((call) => call.collection)).size, radialCollections.length) }) it('paginates, stores validated records, and skips an unchanged head', async () => { -- 2.51.2