Skip to content
Discussion options

You must be logged in to vote

Clerk's cache won't carry this to the published build. It lives in .clerk/cache, which you gitignore, and your Pages workflow caches .cache, so the CI build always has to run parse-input! on a file that isn't there.

The simplest fix is to save the computed numbers next to the notebook when the input exists, commit that file, and read it back when the input is missing. The derived numbers aren't your puzzle input, so this is fine to publish.

(require '[clojure.edn :as edn]
         '[clojure.java.io :as io])

(def ^:private input-file "src/aoc/2025/day3/input.txt")
(def ^:private full-range-file "src/aoc/2025/day3/full-range.edn")

(def ^:private total-max-joltage-per-full-range
  (if (.ex…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alirezaalavi87
Comment options

Answer selected by alirezaalavi87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants