Commit 2fa9f67
fix: Include packageName in resolution digest calculation
Critical bug fix: packageName was missing from the digest calculation.
Changing packageName from "prometheus" to "grafana" would incorrectly
reuse the rolling-out revision if other fields (version, channels, etc.)
remained the same.
Changes:
- Add PackageName field to resolutionInputs struct
- Include catalog.PackageName when building the digest
- Update label comment to document packageName is hashed
Verification:
- Changing packageName now produces different digests
- All tests pass
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Thanks-To: GitHub Copilot for catching this bug1 parent d2dba24 commit 2fa9f67
File tree
2 files changed
+3
-1
lines changed- internal/operator-controller
- controllers
- labels
2 files changed
+3
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
0 commit comments