Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexkit/magic-context
/ pi-historian-runner.test.ts
File
pi-historian-runner.test.ts
packages/pi-plugin/src/pi-historian-runner.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, mock } from
"bun:test"
;
2
import
{ acquireCompartmentLease } from
"@magic-context/core/features/magic-context/compartment-lease"
;
3
import
{
4
appendCompartments,
Callers
nothing calls this directly
Calls
15
buildPiCompactionSummary
Function · 0.90
createTestDb
Function · 0.90
recordOverflowDetected
Function · 0.90
appendCompartments
Function · 0.90
runPiHistorian
Function · 0.90
getOverflowState
Function · 0.90
closeQuietly
Function · 0.90
getHistorianFailureState
Function · 0.90
reserveProtectedTailDrainTokens
Function · 0.90
loadProtectedTailMeta
Function · 0.90
getCompartments
Function · 0.90
getUserMemoryCandidates
Function · 0.90
Tested by
no test coverage detected