Skip to content

Add BGC and local path profiles - #28

Open
Raminyazdani wants to merge 3 commits into
developfrom
rz/site-path-profiles
Open

Raminyazdani wants to merge 3 commits into
developfrom
rz/site-path-profiles

Conversation

@Raminyazdani

Copy link
Copy Markdown
Collaborator

Related to #17. This replaces #27 with the remaining paths work and the two follow-ups from the #26 review.

The default paths=bgc uses conf/paths.yaml. Use paths=local for local stores and a separate cache, or --paths local for the baseline script.

The last two commits set the preload cache directory directly in conf/paths.yaml and remove the shared PATHS object from the dataset and full-store readers. To reuse an existing cluster cache, set preload_cache_root to its scratch directory.

Local tests passed with 277 passed and 2 skipped. I also compared the resolved configs for five commands with develop. The settings outside paths matched, and the local profile kept its own store and cache paths.

Keep the existing site settings in conf/paths.yaml. Let each entry point select a local profile with a separate cache.

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

Refs #17

(cherry picked from commit ad8ab49)
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

(cherry picked from commit 5664168)
@Raminyazdani
Raminyazdani requested review from MWesselkamp and a balanced review from Copilot November 24, 2026 12:11

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