Opt-in to Strict Testing
OfficialMake reconcilers prove perfect diffs
System Documentation
What problem does it solve?
This Skill helps you opt Config Connector (or another controller-backed resource set) into strict testing so server-side apply and re-reconciliation checks reliably validate differencing detection, reducing the chance that controllers incorrectly decide an update is needed.
Core Features & Use Cases
- Opt-in via ratcheting exclusions: Removes selected resources from the exclusions configured in
tests/e2e/ratcheting.goso strict testing is enabled for the targeted GroupKinds. - Regenerate golden fixtures for server-side apply: Updates
_generated_object_*.golden.yamland_http.logbecause expected request/object generation changes under strict testing. - Validate behavior with re-run tests: Confirms tests pass without
WRITE_GOLDEN_OUTPUT=1, and provides guidance for diagnosing re-reconciliation failures caused by differencing or normalization bugs.
Quick Start
Ask the agent to enable strict testing for your chosen API group resources by editing tests/e2e/ratcheting.go, regenerating golden outputs with WRITE_GOLDEN_OUTPUT=1 using the appropriate presubmit script, and then re-running the same presubmit without WRITE_GOLDEN_OUTPUT=1 to confirm the tests pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Opt-in to Strict Testing Download link: https://github.com/GoogleCloudPlatform/k8s-config-connector/archive/main.zip#opt-in-to-strict-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.