: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
fix(storybook): resolve flaky NewRemoteConfigFlagPayloadError timing race (#60189)
mendral-app[bot]3b0261033ab6
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 8ad9211e8a11..93b5d6c27c81 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -1957,7 +1957,7 @@ snapshots:insights-insightstable--is-legend--light:hash: v1.k794b7964.d9eec920b0b2f3c9ea87c9e0d2b298bc37339217e4211d0cf1a147630f09b75d.xGcJlQO8pvoNnHyoMNZ4F58uqKh5PDg_UiGlO5bAMn8insights-stickinesslinechart--area--dark:- hash: v1.k794b7964.c8f70afcdd044f3df9c45bd8f83a5f7b9b6c2ff56fd36da9f74f196ebc0b56b9.0zlUNlGlxnyFebgcM3MlWfSHhFSI2YJb2jxigbCMjkQ+ hash: v1.k794b7964.2d8f13bdaaffd8ffd4cad37112cae92022ace61ad5761f630a70d4c9fcecc2ae.-oVvCJIPaQGhJ4H0h-HhUv5F2FhogTXDhOTz53oJ6AQinsights-stickinesslinechart--area--light:hash: v1.k794b7964.5d7b49d8f4ebb24543f100ed4014d0f8a5832a5db40525f482fb096eadd7acb4.DMdwu1bhfT1dAJWNVYf72l00l5XMKia53ratuSW3CyEinsights-stickinesslinechart--default--dark:@@ -4751,7 +4751,7 @@ snapshots:scenes-app-insights-funnels--funnel-left-to-right-edit-viewports--superwide--light:hash: v1.k794b7964.c95c5a49f7a20b7fcb1041dd26c73ee87c9a906cb229247a44fd4633bbdc9173.StrJ2VBA5acLqvnsiO2CS_o6qadxeaeO6ST8lxf5UdIscenes-app-insights-funnels--funnel-left-to-right-edit-viewports--wide--dark:- hash: v1.k794b7964.293297b83994468984576e5c15fa2cbbb2c4c0a7a8234959b9deba539efa383b.O7SwG4Drfr3z02hcLNC1LsLsGWddouhybBp4xZaUE-A+ hash: v1.k794b7964.c47bdb853ef9b6becfb675e2ca0bdbdb0c1b4385cf2442d50dd92752d90f7906.URrKOLP9uUjbKWcui2yOA7hm_JsXsbkAlOcWJshoQrIscenes-app-insights-funnels--funnel-left-to-right-edit-viewports--wide--light:hash: v1.k794b7964.c63132bb5b13cbe97938ebdb2e59e320ebc338bd12b2d3bfd6af81e56270650a.KSiw8WpvjWXIDh87ExL4cPnopVJlTXvzU8N8ruh6Hi8scenes-app-insights-funnels--funnel-time-to-convert--dark:diff --git a/frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx b/frontend/src/scenes/feature-flags/FeatureFlags.stories.tsxindex 9bbdabf897bf..92462f38544f 100644--- a/frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx+++ b/frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx@@ -170,6 +170,8 @@ export const NewRemoteConfigFlagPayloadError: Story = {logic.actions.setFeatureFlagValue('key', 'demo-remote-config-flag')logic.actions.setFeatureFlagValue('is_remote_configuration', true)+ // Yield to let React flush the state updates before triggering validation.+ await new Promise((resolve) => setTimeout(resolve, 50))// Submit with empty payload: validatePayloadRequired fails, submitFeatureFlagFailure fires,// the listener expands the payload section, and the inline error is rendered.logic.actions.submitFeatureFlag()