Skip to content

fix(build): give multi_galaxy/start_here its release-profile override - #563

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/mass-fields-release-98gqoo
Sep 18, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/mass-fields-release-98gqoo

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

What this unblocks

The nightly release has been gated since 2026-09-15. Last night's driver (PyAutoBrain run 35318011061) got all the way to Stage 3 and stopped on exactly one failure:

Stage 3 (release-fidelity integration) failed — run 35319361459
1 timeout: autolens multi_galaxy/start_here.py

Behind that gate sit PyAutoGalaxy#621 and PyAutoLens#742 — phases 1 and 2 of the MassField epic, both merged 2026-09-17 and both pending-release — plus the workspace sweeps whose merge is gated on their release (autolens_workspace#560/#562, autolens_workspace_test#322).

Root cause

scripts/multi_galaxy/start_here.py joined the real-FITS start_here family on 2026-09-17 in #554 (issue #549), when it was swapped off the simulated simple look-alike onto the archival ACS/WFC F814W frame of SDSS J1011+0143. config/build/profile_release.yaml was never updated with it, so it is the only real-data start_here still running on the profile defaults:

pattern present before this PR
imaging/start_here ✅ PYAUTO_SMALL_DATASETS: "0" + BUILD_SCRIPT_TIMEOUT: "3600"
interferometer/start_here ✅ PYAUTO_SMALL_DATASETS: "0"
group/start_here ✅ PYAUTO_SMALL_DATASETS: "0"
multi_dataset/start_here ✅ PYAUTO_SMALL_DATASETS: "0"
multi_galaxy/start_here ❌ — real-data since 2026-09-17

The 2026-09-18 Release Integrate run is the first one that saw the change, and it is the run that killed the script.

The change

One override entry, mirroring imaging/start_here (added under #547 for the same class of problem):

- pattern: "multi_galaxy/start_here"
  set:
    PYAUTO_SMALL_DATASETS: "0"
    BUILD_SCRIPT_TIMEOUT: "3600"

Lifting the small-datasets cap is what every real-FITS start_here needs — a 15×15 grid does not fit a real frame. The per-script BUILD_SCRIPT_TIMEOUT gives a real multi-galaxy field (several lens galaxies, a real PSF, a reduced-but-real sampler) room beyond the run-wide 1800s cap. The run-wide cap itself is deliberately untouched: it is still the only guard on every other entry in the profile.

Deliberately not claimed

This is an unblock, not a verdict on the script's cost. Its release-profile runtime has not been measured from a clean output tree, so the choice between "optimise under the cap" and "park it" (the fork in PyAutoMind/draft/bug/health_fixes/release_timeout_policy.md item 3) is not being made here. Profile it and retire the BUILD_SCRIPT_TIMEOUT once it fits under 1800s.

Verification

  • autohands/validate_env_profiles.py /home/user/autolens_workspace → 0 error(s), 0 warning(s). The validator fails dead patterns, so this confirms the pattern matches real scripts.
  • Resolver round-trip via env_config.build_env_for_script + build_util.timeout_for against profile_release.yaml:
    • scripts/multi_galaxy/start_here.py → timeout_for=3600 (byte-identical resolution to scripts/imaging/start_here.py)
    • scripts/multi_galaxy/slam.py → timeout_for=300, unchanged — the pattern does not over-match its siblings.

Config-only; no script, notebook or library change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CrEmrscsjuajEGmqKWVz88


Generated by Claude Code

multi_galaxy/start_here.py joined the real-FITS start_here family on
2026-09-17 (#554, #549) when it was swapped off the simulated `simple`
look-alike onto the archival ACS/WFC F814W frame of SDSS J1011+0143.
profile_release.yaml was never updated with it, so it alone among the
real-data start_here scripts kept the profile defaults.

The first Release Integrate run that saw the change killed it:
2026-09-18, PyAutoHeart run 35319361459, "1 timeout: autolens
multi_galaxy/start_here.py". That is the only failure in the leg, and it
is what blocked the night's release (PyAutoBrain nightly run
35318011061) — with PyAutoGalaxy#621 and PyAutoLens#742 (the MassField
phases 1 and 2) waiting on it, along with the workspace sweeps gated on
their release.

The entry mirrors imaging/start_here, whose situation is identical: lift
PYAUTO_SMALL_DATASETS, since a 15x15 grid does not fit a real frame, and
give the script its own BUILD_SCRIPT_TIMEOUT so a real multi-galaxy field
— several lens galaxies, a real PSF, a reduced-but-real sampler — has room
beyond the run-wide 1800s cap. The run-wide cap is deliberately untouched;
it is still the only guard on every other entry in the profile.

This is an unblock, not a verdict on the script's cost: its release-profile
runtime has not been measured from a clean output tree. Profile it and
retire the BUILD_SCRIPT_TIMEOUT once it fits under 1800s.

Verified: autohands/validate_env_profiles.py reports 0 errors, 0 warnings
(it fails dead patterns, so the pattern matches), and the resolver gives
scripts/multi_galaxy/start_here.py timeout_for=3600, byte-identical to
scripts/imaging/start_here.py.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CrEmrscsjuajEGmqKWVz88
@Jammy2211
Jammy2211 merged commit deba7db into main Sep 18, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the claude/mass-fields-release-98gqoo branch September 18, 2026 16:53
Jammy2211 pushed a commit that referenced this pull request Sep 18, 2026
…t-here

fix(build): SLOW-park multi_galaxy/start_here, revert its #563 override
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.

2 participants