Opt-in to Strict Testing

Official

Make reconcilers prove perfect diffs

AuthorGoogleCloudPlatform
Version1.0.0
Installs0

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.go so strict testing is enabled for the targeted GroupKinds.
  • Regenerate golden fixtures for server-side apply: Updates _generated_object_*.golden.yaml and _http.log because 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.