PostHog / PostHog/posthog

[Flag reporting improvements] SPIKE - Flags SDK misconfiguration detector

Open
#29,451 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog feature/feature-flags team/feature-flags
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

If possible, we could implement a listener on $feature_flag_called events that checks for common misconfigurations, e.g. firing events before flags have been loaded from the API w/o bootstrapping

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the $feature_flag_called listener and the flag-loading/API bootstrap path, but no files or tests. Trace those entry points first; done for this spike would be a documented decision on whether common misconfigurations can be detected and what behavior should be specified.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.