Commit 43c4478
fix kotlin CI: explicit JsonArray construction for messages
kotlin 2.0+ rejected `json.encodeToJsonElement(messages)` on a
List<Map<String,String>> because the generic type doesn't resolve to a
SerializationStrategy via reified inference. caught by the new phase 0.7
kotlin CI job — exactly the regression that job exists to catch.
fix: build the JsonArray manually from the List<Map<>>. no extra imports,
no reified magic, deterministic shape.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 304cbc3 commit 43c4478
1 file changed
Lines changed: 21 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
| |||
0 commit comments