Skip to content

Commit 76fbc0e

Browse files
ChuxelCopilot
andcommitted
test: record complete contract cleanup timings
Provide synthetic-only completion counts and cumulative awaited-cleanup timing for each split contract so remote CI can verify the decomposition without inferring a detach-latency fix. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 4ae385d commit 76fbc0e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎nodejs/test/e2e/assisted_autopilot_permission.e2e.test.ts‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,19 @@ describe("Assisted permission handling in Autopilot", async () => {
11301130
HUMAN_REVIEW_OUTPUT,
11311131
]);
11321132
}
1133+
console.info(
1134+
"Assisted contract completed:",
1135+
JSON.stringify({
1136+
contract,
1137+
elapsedMs: Date.now() - started,
1138+
cleanupMs: completedPhases
1139+
.filter(({ phase }) => /cleanup|disconnect-before-resume/.test(phase))
1140+
.reduce((total, { elapsedMs }) => total + elapsedMs, 0),
1141+
agentCalls,
1142+
judgeCalls: judgeOutputs.length,
1143+
providerFailures: providerFailures.length,
1144+
})
1145+
);
11331146
}
11341147
);
11351148
});

0 commit comments

Comments
 (0)