Skip to content

feat: enable PR-scoped build caching in CI#36

Merged
mmcky merged 3 commits intomainfrom
feat/enable-pr-cache
Feb 6, 2026
Merged

feat: enable PR-scoped build caching in CI#36
mmcky merged 3 commits intomainfrom
feat/enable-pr-cache

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Feb 6, 2026

Enable PR-scoped build caching so subsequent pushes to the same PR are faster.

Change

Add save-cache: 'true' to the restore-jupyter-cache step in CI.

How it works

  1. First PR run: Restores weekly cache from main → full build → saves result as PR-scoped cache
  2. Second+ PR runs: Restores the PR's own cache → only re-executes changed notebooks → saves updated cache

Cache is automatically scoped to this PR branch by GitHub Actions — no risk of affecting other PRs or main.

Test plan

  • This PR's first CI run should complete normally and save a cache
  • Push a trivial commit to this PR — second run should restore the PR cache and be significantly faster

Add save-cache: true to restore-jupyter-cache step so subsequent
pushes to the same PR restore the prior build and only re-execute
changed notebooks.
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

📖 Netlify Preview Ready!

Preview URL: https://pr-36--jade-tarsier-d98a19.netlify.app

Commit: 991e1a2


Build Info

@mmcky mmcky merged commit 467eefd into main Feb 6, 2026
1 check passed
@mmcky mmcky deleted the feat/enable-pr-cache branch February 6, 2026 02:10
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.

1 participant