Repository navigation
Commit 6cb7ef1
Replace floating-point seconds with integer milliseconds in timing config
All 8 timing fields in `new_lm_flatcfg.fbs` are changed from `double`
(seconds) to `uint32` (milliseconds), eliminating the need for the
`secondsToMs()` conversion helper and removing the floating-point
representation from the binary format entirely.
Changes:
- `new_lm_flatcfg.fbs`: 8 timing fields changed from `double` to `uint32`
- `flatbuffer_config_loader.hpp`: `kExpectedSchemaVersion` bumped 1 → 2
- `flatbuffer_type_converters.hpp/.cpp`: removed `secondsToMs()` and
`kSecondsToMilliseconds`; all 7 call sites simplified to direct assignment
- `flatbuffer_type_converters_UT.cpp`: removed 5 `SecondsToMsTest` cases;
updated all FlatBuffer builder calls to pass millisecond integers
- `flatbuffer_config_loader_UT.cpp`: updated all builder calls likewise
- `lifecycle_config.py` (`gen_config`): added `sec_to_ms()` conversion for
all 8 timing fields so the generated JSON matches the new uint32 schema
- `launch_manager.schema.json`: updated `schema_version` enum from `[1]` to `[2]`
- All 20 JSON config files: `"schema_version": 1` → `"schema_version": 2`
Closes #345
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2b82ed2 commit 6cb7ef1
28 files changed
Lines changed: 411 additions & 391 deletions
File tree
- examples/demo_verification
- score/launch_manager/src/daemon/src/configuration
- config_schema
- examples
- details
- scripts/config_mapping
- tests
- basic_test/input
- custom_validation_failures_test/input
- empty_health_config_test/input
- empty_lm_config_test/input
- health_config_test/input
- lm_config_test/input
- schema_validation_failure_test/input
- tests/integration
- complex_monitoring
- crash_on_startup
- incorrect_config_non_reporting
- process_complex_rep_failure
- process_crash_monitoring
- process_fd_leak
- process_launch_args
- process_simple_rep_failure
- process_wrong_binary_failure
- smoke
- switch_run_target
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
Lines changed: 109 additions & 73 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 82 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 59 | | |
83 | 60 | | |
84 | 61 | | |
| |||
202 | 179 | | |
203 | 180 | | |
204 | 181 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 182 | + | |
212 | 183 | | |
213 | 184 | | |
214 | 185 | | |
| |||
247 | 218 | | |
248 | 219 | | |
249 | 220 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 221 | + | |
257 | 222 | | |
258 | 223 | | |
259 | 224 | | |
| |||
428 | 393 | | |
429 | 394 | | |
430 | 395 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
| 396 | + | |
| 397 | + | |
445 | 398 | | |
446 | 399 | | |
447 | 400 | | |
| |||
513 | 466 | | |
514 | 467 | | |
515 | 468 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
| 469 | + | |
523 | 470 | | |
524 | 471 | | |
525 | 472 | | |
| |||
539 | 486 | | |
540 | 487 | | |
541 | 488 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
| 489 | + | |
549 | 490 | | |
550 | 491 | | |
551 | 492 | | |
| |||
562 | 503 | | |
563 | 504 | | |
564 | 505 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
| 506 | + | |
572 | 507 | | |
573 | 508 | | |
574 | 509 | | |
| |||
597 | 532 | | |
598 | 533 | | |
599 | 534 | | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
| 535 | + | |
607 | 536 | | |
608 | 537 | | |
609 | 538 | | |
| |||
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | | - | |
| 71 | + | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| |||
93 | 90 | | |
94 | 91 | | |
95 | 92 | | |
96 | | - | |
97 | | - | |
| 93 | + | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
104 | | - | |
105 | | - | |
| 100 | + | |
| 101 | + | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
| |||
127 | 123 | | |
128 | 124 | | |
129 | 125 | | |
130 | | - | |
131 | | - | |
| 126 | + | |
132 | 127 | | |
133 | 128 | | |
134 | 129 | | |
| |||
0 commit comments