fix: read opencode sessions from session_v2/session_message #7

Merged
david merged 3 commits from fix/opencode-session-v2 into main 2026-11-02 01:16:51 +00:00
Showing only changes of commit 6335670ddb - Show all commits
+1 -1
View File
@@ -299,7 +299,7 @@ func TestHandleBatchRejectsHugeBody(t *testing.T) {
rows := []db.GossipObservation{{ rows := []db.GossipObservation{{
NodeID: "0123456789abcdef0123456789abcdef", HCL: 1, NodeID: "0123456789abcdef0123456789abcdef", HCL: 1,
Fingerprint: "fp:huge", SourceID: "test", Title: "t", Fingerprint: "fp:huge", SourceID: "test", Title: "t",
Summary: strings.Repeat("x", 5<<20), // 5 MiB summary Summary: strings.Repeat("x", 5<<20), // 5 MiB summary
CollectedAt: "2026-08-29T00:00:00Z", CollectedAt: "2026-08-29T00:00:00Z",
}} }}
body, _ := json.Marshal(rows) body, _ := json.Marshal(rows)