3 Commits
Author SHA1 Message Date
magnus 882963615d Redact secrets from startup error logs (#4)
build / build (push) Successful in 4m5s
Co-authored-by: Per Magnus Petersen <magnus@pmagnus.dk>
2026-09-18 15:10:34 +00:00
magnus 7e8b946ab4 Patch vulnerable runtime dependencies (#3)
build / build (push) Successful in 4m12s
Co-authored-by: Per Magnus Petersen <magnus@pmagnus.dk>
2026-09-18 14:28:45 +00:00
magnus d6c9385956 Add reviewed container release workflow (#2)
build / build (push) Failing after 4m7s
Co-authored-by: Per Magnus Petersen <magnus@pmagnus.dk>
2026-09-18 14:15:37 +00:00
3 changed files with 14 additions and 3 deletions
+7
View File
@@ -3,6 +3,13 @@
:deps {org.clojure/clojure {:mvn/version "1.12.3"} :deps {org.clojure/clojure {:mvn/version "1.12.3"}
;; Security overrides for transitive web/runtime dependencies.
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.21.4"}
com.fasterxml.jackson.core/jackson-databind {:mvn/version "2.21.4"}
io.undertow/undertow-core {:mvn/version "2.3.21.Final"}
org.jboss.xnio/xnio-api {:mvn/version "3.8.14.Final"}
org.jboss.xnio/xnio-nio {:mvn/version "3.8.14.Final"}
;; Routing ;; Routing
metosin/reitit {:mvn/version "0.9.2"} metosin/reitit {:mvn/version "0.9.2"}
+6 -3
View File
@@ -19,9 +19,12 @@
;; log uncaught exceptions in threads ;; log uncaught exceptions in threads
(Thread/setDefaultUncaughtExceptionHandler (Thread/setDefaultUncaughtExceptionHandler
(fn [thread ex] (fn [thread ex]
(log/error {:what :uncaught-exception ;; Integrant exceptions include component configuration in ex-data. Logging
:exception ex ;; the exception object can therefore disclose database or cookie secrets.
:where (str "Uncaught exception on" (.getName thread))}))) (log/error {:what :uncaught-exception
:exception-class (.getName (class ex))
:message (.getMessage ex)
:where (str "Uncaught exception on " (.getName thread))})))
(defonce system (atom nil)) (defonce system (atom nil))
+1
View File
@@ -3,5 +3,6 @@
[clojure.test :refer [deftest is]] [clojure.test :refer [deftest is]]
[pmagnus.elprice.core :as core])) [pmagnus.elprice.core :as core]))
(deftest system-state-is-managed-in-an-atom (deftest system-state-is-managed-in-an-atom
(is (instance? clojure.lang.Atom core/system))) (is (instance? clojure.lang.Atom core/system)))