Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions integration-tests/cli/qwen-serve-routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ const CLI_BIN =
process.env['TEST_CLI_PATH'] ??
path.resolve(__dirname, '../../packages/cli/dist/index.js');
const TOKEN = 'integration-test-token';
// The ACP child's `initialize` handshake gets 10s by default, which is a
// budget for an interactive desktop, not for a shard sharing a 128-core ECS
// host with ~30 other jobs. Run 33633418567 lost `honors and reserves a
// normalized caller-supplied session ID` to three ~10s
// `AcpSessionBridge initialize timed out` attempts and a 504 on the
// sandbox:docker leg while the same commit's sandbox:none shards passed —
// the same signature #10605 diagnosed in run 33351032808. Nothing here
// asserts the handshake budget, so raise it for the spawned daemon only.
const ACP_INITIALIZE_TIMEOUT_MS = 60_000;
const REPO_ROOT = path.resolve(__dirname, '../..');

let daemon: ChildProcess;
Expand Down Expand Up @@ -148,6 +157,8 @@ beforeAll(async () => {
// / IDE-launcher environments.
'--workspace',
REPO_ROOT,
'--initialize-timeout-ms',
String(ACP_INITIALIZE_TIMEOUT_MS),
],
{
stdio: ['ignore', 'pipe', 'pipe'],
Expand Down
Loading