Skip to content

tests/run.py --jobs N; CI runs the query cases four at a time - #1820

Merged
swapnilpaliwal-sd merged 3 commits into
apps/integration-0.1.9from
ci/parallel-query-cases
Sep 30, 2026
Merged

swapnilpaliwal-sd merged 3 commits into
apps/integration-0.1.9from
ci/parallel-query-cases

Conversation

@swapnilpaliwal-sd

Copy link
Copy Markdown
Contributor

The query-case step made engine (typescript) a 28-minute job: 19 minutes of cases running one after another. Cases are independent, since each indexes its own directory, so they now run side by side. The first case runs alone to compile and cache the rules; the rest run N at a time. Output is printed in case order.

TypeScript locally: 175 s → 41 s with --jobs 6, with the same 204/204 checks and identical case order and outcomes. CI uses --jobs 4, one per runner core.

…s four at a time

The query-case step made engine (typescript) a 28-minute job (19 of them the cases, one after another). Each case
indexes its own directory and shares nothing but the compiled rules, so the first case runs alone (it compiles and
caches them) and the rest run N at a time; each case's output is printed as one block, in case order.
TypeScript locally: 175 s -> 41 s with --jobs 6, the same 204/204 checks and the same case order and outcomes.

Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
typescript/evidence-for-uncertain-rows indexed five languages, so the typescript leg compiled the java, csharp,
python and javascript engines it has no cache for: 964 s of the leg's 19-minute query-case step, where the median
case takes 4 s. The case is now one per language (ts 9 checks, js 1, python 1, java 2, csharp 1), each indexed in
the leg whose engine is already built; the 14 checks are unchanged.

Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit b6b8dd0 into apps/integration-0.1.9 Sep 30, 2026
12 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the ci/parallel-query-cases branch September 30, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant