Skip to content

test: Remove unnecessary dynamic timestamp from instant-validation root layouts#95105

Merged
lubieowoce merged 1 commit into
canaryfrom
lubieowoce/fix-root-layout-timestamp
Jun 25, 2026
Merged

test: Remove unnecessary dynamic timestamp from instant-validation root layouts#95105
lubieowoce merged 1 commit into
canaryfrom
lubieowoce/fix-root-layout-timestamp

Conversation

@lubieowoce

@lubieowoce lubieowoce commented Jun 24, 2026

Copy link
Copy Markdown
Member

Extracted from #94595 . The root layout includes a timestamp that we use to check if the root layout changed during a navigation, but it was unnecessarily using await connection(); Date.now() when a performance.now()would be enough. Changing it to not introduce a random dynamic hole which could affect validation in some way.

This change revealed that some client component tests were implicitly relying on the dynamic timestamp component as a workaround for NAR-800 . I've added a workaround dynamic component to each of the relevant tests, those can be removed when we fix the bug.

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Stats cancelled

Commit: a8c0e7f
View workflow run

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: a8c0e7f

@lubieowoce lubieowoce force-pushed the lubieowoce/fix-root-layout-timestamp branch from d84d9c2 to 1925d97 Compare June 24, 2026 02:12
@lubieowoce lubieowoce marked this pull request as ready for review June 24, 2026 03:44
@lubieowoce lubieowoce requested a review from unstubbable June 24, 2026 03:45
@lubieowoce lubieowoce force-pushed the lubieowoce/fix-root-layout-timestamp branch 2 times, most recently from 9158e22 to ae43d45 Compare June 24, 2026 10:24
@lubieowoce lubieowoce changed the base branch from canary to graphite-base/95105 June 25, 2026 03:24
@lubieowoce lubieowoce force-pushed the lubieowoce/fix-root-layout-timestamp branch from ae43d45 to 9efe154 Compare June 25, 2026 03:24
@lubieowoce lubieowoce changed the base branch from graphite-base/95105 to lubieowoce/partial-prefetching-reveal June 25, 2026 03:24
@lubieowoce lubieowoce force-pushed the lubieowoce/partial-prefetching-reveal branch from ef835ef to fab3063 Compare June 25, 2026 04:23
@lubieowoce lubieowoce force-pushed the lubieowoce/fix-root-layout-timestamp branch 2 times, most recently from e7d4d12 to ff92699 Compare June 25, 2026 14:18
@lubieowoce lubieowoce force-pushed the lubieowoce/partial-prefetching-reveal branch from fab3063 to 32f8cdc Compare June 25, 2026 14:18
Base automatically changed from lubieowoce/partial-prefetching-reveal to canary June 25, 2026 14:46
@lubieowoce lubieowoce force-pushed the lubieowoce/fix-root-layout-timestamp branch from ff92699 to a8c0e7f Compare June 25, 2026 16:11
@lubieowoce lubieowoce enabled auto-merge (squash) June 25, 2026 16:28
@lubieowoce lubieowoce merged commit be2104a into canary Jun 25, 2026
128 of 129 checks passed
@lubieowoce lubieowoce deleted the lubieowoce/fix-root-layout-timestamp branch June 25, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants