Skip to content

refactor: use paths.preserve_in_zip for the positions cache (#1389 phase 2)#620

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

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

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

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

API Changes

None.

Test Plan

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

Upstream PR

Merge the companion PyAutoGalaxy PR first (it deletes the helper this leg stops importing — merging this one first is also safe, but keep the pair ordered with #1389's checklist).

🤖 Generated with Claude Code

Switches the resume fast-path cache write to the public
AbstractPaths.preserve_in_zip (PyAutoFit#1390) and drops the private
cross-import from autogalaxy (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 296c759 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