Prepare lossless all-space review bundles and reconcile contents references
Some checks failed
Use-case regression gate / usecase-regressions (push) Failing after 2m59s
Some checks failed
Use-case regression gate / usecase-regressions (push) Failing after 2m59s
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a17f16-d99c-7ea3-95f0-8212897fba6b
This commit is contained in:
parent
1520e4bb5c
commit
ed2c8e2f4d
9 changed files with 649 additions and 5 deletions
|
|
@ -76,6 +76,15 @@ test('shared response ingestion normalizes prefixed references and preserves alr
|
|||
assert.equal(articles[id].content_text,'Synthetic only');
|
||||
});
|
||||
|
||||
test('reference continuation also retains uncaptured contents relations', () => {
|
||||
const id='1700000000000x1', related='1700000000000x2';
|
||||
const articles={[id]:{content_text:'Synthetic', 'Created Date':1,
|
||||
contents_list_custom_article:[`12__LOOKUP__${related}`]}};
|
||||
assert.deepEqual(pendingCaptureReferences({},articles),[related]);
|
||||
articles[related]={content_text:'Related', 'Created Date':2};
|
||||
assert.deepEqual(pendingCaptureReferences({},articles),[]);
|
||||
});
|
||||
|
||||
test('unfinished source responses cannot stall the capture drain or leak diagnostics', async () => {
|
||||
assert.deepEqual(await boundedCaptureBody({text:()=>Promise.resolve('synthetic')}),
|
||||
{status:'read',text:'synthetic'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue