Commit 659c849
committed
Phase 13.9.Fix1b: Fix ROOT path serialization for registered_functions
Previous commit (189b768) only fixed JSON path (export_schema_v2/apply_schema).
ROOT path (_serialize_schema/_deserialize_schema) was missing registered_functions.
Fixed: _serialize_schema, _deserialize_schema, _restore_schema, read_tree.
Added export_tree/read_tree roundtrip invariance test that catches this.
Code duplication between JSON and ROOT serialization paths identified
as technical debt — both should use single serialize/deserialize.
9 tests (was 8), 1440 passed, 6 failed (pre-existing).1 parent 189b768 commit 659c849
2 files changed
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
437 | 445 | | |
438 | 446 | | |
439 | 447 | | |
| |||
1285 | 1293 | | |
1286 | 1294 | | |
1287 | 1295 | | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
1288 | 1302 | | |
1289 | 1303 | | |
1290 | 1304 | | |
| |||
5182 | 5196 | | |
5183 | 5197 | | |
5184 | 5198 | | |
| 5199 | + | |
| 5200 | + | |
| 5201 | + | |
| 5202 | + | |
5185 | 5203 | | |
5186 | 5204 | | |
5187 | 5205 | | |
| |||
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
0 commit comments