| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3de90e28-2d6d-0ff2-1027-a8395dfbe0f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4EC:18D93D:B7E37:111879:6AFAD38C |
| html-safe-nonce | aca18107c1114869eb5756a43a39abf0e4c8239ab60b24a6f0f7ea501eb0236d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEVDOjE4RDkzRDpCN0UzNzoxMTE4Nzk6NkFGQUQzOEMiLCJ2aXNpdG9yX2lkIjoiMTYyMjkwOTk3NTQ2MTExODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 01076ecc073a558245cafff3fbc66646cdf54b0007680065be9771bb6f01eec7 |
| hovercard-subject-tag | pull_request:5125442478 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/10583/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/579f084f1e14b7022a427ff2d250c46192fb20e2271e733ba89ad1907ef07be5/clerk/javascript/pull/10583 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/579f084f1e14b7022a427ff2d250c46192fb20e2271e733ba89ad1907ef07be5/clerk/javascript/pull/10583 |
| og:image:alt | Fixes #10575
#10401 ages cache entries with min(exp, createdAt + exp - iat) so a slow device clock cannot keep serving past server expiry. On a fast clock that same min() picks server exp, which is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | umeraamir69 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 33c41e9d150e44415272934d676dc63c57d89c3b |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/10583#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10583 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10583 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript |
| Reload | https://github.com/clerk/javascript/pull/10583 |
| Reload | https://github.com/clerk/javascript/pull/10583 |
| Reload | https://github.com/clerk/javascript/pull/10583 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| umeraamir69 | https://github.com/umeraamir69 |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| umeraamir69:fix/token-cache-fast-clock | https://github.com/umeraamir69/javascript/tree/fix/token-cache-fast-clock |
| Conversation | https://github.com/clerk/javascript/pull/10583 |
| Commits1 (1) | https://github.com/clerk/javascript/pull/10583/commits |
| Checks | https://github.com/clerk/javascript/pull/10583/checks |
| Files changed | https://github.com/clerk/javascript/pull/10583/files |
| Age freshly minted session tokens from local insert on a fast clock | https://github.com/clerk/javascript/pull/10583#top |
| umeraamir69 | https://github.com/umeraamir69 |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| umeraamir69:fix/token-cache-fast-clock | https://github.com/umeraamir69/javascript/tree/fix/token-cache-fast-clock |
|
| https://github.com/umeraamir69 |
| umeraamir69 | https://github.com/umeraamir69 |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issue-6168627882 |
| #10575 | https://github.com/clerk/javascript/issues/10575 |
| #10401 | https://github.com/clerk/javascript/pull/10401 |
| #10401 | https://github.com/clerk/javascript/pull/10401 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
|
| https://github.com/umeraamir69 |
| Age freshly minted session tokens from local insert on a fast clock | https://github.com/clerk/javascript/pull/10583/commits/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| 94c9f9e | https://github.com/clerk/javascript/pull/10583/commits/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| clerk#10401 | https://github.com/clerk/javascript/pull/10401 |
| clerk#10575 | https://github.com/clerk/javascript/issues/10575 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issuecomment-6585119085 |
| @umeraamir69 | https://github.com/umeraamir69 |
| Vercel | https://vercel.com |
| authorize it | https://vercel.com/git/authorize?team=Clerk%20Production&slug=clerk-production&teamId=team_WkGqQVj7eL8Pmap8W5wWH515&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%2294c9f9e97e208f8d128dcd8bcce46cad84231455%22%7D%2C%22id%22%3A%22QmXvaMnSZuvpANMFNfYZzhgUWyEHvi3AHNaCG5xnS6qnVY%22%2C%22org%22%3A%22clerk%22%2C%22prId%22%3A10583%2C%22repo%22%3A%22javascript%22%7D |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issuecomment-6585119138 |
| 94c9f9e | https://github.com/clerk/javascript/commit/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| Click here to learn what changesets are | https://changesets.dev/faq |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/umeraamir69/javascript/new/fix/token-cache-fast-clock?filename=.changeset/late-zebras-deny.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0AAge%20freshly%20minted%20session%20tokens%20from%20local%20insert%20on%20a%20fast%20clock%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issuecomment-6585123668 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://app.coderabbit.ai/change-stack/clerk/javascript/pull/10583?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment |
| Preserve the trusted expiry when the same token is hydrated. | https://github.com/clerk/javascript/pull/10583#discussion_r4446305087 |
| https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667 |
| Age background tokens from the start of the request. | https://github.com/clerk/javascript/pull/10583#discussion_r4446305076 |
| https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667 |
| Update the six exact cache-write assertions. | https://github.com/clerk/javascript/pull/10583#discussion_r4446305052 |
| https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667 |
| clerk/javascript | https://github.com/clerk/javascript |
| main | https://github.com/clerk/javascript/tree/main |
| .coderabbit.yaml | https://github.com/clerk/javascript/blob/0905976f48b5fae3b65d4ea1f1f96b7962f81b54/.coderabbit.yaml |
| 0905976 | https://github.com/clerk/javascript/commit/0905976f48b5fae3b65d4ea1f1f96b7962f81b54 |
| 0905976 | https://github.com/clerk/javascript/commit/0905976f48b5fae3b65d4ea1f1f96b7962f81b54 |
| 94c9f9e | https://github.com/clerk/javascript/commit/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| clerk/clerk_go | https://github.com/clerk/clerk_go |
| clerk/dashboard | https://github.com/clerk/dashboard |
| clerk/accounts | https://github.com/clerk/accounts |
| clerk/backoffice | https://github.com/clerk/backoffice |
| clerk/clerk | https://github.com/clerk/clerk |
| clerk/clerk-docs | https://github.com/clerk/clerk-docs |
| clerk/cloudflare-workers | https://github.com/clerk/cloudflare-workers |
| clerk/javascript#10401 | https://github.com/clerk/javascript/pull/10401 |
| clerk/javascript#10429 | https://github.com/clerk/javascript/pull/10429 |
| clerk/javascript#10468 | https://github.com/clerk/javascript/pull/10468 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Nov 2, 2026
| https://github.com/clerk/javascript/pull/10583#pullrequestreview-5741532822 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/clerk/javascript/pull/10583#pullrequestreview-5741532822 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| packages/clerk-js/src/core/resources/Session.ts | https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#discussion_r4446305052 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| packages/clerk-js/src/core/resources/Session.ts | https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#discussion_r4446305076 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#discussion_r4446305087 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| raw.githubusercontent.com | https://raw.githubusercontent.com/clerk/javascript/94c9f9e97e208f8d128dcd8bcce46cad84231455/packages/clerk-js/src/core/resources/Client.ts |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issuecomment-6585669881 |
| @umeraamir69 | https://github.com/umeraamir69 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#event-34944627051 |
| https://github.com/Ephem |
| Ephem | https://github.com/Ephem |
| Nov 2, 2026 | https://github.com/clerk/javascript/pull/10583#issuecomment-6586050184 |
| @umeraamir69 | https://github.com/umeraamir69 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10583 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
|
Session token cache drops every token when the device clock runs fast, so the poller mints a token every 1.5 s (fast-clock side of #10401)
| https://github.com/clerk/javascript/issues/10575 |
| Please reload this page | https://github.com/clerk/javascript/pull/10583 |
|
| https://github.com/umeraamir69 |
|
| https://github.com/wobsoriano |
|
| https://github.com/Ephem |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |