Skip to content

Commit fb54134

Browse files
joohwcursoragent
andcommitted
fix(core): drop JSONL import test after logs migration removal
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2d842c1 commit fb54134

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

core/internal/buildinfo/buildinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "strings"
44

55
// Set at link time via -ldflags (see .goreleaser.yaml).
66
var (
7-
Version = "dev0.1.35"
7+
Version = "dev0.1.36"
88
Commit = "none"
99
Date = "unknown"
1010
)

core/internal/proxy/calllog_session_test.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -117,27 +117,6 @@ func TestSanitizeSessionFilenameRejectsTraversal(t *testing.T) {
117117
}
118118
}
119119

120-
func TestImportJSONLIntoSQLite(t *testing.T) {
121-
dir := t.TempDir()
122-
jsonlPath := filepath.Join(dir, "default.jsonl")
123-
if err := appendCallLogEntry(jsonlPath, CallLogEntry{
124-
ID: "legacy-1",
125-
StartedAt: "2026-01-01T00:00:01Z",
126-
Request: CallLogRequest{Method: "POST", URL: "/a"},
127-
}); err != nil {
128-
t.Fatal(err)
129-
}
130-
131-
store := newCallLogStoreAt(dir)
132-
entries := store.ListRecent(0)
133-
if len(entries) != 1 {
134-
t.Fatalf("expected 1 imported entry, got %d", len(entries))
135-
}
136-
if entries[0].ID != "legacy-1" {
137-
t.Fatalf("id = %q", entries[0].ID)
138-
}
139-
}
140-
141120
func TestListCallLogSessions(t *testing.T) {
142121
dir := t.TempDir()
143122
store := newCallLogStoreAt(dir)

0 commit comments

Comments
 (0)