René's URL Explorer Experiment


Title: fix(oauth): follower last-chance read after poll deadline by waleedlatif1 · Pull Request #4718 · simstudioai/sim · GitHub

Open Graph Title: fix(oauth): follower last-chance read after poll deadline by waleedlatif1 · Pull Request #4718 · simstudioai/sim

X Title: fix(oauth): follower last-chance read after poll deadline by waleedlatif1 · Pull Request #4718 · simstudioai/sim

Description: Summary Addresses the cursor-bot follow-up on #4706: when a coalesced refresh leader takes longer than the follower's 3s poll window, the follower returned null even if the leader persisted moments later. Adds a single last-chance DB read after the poll loop so a just-finished leader is still caught. Trade-off: 1 extra DB read only in the rare timeout case. No-op in the common path. Type of Change Bug fix Testing New unit test: follower does a final read after timeout to catch a just-finished leader in lib/concurrency/__tests__/leader-lock.test.ts 14/14 concurrency tests passing Lint clean Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Addresses the cursor-bot follow-up on #4706: when a coalesced refresh leader takes longer than the follower's 3s poll window, the follower returned null even if the leader persisted mo...

X Description: Summary Addresses the cursor-bot follow-up on #4706: when a coalesced refresh leader takes longer than the follower's 3s poll window, the follower returned null even if the leader persiste...

Opengraph URL: https://github.com/simstudioai/sim/pull/4718

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:710fbbd7-2f1f-e117-f5d6-e42c570c8e59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9646:BD772:15D484D:1DCA545:6AFB7A29
html-safe-nonce08c2375f38bb1c7e64b4889f0a171a10c7266e7d9c4694c12706e2ddada7e637
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjQ2OkJENzcyOjE1RDQ4NEQ6MURDQTU0NTo2QUZCN0EyOSIsInZpc2l0b3JfaWQiOiIzNTE2OTI3OTQ2Mjg1MzQ5NDE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac205c65f7b5972318565a4638ff4624fd02a727baf64fac455f8c186fd4179bd9
hovercard-subject-tagpull_request:3728287100
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4718/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Addresses the cursor-bot follow-up on #4706: when a coalesced refresh leader takes longer than the follower's 3s poll window, the follower returned null even if the leader persisted mo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4718/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4718%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4718%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4718/files
Reloadhttps://github.com/simstudioai/sim/pull/4718/files
Reloadhttps://github.com/simstudioai/sim/pull/4718/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/oauth-follower-last-chancehttps://github.com/simstudioai/sim/tree/waleedlatif1/oauth-follower-last-chance
Conversation 7 https://github.com/simstudioai/sim/pull/4718
Commits 2 https://github.com/simstudioai/sim/pull/4718/commits
Checks 13 https://github.com/simstudioai/sim/pull/4718/checks
Files changed https://github.com/simstudioai/sim/pull/4718/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4718/files
fix(oauth): follower last-chance read after poll deadline https://github.com/simstudioai/sim/pull/4718/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/4718/files
ab928e3 fix(oauth): follower last-chance read after poll deadline waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4718/commits/ab928e3fffe107eeb35bcdfd32f0a4f3775c6cf3
f3120cf test(oauth): exercise last-chance read in follower timeout test waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4718/commits/f3120cf5279b032da73417ca3ee86a23d5b93434
Clear filters https://github.com/simstudioai/sim/pull/4718/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4718/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4718/files
leader-lock.test.ts https://github.com/simstudioai/sim/pull/4718/files#diff-299c763764464f50ae60a218adab512a28ce961bcb23650fed624b5ea8d781cb
leader-lock.ts https://github.com/simstudioai/sim/pull/4718/files#diff-cd14b6ef4f7365564fe8866b4d457a8a070a7411c79949b5e1f7e0d4e686873a
apps/sim/lib/concurrency/__tests__/leader-lock.test.tshttps://github.com/simstudioai/sim/pull/4718/files#diff-299c763764464f50ae60a218adab512a28ce961bcb23650fed624b5ea8d781cb
View file https://github.com/simstudioai/sim/blob/f3120cf5279b032da73417ca3ee86a23d5b93434/apps/sim/lib/concurrency/__tests__/leader-lock.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4718/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4718/files#diff-299c763764464f50ae60a218adab512a28ce961bcb23650fed624b5ea8d781cb
Please reload this pagehttps://github.com/simstudioai/sim/pull/4718/files
https://github.com/simstudioai/sim/pull/4718/files#diff-299c763764464f50ae60a218adab512a28ce961bcb23650fed624b5ea8d781cb
apps/sim/lib/concurrency/leader-lock.tshttps://github.com/simstudioai/sim/pull/4718/files#diff-cd14b6ef4f7365564fe8866b4d457a8a070a7411c79949b5e1f7e0d4e686873a
View file https://github.com/simstudioai/sim/blob/f3120cf5279b032da73417ca3ee86a23d5b93434/apps/sim/lib/concurrency/leader-lock.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4718/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4718/files#diff-cd14b6ef4f7365564fe8866b4d457a8a070a7411c79949b5e1f7e0d4e686873a
Please reload this pagehttps://github.com/simstudioai/sim/pull/4718/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.