Baseline and relation to #2678/#2680
Minimal reproduction
Import into a real SQL self-referencing object:
Alice
Bob.manager = Alice
Carol.manager = Alice
Compare the same protocol with and without createManyData.
Expected / actual
- Expected: prior rows in the same file are visible to later lookup resolution; both paths import 3/3 with the same semantics.
- Actual: bulk path resolves Bob/Carol before Alice is flushed, caches the first not-found, and creates only Alice (1 created / 2 reference errors). Sequential compatibility path creates 3/3.
Reproduced 2/2 in the integration harness and again through the real showcase HTTP API (root succeeds, child reference fails).
Impact
Enabling the #2680 bulk capability changes import semantics for hierarchical and same-file relational data, causing deterministic row loss/errors in previously valid import order.
Evidence and exclusions
Required regression tests
- Real-protocol same-file self-reference with bulk capability imports 3/3.
- Result order, cache behavior, batching, and no-bulk compatibility remain covered.
- Include progress-boundary cases so correctness does not depend on accidental flush cadence.
Baseline and relation to #2678/#2680
98874656ffc50ce1531af52346228ffcdda73fba.21420d9f82e): pre-PR import created each row inline; perf(seed,import): route bulk writes through the engine's batch insert path #2680 buffers creates until a progress/batch flush.import-runner.tsis unchanged after merge.Minimal reproduction
Import into a real SQL self-referencing object:
Compare the same protocol with and without
createManyData.Expected / actual
Reproduced 2/2 in the integration harness and again through the real showcase HTTP API (root succeeds, child reference fails).
Impact
Enabling the #2680 bulk capability changes import semantics for hierarchical and same-file relational data, causing deterministic row loss/errors in previously valid import order.
Evidence and exclusions
packages/rest/src/import-runner.tsreference coercion/cache occurs beforependingCreatesflush.Required regression tests