: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
test(web-analytics): skip remaining flaky lazy-precompute roundtrip tests (#59695)
Lucas Ricoy253790b61c35
diff --git a/products/web_analytics/backend/hogql_queries/test/test_web_overview_lazy_precompute.py b/products/web_analytics/backend/hogql_queries/test/test_web_overview_lazy_precompute.pyindex d47164c177f1..1ecf6f41cb17 100644--- a/products/web_analytics/backend/hogql_queries/test/test_web_overview_lazy_precompute.py+++ b/products/web_analytics/backend/hogql_queries/test/test_web_overview_lazy_precompute.py@@ -340,10 +340,6 @@ class TestWebOverviewLazyPrecompute(ClickhouseTestMixin, APIBaseTest):# --- Group A: timezone correctness --------------------------------------- @unittest.skip(- "Flaky on CI since #59075 — same root cause as test_lazy_result_matches_raw_result. "- "Pacific variant is the most reproducible failure. Root cause under investigation."- )@parameterized.expand([("utc", "UTC"),@@ -351,6 +347,12 @@ class TestWebOverviewLazyPrecompute(ClickhouseTestMixin, APIBaseTest):("tokyo", "Asia/Tokyo"),])+ @unittest.skip(+ "Flaky on CI since #59075 — same root cause as test_lazy_result_matches_raw_result. "+ "Pacific variant is the most reproducible failure. The previous skip in #59614 was "+ "above @parameterized.expand, so the parameterized variants kept running and failing. "+ "Root cause under investigation."+ )@freeze_time("2024-01-15T12:00:00Z")def test_lazy_result_matches_raw_for_whole_hour_timezones(self, _name: str, team_tz: str) -> None:"""Whole-hour-offset teams must produce the same metrics through the lazy and raw paths."""@@ -438,6 +440,10 @@ class TestWebOverviewLazyPrecompute(ClickhouseTestMixin, APIBaseTest):# --- Group C: forward-only pad + compare readiness ---------------------+ @unittest.skip(+ "Flaky on CI since #59075 — same intermittent empty-result pattern as the other "+ "round-trip tests in this file. Missed by #59614. Root cause under investigation."+ )@freeze_time("2024-01-15T12:00:00Z")def test_session_just_after_window_start_attributed_correctly(self):# Forward-only pad regression: a session starting near the leading edge@@ -497,6 +503,10 @@ class TestWebOverviewLazyPrecompute(ClickhouseTestMixin, APIBaseTest):assert result is None, f"expected fall-back to raw when previous precompute not ready, got {result!r}"+ @unittest.skip(+ "Flaky on CI since #59075 — same intermittent empty-result pattern as the other "+ "round-trip tests in this file. Root cause under investigation."+ )@freeze_time("2024-01-15T12:00:00Z")def test_recomputation_picks_up_late_events_changing_bounce_and_duration(self):# After a late event arrives, the next precompute run (cache invalidated