Commit 875d760
authored
Implement round-trip KRM fuzzer for MonitoringMonitoredProject (#11317)
This Pull Request implements a type-safe round-trip KRM fuzzer for
`MonitoringMonitoredProject` under
`pkg/controller/direct/monitoring/monitoredproject_fuzzer.go` using the
`fuzztesting` framework.
Specifically:
- Refactored and renamed the pre-existing fuzzer file from
`monitoringmonitoredproject_fuzzer.go` to `monitoredproject_fuzzer.go`.
- Upgraded the fuzzer to use the type-safe, generic `NewKRMTypedFuzzer`
API.
- Added explicit field comparison comments detailing how KRM Spec and
Status fields map to the underlying GCP proto.
- Added the corresponding fuzzer journal entry under
`.gemini/skills/create-fuzzer/journal/monitoringmonitoredproject.md`.
Fixes #113162 files changed
Lines changed: 23 additions & 5 deletions
File tree
- .gemini/skills/create-fuzzer/journal
- pkg/controller/direct/monitoring
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
39 | | - | |
| 49 | + | |
| 50 | + | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
| |||
0 commit comments