Skip to content

Use explicit paths for the preload cache and readers - #27

Closed
Raminyazdani wants to merge 2 commits into
developfrom
rz/path-config-followup
Closed

Raminyazdani wants to merge 2 commits into
developfrom
rz/path-config-followup

Conversation

@Raminyazdani

Copy link
Copy Markdown
Collaborator

Related to #17. This follows up on the review of #26.

  • Set the preload cache directory directly in conf/paths.yaml. The default is ./cache. To keep using an existing cluster cache, set preload_cache_root to that scratch directory.
  • Remove the shared PATHS object from the dataset and full-store readers. They use the paths passed in or read the configured defaults when called.

I checked that the same cache directory still reuses a cache created before the change, with identical values in the test fixture.

The full local suite passed with 271 passed and 2 skipped.

Use the configured directory directly. Document how to keep an existing scratch cache and let older saved configs still load.

Refs #17
Use the paths supplied by the caller, with defaults at the call site. Use the same paths for the indices and store in full-store reads.

Refs #17
@Raminyazdani
Raminyazdani requested review from MWesselkamp and a balanced review from Copilot November 24, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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