Skip to content

Commit 977e607

Browse files
committed
🤖 ci: reduce sendMessage heavy test flake
The OpenAI auto-truncation heavy test was frequently hitting its 3-minute timeout and triggering retries, which can push the integration job over its 10-minute job timeout. Reduce the number of warmup messages while increasing their size, and bump the per-test timeout to 5 minutes to avoid retry churn.
1 parent ccb7b8b commit 977e607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ipc/sendMessage.heavy.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ describeIntegration("sendMessage heavy/load tests", () => {
4141
await withSharedWorkspace(provider, async ({ env, workspaceId, collector }) => {
4242
// Build up large conversation history to exceed context limit
4343
// This approach is model-agnostic - it keeps sending until we've built up enough history
44-
const largeMessage = "x".repeat(50_000);
45-
for (let i = 0; i < 10; i++) {
44+
const largeMessage = "x".repeat(70_000);
45+
for (let i = 0; i < 8; i++) {
4646
await sendMessageWithModel(
4747
env,
4848
workspaceId,
@@ -101,7 +101,7 @@ describeIntegration("sendMessage heavy/load tests", () => {
101101
await collector.waitForEvent("stream-end", 30000);
102102
});
103103
},
104-
180000 // 3 minute timeout for building large history and API calls
104+
300000 // 5 minute timeout for building large history and API calls
105105
);
106106
});
107107

0 commit comments

Comments
 (0)