fix(feishu): stabilize post-merge card workflows

This commit is contained in:
xmanrui 2026-08-24 17:56:06 +08:00
parent 9d1dc71794
commit bd9c58cf9e
19 changed files with 3372 additions and 456 deletions

View file

@ -151,14 +151,14 @@ test('HarnessClient lists sessions by workspace accounting and forwards request
sessionId: 'session-one',
blank: false,
cwd: '/tmp/target',
projections: { values: { title: null } },
projections: { asOfSeq: -1, values: { title: null } },
},
{
sessionId: 'session-two',
blank: true,
origin: 'subagent',
cwd: '/tmp/different',
projections: { values: { title: 'Second session' } },
projections: { asOfSeq: 0, values: { title: 'Second session' } },
},
{
sessionId: 'cwd-only',
@ -180,6 +180,7 @@ test('HarnessClient lists sessions by workspace accounting and forwards request
blank: true,
origin: 'subagent',
summaryAvailable: true,
lastSeq: 0,
},
{
sessionId: 'session-missing',
@ -196,6 +197,7 @@ test('HarnessClient lists sessions by workspace accounting and forwards request
blank: false,
origin: null,
summaryAvailable: true,
lastSeq: -1,
},
],
});