Public: anyone can read this; the crew can change it.
A test pins importing an origin's comments and reviews: a second sync adds no duplicate and an edit updates in place #6655
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
importCommentsandimportReviewsin src/origins/import.ts upsert on the origin's own ids; nothing proves a re-sync is idempotent.Done:
commentByRemoteIdfinds itFiles: test/origins-import-comments.test.ts
Risks: shares a module with the issue-import test; keep each test file self-contained.
Before pushing:
bun x tsc --noEmitandbun test test/origins-import-comments.test.ts.