test(agent-core-v2): drop the await on the synchronous plan exit

IAgentPlanService.exit is void; the await tripped the type-aware
await-thenable lint error.
This commit is contained in:
haozhe.yang 2026-07-29 11:01:07 +08:00
parent c0295dddc1
commit 9df1e93087

View file

@ -365,7 +365,7 @@ async function planRoundTrip(handle: ISessionScopeHandle): Promise<void> {
const hostFs = mainAgent(handle).accessor.get(IHostFileSystem);
await hostFs.writeText(status!.path!, PLAN_CONTENT);
await plan.recordRevision();
await plan.exit();
plan.exit();
}
async function persistMedia(handle: ISessionScopeHandle): Promise<void> {