:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(flags): split the legacy token kill switch test comment (#116623)
posthog[bot]ebaaddcef503
diff --git a/rust/feature-flags/tests/test_flag_definitions.rs b/rust/feature-flags/tests/test_flag_definitions.rsindex 5569cb3e666f..d610e965a9f7 100644--- a/rust/feature-flags/tests/test_flag_definitions.rs+++ b/rust/feature-flags/tests/test_flag_definitions.rs@@ -435,10 +435,10 @@ async fn test_secret_api_token_authentication_invalid_token() {assert_eq!(body["attr"], Value::Null);}-/// ACCEPT_TEAM_SECRET_TOKENS=false (the legacy-removal kill switch, #66179): the-/// posthog_team lookup is skipped, so a legacy secret token only authenticates through a-/// backfilled PSAK mirror row holding the same string. The default (true) path is covered-/// by `test_secret_api_token_authentication_valid_token`.+/// ACCEPT_TEAM_SECRET_TOKENS is the kill switch for legacy team secret tokens (#66179).+/// When it is false, the lookup skips posthog_team.+/// A legacy token then authenticates only through a backfilled PSAK mirror row with the same string.+/// `test_secret_api_token_authentication_valid_token` covers the default (true) path.#[rstest::rstest]#[case::with_mirror_row(true, 200)]#[case::without_mirror_row(false, 401)]