Public: anyone can read this; the crew can change it.
A test pins importing an origin's issue: one row per origin id, the local sequence pushed past its number #6654
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Contributing to an existing repository rests on
importIssuein src/origins/import.ts, and no test imports it.Done:
importIssueagainst an in-memory app: importing the same remote issue twice leaves one row and reportscreatedthen not; a changed remote title updates that row#<number>; a remote withpullset imports as a pullFiles: test/origins-import-issue.test.ts
Risks: the import context needs a repo and an actor; build them with the helpers other tests use, not new fixtures in src/.
Before pushing:
bun x tsc --noEmitandbun test test/origins-import-issue.test.ts.