Skip to content

: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.

chore(data-modeling): pin the clock in model health summary stories (#104840)

posthog[bot]22ae33e36417
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 2d5c12186289..8afd5188d389 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -6073,9 +6073,9 @@ snapshots:
products-data-modeling-model-health-summary--completed--light:
hash: v1.k794b7964.4de53541f1249d0fb5beb418d582c65cda06eb36176807b4106bdf2bf3ed8a89.VyuxhEpCuUGzcKDXqjagV_YMAaeEkbXBIJEzOXHYGH4
products-data-modeling-model-health-summary--failed--dark:
- hash: v1.k794b7964.c2997410c93e687b52914697b9701bd501a5ff2376a5d2092f2bdfbc33934db6.Zuvfn3zd5xYDRzSgMMEtt5nebN_9UWJEIcPSbZdVxWY
+ hash: v1.k794b7964.6430f3b47e258c4782cdbe6bca02dda179bd44c7c19a8a5e21bfff8f67189499.2uOe1596jH8GT3dlzMThKIxl7XUOl7pj7GbwpkXF7V4
products-data-modeling-model-health-summary--failed--light:
- hash: v1.k794b7964.d22afb2a40981c1b617d2a0a423cce493e0965c570d376bc96813c6da66094e8.hndzmt_cjztdF1hahtGXDZ92UdjKv2d8RB28VP_8NMo
+ hash: v1.k794b7964.13fe3d28ebf92627f8ae9bd0fd40aa3b6108017bbbbec315c9ba53e8bf8143af.jKk8m5tvOTOW4GbFaCjPUh8Hy4mEX_4FigiyEUdahm8
products-data-modeling-model-health-summary--first-run--dark:
hash: v1.k794b7964.b44a8d21988764d8dcd51fea22ff4a9f8dec2a7e1c03bccbc1ef2ee2cd7d4ad0.i3Id1eCG4ZnpHMPBXvR4WewtaKYcyInzy2EZM6QW4U4
products-data-modeling-model-health-summary--first-run--light:
@@ -6097,9 +6097,9 @@ snapshots:
products-data-modeling-model-health-summary--running--light:
hash: v1.k794b7964.467fc05c1d1434d678fabaa13455ddc7110d3c533afb867207ae6b1b05f64f4f.c7PSGKdTA0iHiz0VY_y8oZxDHeTfpCUSVohNEUubBhI
products-data-modeling-model-health-summary--stale-history--dark:
- hash: v1.k794b7964.dd11f5b4fa0945c0a0956dc2fcc92bfcc11825b46786115540141039963d25d9.XAsL4Vbhk9so5SFnBNbtT3GIW8PfPqdrOR9v8qIO4k0
+ hash: v1.k794b7964.fd37a8315fdd454d5e99c5cc201ac820390eca6c86246e51cba727f92cb521ad.rqM1As_QJVVWqDUhfq9umFTTTbY8lUueR-EZbe0Y8CU
products-data-modeling-model-health-summary--stale-history--light:
- hash: v1.k794b7964.40152b24efbc374dd57558104182ed6b78408067cc068641fbcdc678830c8c35.M80EBBkX6yZvFAGP2vxCvg3bNCfVcUjI8F35a-d1XME
+ hash: v1.k794b7964.bd4e976695d901dd8f4fc084fb18545f8e9fc3d879af5cf4bb9706fff1d0787a.S7G5fA9lG27R-YegnvoGAXZLBfIEVDANrfGYTbfeqhY
products-data-modeling-model-health-summary--suspended--dark:
hash: v1.k794b7964.ed2e365ecb654ac0c6018037525b4f60bab8bad2214a48272ca1f1d93552f891.pvoH2ToVykRp3emLAS0hdTEogJq0gyODi5_IeUsU7Ws
products-data-modeling-model-health-summary--suspended--light:
diff --git a/products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx b/products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx
index 6e94b24ecde3..aab3fe6e4d3f 100644
--- a/products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx
+++ b/products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx
@@ -25,7 +25,12 @@ const meta: Meta<typeof ModelHealthSummary> = {
downstreamCount: 3,
metadata: <ModelMetadata createdAt="2026-01-10T10:00:00Z" />,
},
- parameters: { testOptions: { snapshotBrowsers: ['chromium'] } },
+ parameters: {
+ // The card reads every date through TZLabel, which renders it relative to now, so the
+ // snapshot changes on its own once the real clock moves past the fixtures.
+ mockDate: '2026-09-12T10:42:00Z',
+ testOptions: { snapshotBrowsers: ['chromium'] },
+ },
}
export default meta