Skip to content

Commit 78eab45

Browse files
committed
fix: restore multi-workdir migration fixtures and refresh snapshots
Restore missing local session buckets under multi-workdir. Drop the duplicate kaos non-local bucket so scans match the three-bucket fixture contract. Refresh migration session snapshots after state writer drift.
1 parent 220e240 commit 78eab45

7 files changed

Lines changed: 49 additions & 27 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"work_dirs": [
3-
{ "path": "/proj-a", "pyaos": "local", "last_session_id": null },
4-
{ "path": "/proj-b", "pyaos": "local", "last_session_id": null },
5-
{ "path": "/proj-c", "pyaos": "pyaos-foo", "last_session_id": null }
3+
{ "path": "/proj-a", "kaos": "local", "last_session_id": null },
4+
{ "path": "/proj-b", "kaos": "local", "last_session_id": null },
5+
{ "path": "/proj-c", "kaos": "kaos-foo", "last_session_id": null }
66
]
77
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{"role":"_system_prompt","content":"You are a helper."}
2+
{"role":"user","content":"hello from a1"}
3+
{"role":"assistant","content":[{"type":"text","text":"hi a1"}]}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": 1,
3+
"approval": { "yolo": false, "auto_approve_actions": [] },
4+
"additional_dirs": [],
5+
"custom_title": "a1",
6+
"title_generated": false,
7+
"wire_mtime": 1700000000.0,
8+
"archived": false,
9+
"auto_archive_exempt": false
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{"role":"_system_prompt","content":"You are a helper."}
2+
{"role":"user","content":"hello from a2"}
3+
{"role":"assistant","content":[{"type":"text","text":"hi a2"}]}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": 1,
3+
"approval": { "yolo": false, "auto_approve_actions": [] },
4+
"additional_dirs": [],
5+
"custom_title": "a2",
6+
"title_generated": false,
7+
"wire_mtime": 1800000000.0,
8+
"archived": false,
9+
"auto_archive_exempt": false
10+
}

‎packages/migration-legacy/test/fixtures/multi-workdir/.pythinker/sessions/dbf62706c1b976e79a5e7cfcc3491a1f/uuid-b1/test‎

Whitespace-only changes.

‎packages/migration-legacy/test/sessions/__snapshots__/fixtures.snapshot.test.ts.snap‎

Lines changed: 20 additions & 24 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)