refactor(process): remove request count ceilings

This commit is contained in:
morluto
2026-09-29 13:02:38 +08:00
parent c523c38027
commit f2dc749c86
6 changed files with 157 additions and 35 deletions
@@ -0,0 +1,30 @@
import { expect, it } from "vitest";
import { controlledReplayInputSchema } from "../../../../src/domain/javascriptReplay.js";
it("accepts replay case argument arrays beyond the former item ceiling", () => {
const parsed = controlledReplayInputSchema.safeParse({
mode: "plan",
left: {
modules: [
{
alias: "parser",
path: "/tmp/parser.mjs",
format: "esm",
role: "module",
dependencies: {},
},
],
entry_alias: "parser",
entry_export: "default",
},
cases: [
{
case_id: "many-arguments",
arguments: Array.from({ length: 17 }, (_, index) => index),
},
],
});
expect(parsed.success).toBe(true);
});