Skip to content

feat: use concretization cache#338

Open
wdconinc wants to merge 3 commits into
masterfrom
concretization-cache
Open

feat: use concretization cache#338
wdconinc wants to merge 3 commits into
masterfrom
concretization-cache

Conversation

@wdconinc

@wdconinc wdconinc commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

This PR enables the new concretization cache. This may speed up concretization when there are no changes. (This may not add a lot on top of our layer caching strategy.)

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Optimization (issue: concretization caching)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

Copilot AI review requested due to automatic review settings July 5, 2026 19:03
@wdconinc wdconinc enabled auto-merge (squash) July 5, 2026 19:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to speed up Spack environment concretization by enabling Spack’s concretization cache and persisting it across Docker build layers via a BuildKit cache mount.

Changes:

  • Enable Spack concretization_cache in spack-environment/concretizer.yaml.
  • Add BuildKit cache mounts intended to persist /root/.spack/cache/concretization across builds for both default and custom concretization stages.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
spack-environment/concretizer.yaml Enables Spack concretization cache in the shared concretizer configuration.
containers/eic/Dockerfile Adds BuildKit cache mount for Spack concretization cache during spack concretize steps.

Comment thread containers/eic/Dockerfile Outdated
Comment thread containers/eic/Dockerfile Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 5, 2026 19:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread spack-environment/concretizer.yaml
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

Capybara summary for PR 338

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@wdconinc wdconinc requested review from Copilot and removed request for Copilot July 6, 2026 00:51
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