Skip to content

refactor: use paths.preserve_in_zip for the galaxy-image cache (#1389 phase 2) - #507

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/preserve-in-zip
Jul 17, 2026
Merged

refactor: use paths.preserve_in_zip for the galaxy-image cache (#1389 phase 2)#507
Jammy2211 merged 1 commit into
mainfrom
feature/preserve-in-zip

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Phase 2 of PyAutoFit#1389 (autogalaxy leg): the resume fast-path galaxy-image cache now calls the public AbstractPaths.preserve_in_zip (PyAutoFit#1390, merged) and the private _append_to_search_zip helper is deleted. Behaviour identical — validated end-to-end via the autolens_profiling pipeline_resume recipe (cold 159s → resume ~11–13s).

API Changes

None public. Private _append_to_search_zip removed from autogalaxy/analysis/adapt_images/adapt_images.py (its one external consumer, PyAutoLens, switches in the companion PR).

Test Plan

  • test_adapt_images.py file green (stub gains the no-op method)
  • Full test_autogalaxy/ suite green

Companion: PyAutoLens PR (same branch name). Part of PyAutoFit#1389.

🤖 Generated with Claude Code

Switches the resume fast-path cache write to the public
AbstractPaths.preserve_in_zip (PyAutoFit#1390) and deletes the private
_append_to_search_zip helper it replaced (phase 2 of PyAutoFit#1389).
Behaviour identical; the test stub gains the no-op method.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 17, 2026
@Jammy2211
Jammy2211 merged commit bd4074d into main Jul 17, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/preserve-in-zip branch July 17, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant