refactor: drop MetricsConfig from ToolchainStatus type#500
Conversation
metrics are not stored in the `ToolchainStatus` anymore also, no need to keep the `MetricsConfig` in the `ToolchainConfig` anymore, since host-operator metrics are always recounted from the resources during startup. (`ForceSynchronization` was always `true`) Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (3)
WalkthroughRemoved metrics-related API types, fields, constants, and associated generated code across the api/v1alpha1 package, and deleted the Member.SpaceCount field; corresponding OpenAPI schema entries and documentation blocks were also removed. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
MatousJobanek
left a comment
There was a problem hiding this comment.
Looks like a forgotten legacy zombie, but this line can be removed too:
api/api/v1alpha1/toolchainstatus_types.go
Line 274 in 912fcbd
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
good catch! removed in f4024c6 |
|



metrics are not stored in the
ToolchainStatusanymorealso, no need to keep the
MetricsConfigin theToolchainConfiganymore,since host-operator metrics are always recounted from the resources during startup.
(
ForceSynchronizationwas alwaystrue)Signed-off-by: Xavier Coulon xcoulon@redhat.com
Summary by CodeRabbit
Chores
Documentation