Skip to content

ci: cache Clojure/Maven dependency stores - #24

Merged
tiensonqin merged 1 commit into
mainfrom
devin/1790874525-ci-clojure-cache
Oct 1, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
devin/1790874525-ci-clojure-cache

Conversation

@tiensonqin

Copy link
Copy Markdown
Contributor

Summary

Adds an actions/cache step for the Clojure toolchain's dependency stores (~/.m2, ~/.gitlibs, ~/.clojure, ~/.lein), keyed on DATASCRIPT_UPSTREAM_COMMIT.

Today these deps are re-downloaded every time a ClojureScript build actually runs: lein with-profile test cljsbuild once release on an _ci/datascript cache miss, and clojure -M:cljs inside dune runtest when the cross-runtime fuzz runner's source key changes (upstream commit bump or script/cross_runtime/upstream_fuzz.cljs edits). On those cold paths Maven Central/Clojars downloads add several minutes; with the cache they only re-resolve deltas.

The existing caches (opam switch, _ci/datascript, dune cache via dune-cache: true) already cover the other slow paths, so no other changes are needed.

Link to Devin session: https://app.devin.ai/sessions/ae36c1d0df314d38abdca045e69e3708
Open in Devin Desktop: https://app.devin.ai/desktop/session/ae36c1d0df314d38abdca045e69e3708?variant=devin
Requested by: @tiensonqin

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@tiensonqin
tiensonqin merged commit 8eb2f93 into main Oct 1, 2026
2 checks passed
@tiensonqin
tiensonqin deleted the devin/1790874525-ci-clojure-cache branch October 1, 2026 17:48
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