Skip to content

fix(build): SLOW-park multi_galaxy shapelets modeling.py (release smoke timeout) - #587

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/shapelets-smoke-slow-park
Oct 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/shapelets-smoke-slow-park

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

In the 2026.10.7.1 release smoke job (PyAutoHands run 37653172766, run_smoke_tests (3.12, PyAutoLabs/autolens_workspace)), scripts/multi_galaxy/features/advanced/shapelets/modeling.py timed out at 1805s against the 1800s mode=release cap. The other 41 listed scripts passed. This PR parks the script under the workspace's SLOW-skip convention, the same way multi_galaxy/start_here was parked (9059d6f, #564) and the same way autogalaxy_workspace#131 parked its shapelets sibling:

  • config/build/no_run.yaml: adds a .py-anchored # SLOW 2026-10-08 entry (new line 46). This covers discovery runs and Heart smoke.
  • smoke_tests.txt:47: comments the entry out and points back to the park. This is the line that stops the release --list run from attempting the script, because --list runs do not apply no_run.yaml (build_util.py:1028/1040). The neighbouring comment no longer says "three" code paths.

No library or script change. The script passes in about 15s under profile_smoke (PYAUTO_TEST_MODE=2), so the cost comes from the release-profile sampler. It needs profiling before the entry comes back.

Closes #586

Scripts Changed

  • none. Build config only: config/build/no_run.yaml, smoke_tests.txt

Plan

On #586. Tier: glance. Merge mode: auto-merge on green if the Witness passes, with a post-merge summary.

Test Plan

  • Witness: should_skip matches exactly scripts/multi_galaxy/features/advanced/shapelets/modeling.py and nothing else (not fit.py, no other modeling.py). no_run.yaml still parses. files_from_list returns 41 entries and none of them is shapelets.
  • pyauto-heart smoke autolens from the task worktree: 41/41 listed scripts and 2/2 notebooks PASS. Shapelets was not run.
  • pytest tests: 3 passed

Notes

  • Coverage trade-off: this was the suite's only shapelet / positive-negative-solver entry, so PR-level smoke loses that code path until the release cost is fixed. I followed the convention (park both files) instead of keeping a smoke-only listing.
  • Side observation, not changed here: the PyAutoHands run_python.py:34 help text says "no_run.yaml applies either way", but --list runs bypass it. mass_stellar_dark/modeling shows this: it is in no_run.yaml and still listed at smoke_tests.txt:57.

Validation checklist (--auto run, plan was not pre-approved)

  • Effective level: safe (header: safe, cap: maintenance -> safe)
  • Plan: on the issue (fix(build): SLOW-park multi_galaxy shapelets modeling.py (release smoke timeout) #586), written at start, unmodified since
  • Gate: tests 3 passed · smoke autolens 41/41 scripts + 2/2 notebooks (the other five workspaces are byte-identical to main and there is no library diff) · review CLEAN (independent Opus reviewer; Witness basis-cited) · Heart STALE ("release validation incomplete: no rehearsal for current source")
  • Revert: git revert -m 1 <merge sha>
  • Human: plan sound in hindsight?
  • Human: diff matches plan (no scope creep)?
  • Human: merge, amend, or reject, then log the outcome

🤖 Generated with Claude Code

The 2026.10.7.1 release smoke job (PyAutoHands run 37653172766,
run_smoke_tests 3.12 autolens_workspace) timed out on
scripts/multi_galaxy/features/advanced/shapelets/modeling.py at 1805s
against the 1800s mode=release cap; the other 41 listed scripts passed.

Park it the way multi_galaxy/start_here was parked (9059d6f / #564) and
the way autogalaxy_workspace#131 parked its shapelets sibling: a
.py-anchored SLOW entry in config/build/no_run.yaml, and the smoke_tests.txt
line commented out with a pointer back to the park. No library or script
change. The script passes in ~15s under profile_smoke, so the cost is the
release-profile sampler; profile before restoring.

Closes #586

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 1fe7016 into main Oct 8, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the feature/shapelets-smoke-slow-park branch October 8, 2026 08:16
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.

fix(build): SLOW-park multi_galaxy shapelets modeling.py (release smoke timeout)

1 participant