mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-19 03:12:21 +02:00
test(e2e): headroom for the two plan-ceo-review budget-edge tests
Both rode their 360s runner budget at the edge (main clears at 243s of 360s), and the wave legitimately adds work to the review: the evidence directive tells the agent to probe before claiming, and the design-doc discovery block adds bash steps. Under concurrent in-file children the API queuing tipped all retry attempts past the ceiling — the runner then reports $0.00/0 turns for a timed-out child, which reads like a dead spawn but is a healthy child killed at the deadline. 540s runner / 660s test for these two only; verified 2/2 green at 228s and 315s.
This commit is contained in:
@@ -81,7 +81,10 @@ Write your complete review directly to ${planDir}/review-output.md
|
|||||||
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
|
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
|
||||||
workingDirectory: planDir,
|
workingDirectory: planDir,
|
||||||
maxTurns: 15,
|
maxTurns: 15,
|
||||||
timeout: 360_000,
|
// 540s: the evidence-before-claimed-limitations directive and the
|
||||||
|
// design-doc discovery block (fork port wave 2) add real probing turns;
|
||||||
|
// main cleared this at 243s, the enriched skill needs more headroom.
|
||||||
|
timeout: 540_000,
|
||||||
testName: 'plan-ceo-review',
|
testName: 'plan-ceo-review',
|
||||||
runId,
|
runId,
|
||||||
model: 'claude-opus-4-7',
|
model: 'claude-opus-4-7',
|
||||||
@@ -100,7 +103,7 @@ Focus on reviewing the plan content: architecture, error handling, security, and
|
|||||||
const review = fs.readFileSync(reviewPath, 'utf-8');
|
const review = fs.readFileSync(reviewPath, 'utf-8');
|
||||||
expect(review.length).toBeGreaterThan(200);
|
expect(review.length).toBeGreaterThan(200);
|
||||||
}
|
}
|
||||||
}, 420_000);
|
}, 660_000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Plan CEO Review (SELECTIVE EXPANSION) E2E ---
|
// --- Plan CEO Review (SELECTIVE EXPANSION) E2E ---
|
||||||
@@ -168,7 +171,7 @@ Write your complete review directly to ${planDir}/review-output-selective.md
|
|||||||
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
|
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
|
||||||
workingDirectory: planDir,
|
workingDirectory: planDir,
|
||||||
maxTurns: 15,
|
maxTurns: 15,
|
||||||
timeout: 360_000,
|
timeout: 540_000,
|
||||||
testName: 'plan-ceo-review-selective',
|
testName: 'plan-ceo-review-selective',
|
||||||
runId,
|
runId,
|
||||||
model: 'claude-opus-4-7',
|
model: 'claude-opus-4-7',
|
||||||
@@ -185,7 +188,7 @@ Focus on reviewing the plan content: architecture, error handling, security, and
|
|||||||
const review = fs.readFileSync(reviewPath, 'utf-8');
|
const review = fs.readFileSync(reviewPath, 'utf-8');
|
||||||
expect(review.length).toBeGreaterThan(200);
|
expect(review.length).toBeGreaterThan(200);
|
||||||
}
|
}
|
||||||
}, 420_000);
|
}, 660_000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Plan CEO Review SCOPE EXPANSION energy (V1.1 mode-posture regression gate) ---
|
// --- Plan CEO Review SCOPE EXPANSION energy (V1.1 mode-posture regression gate) ---
|
||||||
|
|||||||
Reference in New Issue
Block a user