mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:30:44 +00:00
ci: shard release validation hotspots
This commit is contained in:
@@ -114,6 +114,23 @@ describe("docker build helper", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("times and parallelizes release installer E2E agent turns after gateway startup", () => {
|
||||
const runner = readFileSync(INSTALL_E2E_RUNNER_PATH, "utf8");
|
||||
const wrapper = readFileSync("scripts/test-install-sh-e2e-docker.sh", "utf8");
|
||||
|
||||
expect(runner).toContain(
|
||||
'AGENT_TURNS_PARALLEL="${OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL:-1}"',
|
||||
);
|
||||
expect(runner).toContain("time_phase");
|
||||
expect(runner).toContain("phase_mark_start");
|
||||
expect(runner).toContain("run_agent_turn_bg");
|
||||
expect(runner).toContain("wait_agent_turn_batch");
|
||||
expect(runner).toContain('run_agent_turn_bg "read proof"');
|
||||
expect(runner).toContain('run_agent_turn_bg "image write"');
|
||||
expect(runner).toContain('run_agent_turn_logged "read proof copy"');
|
||||
expect(wrapper).toContain("OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL");
|
||||
});
|
||||
|
||||
it("keeps package acceptance plugin coverage offline-capable", () => {
|
||||
const scenarios = readFileSync(DOCKER_E2E_SCENARIOS_PATH, "utf8");
|
||||
|
||||
@@ -214,7 +231,7 @@ describe("docker build helper", () => {
|
||||
|
||||
expect(runner).toContain('rm -f "$workspace/BOOTSTRAP.md"');
|
||||
expect(runner.indexOf('rm -f "$workspace/BOOTSTRAP.md"')).toBeLessThan(
|
||||
runner.indexOf('echo "==> Agent turns ($profile)"'),
|
||||
runner.indexOf('phase_mark_start "Agent turns ($profile)"'),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user