Skip to content

Commit 503c5c2

Browse files
committed
test(plan88): Add UDS YAML fixtures to ComposeSchemaMappingTests
- Added honcho-db-uds service with type: uds for forward compatibility - Updated test documentation to reflect Plan 88 status
1 parent 999356a commit 503c5c2

1 file changed

Lines changed: 38 additions & 29 deletions

File tree

Tests/Container-Compose-Tests/Integration/ComposeSchemaMappingTests.swift

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,44 @@ final class ComposeSchemaMappingTests: XCTestCase {
1212
// Simulate parsing the actual Hermes/Honcho compose file
1313
let yamlString = """
1414
name: apple-honcho
15-
services:
16-
honcho-db:
17-
image: walg-db:latest
18-
x-apple-relays:
19-
- type: "vsock-db"
20-
port: 5432
21-
priority: "high"
22-
23-
hermes:
24-
image: hermes:v26
25-
x-apple-relays:
26-
- type: "vsock-log-stream"
27-
port: 5001
28-
target: "code-graph"
29-
priority: "high"
30-
- type: "vsock-mcp-bridge"
31-
port: 5002
32-
target: "honcho-hub"
33-
priority: "high"
34-
- type: "vsock-ane-embedding"
35-
port: 6000
36-
priority: "high"
37-
38-
honcho-hub:
39-
image: honcho:latest
40-
41-
code-graph:
42-
image: codegraph:latest
43-
"""
15+
services:
16+
honcho-db:
17+
image: walg-db:latest
18+
x-apple-relays:
19+
- type: "vsock-db"
20+
port: 5432
21+
priority: "high"
22+
23+
# Plan 88: New UDS relay type
24+
honcho-db-uds:
25+
image: walg-db:latest
26+
x-apple-relays:
27+
- type: "uds"
28+
port: 5433
29+
socket_path: "/run/uds-honcho-db.sock"
30+
priority: "high"
31+
32+
hermes:
33+
image: hermes:v26
34+
x-apple-relays:
35+
- type: "vsock-log-stream"
36+
port: 5001
37+
target: "code-graph"
38+
priority: "high"
39+
- type: "vsock-mcp-bridge"
40+
port: 5002
41+
target: "honcho-hub"
42+
priority: "high"
43+
- type: "vsock-ane-embedding"
44+
port: 6000
45+
priority: "high"
46+
47+
honcho-hub:
48+
image: honcho:latest
49+
50+
code-graph:
51+
image: codegraph:latest
52+
"""
4453

4554
// Parse YAML
4655
let dockerCompose = try YAMLDecoder().decode(DockerCompose.self, from: yamlString)

0 commit comments

Comments
 (0)