kioku-core 0.13.0.0 → 0.14.0.0
raw patch · 7 files changed
+32/−15 lines, 7 filesdep ~keirodep ~keiro-coredep ~kioku-apiPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: keiro, keiro-core, kioku-api, kioku-core, kioku-migrations, kiroku-store, shibuya-core, shibuya-kiroku-adapter
API changes (from Hackage documentation)
Files
- CHANGELOG.md +11/−0
- kioku-core.cabal +14/−14
- src/Kioku/Distill/L2.hs +1/−0
- src/Kioku/Distill/L3.hs +1/−0
- src/Kioku/Distill/Timer.hs +1/−0
- src/Kioku/Distill/Timer/Worker.hs +3/−1
- test/Kioku/TimerWorkerSpec.hs +1/−0
CHANGELOG.md view
@@ -1,5 +1,16 @@ # Changelog +## 0.14.0.0 — 2026-11-21++### Breaking Changes++- Require mori://shinzui/keiro 0.26.0.0 and mori://shinzui/kiroku/packages/shibuya-kiroku-adapter 0.8.0.0. Apply `keiro/0033` before starting upgraded workers.++### Changed++- Link embedding processing spans to the writing trace when the event carries a valid traceparent.+- Preserve stored trace context when rescheduling timers.+ ## 0.13.0.0 — 2026-11-08 ### Changed
kioku-core.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: kioku-core-version: 0.13.0.0+version: 0.14.0.0 synopsis: Reusable agent memory runtime description: Core runtime for kioku. M1 establishes the application effect stack; later@@ -134,16 +134,16 @@ hasql-transaction >=1.0 && <1.3, hs-opentelemetry-api >=1.0 && <1.1, keiki ^>=0.9.1.0,- keiro ^>=0.24.0.0,- keiro-core ^>=0.24.0.0,- kioku-api ^>=0.13.0.0,- kiroku-store ^>=0.13.0.1,+ keiro ^>=0.26.0.0,+ keiro-core ^>=0.26.0.0,+ kioku-api ^>=0.14.0.0,+ kiroku-store ^>=0.13.0.2, lens >=5.2 && <5.4, mmzk-typeid >=0.7 && <0.8, relay-pagination ^>=0.1.1.2, relay-pagination-hasql ^>=0.1.1.2,- shibuya-core ^>=0.12.0.0,- shibuya-kiroku-adapter ^>=0.7.0.1,+ shibuya-core ^>=0.13.0.1,+ shibuya-kiroku-adapter ^>=0.8.0.0, shikumi ^>=0.5.1.0, shikumi-trace ^>=0.3.2.0, text >=2.1 && <2.2,@@ -205,15 +205,15 @@ generic-lens >=2.2 && <2.4, hasql >=1.6, hasql-transaction >=1.0,- keiro ^>=0.24.0.0,- keiro-core ^>=0.24.0.0,- kioku-api ^>=0.13.0.0,- kioku-core ^>=0.13.0.0,- kioku-migrations:test-support ^>=0.13.0.0,- kiroku-store ^>=0.13.0.1,+ keiro ^>=0.26.0.0,+ keiro-core ^>=0.26.0.0,+ kioku-api ^>=0.14.0.0,+ kioku-core ^>=0.14.0.0,+ kioku-migrations:test-support ^>=0.14.0.0,+ kiroku-store ^>=0.13.0.2, lens >=5.2, relay-pagination ^>=0.1.1.2,- shibuya-core ^>=0.12.0.0,+ shibuya-core ^>=0.13.0.1, shikumi ^>=0.5.1.0, shikumi-trace ^>=0.3.2.0, tasty >=1.5,
src/Kioku/Distill/L2.hs view
@@ -210,6 +210,7 @@ l2SceneTimerRequest memorySpaceId scope sourceId fireAt = TimerRequest { timerId = l2SceneTimerId memorySpaceId scope sourceId,+ traceContext = Nothing, processManagerName = l2SceneProcessManagerName, correlationId = partitionedCorrelationId memorySpaceId scope, fireAt,
src/Kioku/Distill/L3.hs view
@@ -129,6 +129,7 @@ scheduleTimerTx $ TimerRequest { timerId = l3PersonaTimerId memorySpaceId scope fireAt,+ traceContext = Nothing, processManagerName = l3PersonaProcessManagerName, correlationId = partitionedCorrelationId memorySpaceId scope, fireAt,
src/Kioku/Distill/Timer.hs view
@@ -137,6 +137,7 @@ l1TimerRequest timerId sid memorySpaceId kind fireAt turnCount = TimerRequest { timerId,+ traceContext = Nothing, processManagerName = l1ExtractProcessManagerName, correlationId = idText sid, fireAt,
src/Kioku/Distill/Timer/Worker.hs view
@@ -27,6 +27,7 @@ TimerRow (..), TimerWorkerOptions (..), deadLetterTimer,+ defaultTimerWorkerOptions, requeueStuckTimer, runTimerWorkerWith, scheduleTimerTx,@@ -65,7 +66,7 @@ -- stale requeue is keiro's default and unchanged. kiokuTimerWorkerOptions :: TimerWorkerOptions kiokuTimerWorkerOptions =- TimerWorkerOptions {maxAttempts = Just kiokuTimerAttemptCeiling, requeueStuckAfter = Just 300}+ defaultTimerWorkerOptions {maxAttempts = Just kiokuTimerAttemptCeiling, requeueStuckAfter = Just 300} kiokuTimerAttemptCeiling :: Int kiokuTimerAttemptCeiling = 8@@ -268,6 +269,7 @@ scheduleTimerTx TimerRequest { timerId = row.timerId,+ traceContext = row.traceContext, processManagerName = row.processManagerName, correlationId = row.correlationId, fireAt = addUTCTime delay now,
test/Kioku/TimerWorkerSpec.hs view
@@ -452,6 +452,7 @@ scheduleTimerTx TimerRequest { timerId,+ traceContext = Nothing, processManagerName, correlationId, fireAt = addUTCTime offset now,