You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(examples): controller-level component golden tests
Extract Build*Component() methods from the reconcile loops in the
component-prerequisites, extraction-and-guards, and grace-inconsistency
examples so tests can build components through the same assembly path
the controller uses. Add controller_test.go + testdata/ golden snapshots
for each example using golden.AssertComponentYAML.
Update resource tests in all three examples (and custom-resource) to
call the actual factory functions rather than duplicating builder
construction, so the golden files reflect real factory output.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments