chore(session): scope history reader exemptions to tests

This commit is contained in:
_Kerman
2026-09-09 12:55:32 +08:00
parent 37abcb74c5
commit 8f986c8da6
170 changed files with 72 additions and 1070 deletions
@@ -82,7 +82,6 @@ describe('advanced Python snapshot workflow ordering', () => {
const child = await entered.promise
expect(child.id).toBe(run.id)
expect(adapter.requests).toHaveLength(0)
// oxlint-disable-next-line typescript/no-deprecated -- Existing Session history read; migration deferred.
expect(child.session.snapshotEvents().some(event => event.type === 'subagent/descriptor')).toBe(false)
parent.session.append('tool-workflow/agent-start', {
runId: WorkflowRunId('run'), seq: 1, label: 'workflow-child', childId: child.id,