This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Commit 39c5a01
Fix UUID determinism in tests by making UUID generation a service
- Add generate_uuid() method to IpcClient trait
- MockIpcClient returns 'DUMMY_UUID' for deterministic tests
- IPCCommunicator generates real UUIDs in production
- Add user_data() getter to DialectInterpreter for accessing IpcClient
- Update Comment function to use IpcClient for UUID generation
- Update test expectation to use deterministic UUID
All 36 tests now pass! 🎉
Co-authored-by: Claude <[email protected]>1 parent f7a359d commit 39c5a01
4 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
358 | | - | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
700 | 704 | | |
701 | 705 | | |
702 | 706 | | |
703 | | - | |
| 707 | + | |
704 | 708 | | |
705 | 709 | | |
706 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1069 | 1073 | | |
1070 | 1074 | | |
1071 | 1075 | | |
| |||
0 commit comments