reconciler-logic

Official

Ensure reliable async reconciliation in apps

Authorgrafana
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Reconcilers coordinate asynchronous business logic for grafana-app-sdk apps so that resource state changes (create, update, delete) are observed and the system is driven toward a desired state without race conditions or status conflicts.

Core Features & Use Cases

  • TypedReconciler Pattern: Strongly-typed reconcile functions that simplify type assertions and provide safer handler wiring.
  • Atomic Status Updates: Guidance to use resource.UpdateObject to avoid 409 conflicts and ensure consistent status writes.
  • Resilience & Coordination: Generation-based skips, requeueing for external async operations, finalizer management, informer configuration, and retry/dequeue policies for robust production controllers.
  • Use Case: Implement a controller that kicks off an external provisioning job, polls its status, updates resource status atomically, and cleans up external resources on deletion.

Quick Start

Write a TypedReconciler for MyKind that handles create, update, and delete events, updates status atomically with resource.UpdateObject, manages finalizers, and requeues to poll external async work.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: reconciler-logic
Download link: https://github.com/grafana/skills/archive/main.zip#reconciler-logic

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.