From c19c94828ea319bcd472e4a0376caefe75e815f5 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Tue, 14 Jul 2026 09:28:30 +0100 Subject: [PATCH] ci(workspace-validation): raise per-script timeout to 1800s for mode=release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mode=release runs REAL searches (PYAUTO_TEST_MODE=0) and finite-difference JAX gradient scripts that legitimately exceed the 300s smoke cap (build_util.py BUILD_SCRIPT_TIMEOUT default) — e.g. jax_grad/imaging_pixelization.py >400s, shapelets/modeling, group/slam chaining. These are slow-but-correct, not broken; the 300s cap was reporting them as release blockers (release-validation run 29279095224). Raise BUILD_SCRIPT_TIMEOUT to 1800s on the mode=release script step only (smoke unchanged). Stopgap while the Profiling Agent drives the JAX compile/eval-time speedups (PyAutoMind draft/feature/profiling/ profiling_agent_jax_compile_time_scope.md). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01TDCsgNCXacXqiWAPTswWCt --- .github/workflows/workspace-validation.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/workspace-validation.yml b/.github/workflows/workspace-validation.yml index b2ac83a..0554918 100644 --- a/.github/workflows/workspace-validation.yml +++ b/.github/workflows/workspace-validation.yml @@ -297,6 +297,15 @@ jobs: --report-dir test-results - name: "Run Python scripts [mode=release, wheels, release profile, no source on PYTHONPATH]" if: needs.find_scripts.outputs.mode == 'release' + env: + # mode=release runs REAL searches (PYAUTO_TEST_MODE=0) and finite-difference + # JAX gradient scripts, which legitimately exceed the 300s smoke cap + # (build_util.py BUILD_SCRIPT_TIMEOUT default). Raise it here so a slow-but- + # correct script isn't a false release blocker. This is a stopgap while the + # Profiling Agent drives the JAX compile/eval-time speedups (PyAutoMind + # draft/feature/profiling/profiling_agent_jax_compile_time_scope.md); smoke + # mode is unchanged (still 300s). + BUILD_SCRIPT_TIMEOUT: "1800" run: | # Deliberately NOT adding library source dirs to PYTHONPATH (closes # Gap A) — `import autolens` etc. resolve to the pip-installed