Skip to content

Disable setup-ocaml's redundant internal cache - #8601

Merged
cknitt merged 1 commit into
rescript-lang:masterfrom
cknitt:codex/disable-setup-ocaml-cache
Aug 30, 2026
Merged

Disable setup-ocaml's redundant internal cache#8601
cknitt merged 1 commit into
rescript-lang:masterfrom
cknitt:codex/disable-setup-ocaml-cache

Conversation

@cknitt

@cknitt cknitt commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrade ocaml/setup-ocaml from 3.7.2 to 3.8.0
  • Disable its action-managed OPAM cache
  • Update our cache keys to include the new setup-ocaml version

Why

We already cache the complete OPAM environment, including project dependencies. setup-ocaml's internal cache covers overlapping paths and creates an additional, less-complete cache before dependencies are installed.

Disabling it avoids redundant cache uploads and reduces pressure on GitHub Actions' cache storage limit. Our existing cache continues to provide warm OPAM environments.

Signed-off-by: Christoph Knittel <ck@cca.io>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-30T09:21:59.745771Z f5de8d5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cknitt
cknitt requested a review from fhammerschmidt August 30, 2026 09:37
@pkg-pr-new

pkg-pr-new Bot commented Aug 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8601

@rescript/belt

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/belt@8601

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8601

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8601

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8601

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8601

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8601

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8601

commit: f5de8d5

@cknitt
cknitt merged commit 84bed4d into rescript-lang:master Aug 30, 2026
29 checks passed
@cknitt
cknitt deleted the codex/disable-setup-ocaml-cache branch August 30, 2026 10:21
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