Skip to content

feat: use concretization cache - #338

Merged
wdconinc merged 3 commits into
masterfrom
concretization-cache
Jul 31, 2026
Merged

feat: use concretization cache#338
wdconinc merged 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
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

@wdconinc
wdconinc requested review from Copilot and removed request for Copilot July 6, 2026 00:51
wdconinc and others added 3 commits July 28, 2026 22:35
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 03:35
@wdconinc
wdconinc force-pushed the concretization-cache branch from aeb2dfc to c7697ff Compare July 29, 2026 03:35
@wdconinc
wdconinc requested a review from a team July 29, 2026 03:35
@wdconinc

Copy link
Copy Markdown
Contributor Author

This is essentially the spack v1.2.2 default and only makes sure we persist the concretization caching location.

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 no new comments.

@wdconinc
wdconinc merged commit 93e98c9 into master Jul 31, 2026
143 of 145 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants