Commit Graph
5 Commits
Author SHA1 Message Date
Yury Zialionka ae3a5de98c fix(test): harden httpapi sharding against env pinning and cold-start races
Shard children now strip KILO_HTTPAPI_EXERCISE_* so a pinned database
or global root cannot make concurrent shards collide on shared state.

The scenario retry gains a second, longer backoff (1s then 3s): sharded
children run fewer scenarios each, so early scenarios can land before
agent projections warm and one second is not always enough.
2026-08-13 18:38:33 -06:00
Yury Zialionka c014763536 perf(test): run HttpApi effect pass in two parallel shard processes
Completes #12999 (with the fixture change in the previous commit).

Adds --shard <i>/<n> (round-robin scenario subset) and --shards <n>
(spawns n child processes, each with its own PID-keyed database and
global root, tagged output, combined exit code). test:httpapi runs the
effect pass with --shards 2.

Route coverage (missing/extra) is still computed against the full
scenario list in every child, so --fail-on-missing stays correct.

Local effect-mode wall clock: 4m11s -> 2m39s (6m37s before this PR).
315/315 scenarios pass across both shards.
2026-08-13 12:10:11 -06:00
marius-kilocode 7cc6080646 refactor: kilo compat for v1.14.42 2026-06-01 12:51:31 +02:00
Imanol Maiztegui f7816a9eeb refactor: kilo compat for v1.14.41 2026-05-21 14:48:36 +02:00
Imanol Maiztegui b7a7ecf449 refactor: kilo compat for v1.14.34 2026-05-15 09:25:13 +02:00