Finding Deleted Feature Flags

•
59
•

Audits and identifies recently soft-deleted feature flags in PostHog projects by cross-referencing system tables with activity logs.

This skill enables developers and product managers to perform detailed audits of feature flag deletions within a specific time window. Since standard system tables do not natively expose a deletion timestamp, this skill implements a sophisticated two-stage workflow: it first identifies soft-deleted candidates via SQL and then concurrently fetches activity logs for each flag to pinpoint exactly when a flag was removed and by whom. It is an essential tool for debugging unexpected behavior, tracking team activity, or verifying cleanup processes without the need for manual, repetitive log searching.

주요 기능

01Customizable time-window filtering for flexible reporting (e.g., last 7, 30, or 90 days)
02Detection of original flag keys even after system-automated renames upon deletion
03Concurrent API execution for high-performance auditing across multiple flags
04Automated cross-referencing of SQL tables with per-flag activity logs
0559 GitHub stars
06Identification of specific deletion timestamps and the user who performed the action

사용 사례

01Auditing who deleted a specific feature flag during a production incident investigation
02Locating a previously deleted flag when the original key has been altered by the system
03Generating weekly reports of feature flags removed from a project for team synchronization