fix(test): complete session_id→task_id migration in test assertions
The previous PR #3481 only added a not.toContain check but left the final toContain assertion still expecting task(session_id=...). Also updates dynamic-agent-core-sections.ts and verification-reminders.ts which still had session_id format after the refactor.
This commit is contained in:
@@ -957,7 +957,8 @@ session_id: ses_untrusted_999
|
|||||||
const updatedState = readBoulderState(TEST_DIR)
|
const updatedState = readBoulderState(TEST_DIR)
|
||||||
expect(updatedState?.task_sessions?.["todo:1"]).toBeUndefined()
|
expect(updatedState?.task_sessions?.["todo:1"]).toBeUndefined()
|
||||||
expect(output.output).not.toContain('task(session_id="ses_untrusted_999"')
|
expect(output.output).not.toContain('task(session_id="ses_untrusted_999"')
|
||||||
expect(output.output).toContain('task(session_id="<session_id>"')
|
expect(output.output).not.toContain('task(task_id="ses_untrusted_999"')
|
||||||
|
expect(output.output).toContain('task(task_id="<session_id>"')
|
||||||
|
|
||||||
cleanupMessageStorage(sessionID)
|
cleanupMessageStorage(sessionID)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user