Skip to content

perf(e2e): compile tests during provisioning and limit parallel links - #1226

Draft
iamrz1 wants to merge 2 commits into
mainfrom
dt-5603-e2e-precompile
Draft

iamrz1 wants to merge 2 commits into
mainfrom
dt-5603-e2e-precompile

Conversation

@iamrz1

@iamrz1 iamrz1 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

This PR moves the e2e test compile out of the job's memory peak. Tests are compiled in background while the devenv provisions, and the test run links with -p 2.

  • add COMPILE_ONLY to test.sh: builds test binaries with the same flags as a normal run, without running them
  • compile e2e tests in background from the start of the e2e runner
  • add -p 2 to e2e go test, unless TEST_FLAGS already sets -p

Tested in gearbox on large.gen2, with the same changes made from the gearbox side (119201, 119440):

job     change              test run peak   main suite
119201  precompile          13,240 MiB      172 s
119440  precompile + -p 2   12,017 MiB      133 s

Jira ID

DT-5603

Notes for your reviewers

DO NOT MERGE until gearbox e2e passes against this branch (getoutreach/gearbox#2063).

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