feat: wire context store scaffolding and dht test skeleton

This commit is contained in:
anthonyrawlins
2025-09-28 14:21:38 +10:00
parent d074520c30
commit ae021b47b9
7 changed files with 266 additions and 12 deletions

View File

@@ -0,0 +1,28 @@
//go:build slurp_full
package temporal
import (
"context"
"testing"
"chorus/pkg/dht"
slurpStorage "chorus/pkg/slurp/storage"
)
// TestDHTBackedTemporalSync exercises the temporal persistence manager against the mock DHT.
// The body is TBD; it establishes the scaffolding for a full integration test once the
// storage wiring and replication hooks are stabilised.
func TestDHTBackedTemporalSync(t *testing.T) {
t.Skip("TODO: implement DHT-backed temporal sync integration test")
ctx := context.Background()
mockDHT := dht.NewMockDHTInterface()
defer mockDHT.Close()
contextStore := slurpStorage.NewInMemoryContextStore()
_ = ctx
_ = mockDHT
_ = contextStore
}