Commit 3310a88
authored
feat(kvp): add ProvisioningReport abstraction over KvpPoolStore (#310)
* feat(kvp): add ProvisioningReport abstraction over KvpPoolStore
Add a ProvisioningReport that converts to ordered KVP
entries via a new ToKvp trait and persists with write_report. ToKvp is
the seam for a future diagnostics report to reuse write_report unchanged.
* fix(kvp): match legacy field order and add typed ReportPpsType
Branch ProvisioningReport::encode per outcome so success extras trail
the standard fields (failure layout unchanged), require a typed
ReportPpsType on the constructors, rename error() -> failure(), and mark
ReportPpsType non_exhaustive. Adds layout and pps_type wire-string tests.
* feat(kvp): make report vm-id optional, default agent, add --supporting-data
* test(kvp): cover VM ID fallback and comma-aware supporting-data parsing
Close the codecov gaps on the new CLI paths and rework
--supporting-data so one flag can carry multiple comma-separated
pairs, including values that contain literal commas.1 parent 5ff3254 commit 3310a88
6 files changed
Lines changed: 1331 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments