What problem does it solve?
Adding a new ingestion warning type in PostHog touches many surfaces: the nodejs type registry, ClickHouse v2 column conventions, debouncing, the generated Rust warning enum, deploy ordering, and downstream UI/docs. This Skill codifies that entire procedure so a new warning type is registered, emitted, and synchronized correctly without drift between nodejs and Rust.
Core Features & Use Cases
- Registry-first workflow: Add the type to
INGESTION_WARNING_TYPES with the correct category and severity, making unregistered types a compile error.
- Emission guidance: Covers pipeline-step warnings (
ok/drop results), direct emit helpers, debouncing keys, and the exact details keys ClickHouse v2 materializes into columns.
- Rust codegen sync: Explains regenerating
warning_types.generated.json, choosing between from_tag and DIRECT_EMIT routes, and the direct-row transport for team-aware services.
- Use Case: You need to warn customers when events are dropped due to oversized payloads. Register the type, emit it from the pipeline step, regenerate the Rust artifact, and update the v1 UI map and resolution skill in one guided pass.
Quick Start
Ask the agent to add a new ingestion warning type for your scenario and have it register the type, wire up emission, and update all downstream surfaces.