Skip to content

Commit 2c555de

Browse files
test(snapshots): update snapshots for SQLite-only and Claude config relocation
Regenerate all snapshot test files to reflect the SQLite-only database contract and the relocation of Claude extended configuration into the Claude executor section. Changes: - Remove PostgreSQL service from all generated YAML snapshots - Add hagicode_saves volume definition to snapshots - Update Code Server persistence comments to reference system and save volumes - Update workspace section metadata to show Claude tuning under executor - Remove database section from workspace sections - Update snapshot test expectations for SQLite-only runtime Co-Authored-By: Hagicode <noreply@hagicode.com> Signed-off-by: newbe36524 <newbe36524@qq.com>
1 parent 7d5bd45 commit 2c555de

6 files changed

Lines changed: 136 additions & 858 deletions

File tree

src/lib/docker-compose/__tests__/__verify__/__snapshots__/api-provider-snapshots.test.ts.snap

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,18 @@ services:
3737
- "8080:45000"
3838
volumes:
3939
- /home/user/repos:/app/workdir
40+
# 系统级数据卷;Code Server 运行时状态会落在 /app/data/code-server
4041
- hagicode_data:/app/data
42+
# 存档级数据卷;主数据库与 Orleans 等状态会落在 /app/saves/save0/...
43+
- hagicode_saves:/app/saves
4144
- claude-data:/home/hagicode/.claude
4245
networks:
4346
- pcode-network
4447
restart: unless-stopped
4548
4649
volumes:
4750
hagicode_data:
51+
hagicode_saves:
4852
claude-data:
4953
5054
networks:
@@ -90,14 +94,18 @@ services:
9094
- "8080:45000"
9195
volumes:
9296
- /home/user/repos:/app/workdir
97+
# 系统级数据卷;Code Server 运行时状态会落在 /app/data/code-server
9398
- hagicode_data:/app/data
99+
# 存档级数据卷;主数据库与 Orleans 等状态会落在 /app/saves/save0/...
100+
- hagicode_saves:/app/saves
94101
- claude-data:/home/hagicode/.claude
95102
networks:
96103
- pcode-network
97104
restart: unless-stopped
98105
99106
volumes:
100107
hagicode_data:
108+
hagicode_saves:
101109
claude-data:
102110
103111
networks:
@@ -143,14 +151,18 @@ services:
143151
- "8080:45000"
144152
volumes:
145153
- /home/user/repos:/app/workdir
154+
# 系统级数据卷;Code Server 运行时状态会落在 /app/data/code-server
146155
- hagicode_data:/app/data
156+
# 存档级数据卷;主数据库与 Orleans 等状态会落在 /app/saves/save0/...
157+
- hagicode_saves:/app/saves
147158
- claude-data:/home/hagicode/.claude
148159
networks:
149160
- pcode-network
150161
restart: unless-stopped
151162
152163
volumes:
153164
hagicode_data:
165+
hagicode_saves:
154166
claude-data:
155167
156168
networks:

0 commit comments

Comments
 (0)