From 1b40b8447b350dc742bb50189e2c89ab5d9bf531 Mon Sep 17 00:00:00 2001 From: theDancingDeveloper Date: Fri, 9 Oct 2026 15:35:19 +0000 Subject: [PATCH] Give cargo test the stack size upstream uses cargo test -p codex-core aborts with "fatal runtime error: stack overflow" on the runner's default thread stack. Upstream sets RUST_MIN_STACK to 8 MiB on its test step in rust-ci.yml, and fork-ci now does the same. --- .github/workflows/fork-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/fork-ci.yml b/.github/workflows/fork-ci.yml index 4eed6177a0dc..65130ead0161 100644 --- a/.github/workflows/fork-ci.yml +++ b/.github/workflows/fork-ci.yml @@ -139,6 +139,11 @@ jobs: - name: cargo test shell: bash + # codex-core's tests overflow the default thread stack (fatal runtime + # error: stack overflow). Upstream sets the same 8 MiB floor on its + # test step in rust-ci.yml. + env: + RUST_MIN_STACK: "8388608" run: | set -euo pipefail while IFS= read -r crate; do