René's URL Explorer Experiment


Title: Serialize `Dash._setup_server` under a lock and publish its flag last by mokashang · Pull Request #3980 · plotly/dash · GitHub

Open Graph Title: Serialize `Dash._setup_server` under a lock and publish its flag last by mokashang · Pull Request #3980 · plotly/dash

X Title: Serialize `Dash._setup_server` under a lock and publish its flag last by mokashang · Pull Request #3980 · plotly/dash

Description: Data Apps & Dashboards for Python. No JavaScript Required. - Serialize `Dash._setup_server` under a lock and publish its flag last by mokashang · Pull Request #3980 · plotly/dash

Open Graph Description: Contributor Checklist I have run the tests locally and they passed. (refer to testing section in contributing) I have added tests, or extended existing tests, to cover any new features or bugs f...

X Description: Contributor Checklist I have run the tests locally and they passed. (refer to testing section in contributing) I have added tests, or extended existing tests, to cover any new features or bugs f...

Opengraph URL: https://github.com/plotly/dash/pull/3980

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8a0312a5-18f0-8125-5edf-54f115dba273
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83C4:14F601:3A709F1:4A18B28:6B01E2B2
html-safe-nonceb7d26a0296916d937dc1a6a8e0153a998db1f4fee76c1fd647ef804debae1ef3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0M0OjE0RjYwMTozQTcwOUYxOjRBMThCMjg6NkIwMUUyQjIiLCJ2aXNpdG9yX2lkIjoiNjEzMjQ0MDg3MjA4OTkzNjU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7276a2c951d2aa8cfe8fe92618d528177b71ad6f49e96c8947555b178c4ec472
hovercard-subject-tagpull_request:4515259739
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/dash/3980/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c4f794e5afb5f56666e4eda15c6632b9cf6489454157be3d3b3c7106fb265571/plotly/dash/pull/3980
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c4f794e5afb5f56666e4eda15c6632b9cf6489454157be3d3b3c7106fb265571/plotly/dash/pull/3980
og:image:altContributor Checklist I have run the tests locally and they passed. (refer to testing section in contributing) I have added tests, or extended existing tests, to cover any new features or bugs f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemokashang
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/plotly/dash git https://github.com/plotly/dash.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id33702544
octolytics-dimension-repository_nwoplotly/dash
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33702544
octolytics-dimension-repository_network_root_nwoplotly/dash
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/plotly/dash/pull/3980#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash%2Fpull%2F3980
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%2Fplotly%2Fdash%2Fpull%2F3980
Sign uphttps://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=plotly%2Fdash
Reloadhttps://github.com/plotly/dash/pull/3980
Reloadhttps://github.com/plotly/dash/pull/3980
Reloadhttps://github.com/plotly/dash/pull/3980
plotlyhttps://github.com/plotly
dashhttps://github.com/plotly/dash
Codehttps://github.com/plotly/dash
Issues388 (388)https://github.com/plotly/dash/issues
Pull requests39 (39)https://github.com/plotly/dash/pulls
Actionshttps://github.com/plotly/dash/actions
Projectshttps://github.com/plotly/dash/projects
Security and qualityhttps://github.com/plotly/dash/security
Insightshttps://github.com/plotly/dash/insights
https://github.com/plotly/dash
T4rk1nhttps://github.com/T4rk1n
plotly:devhttps://github.com/plotly/dash/tree/dev
mokashang:fix/setup-server-race-3971https://github.com/mokashang/dash/tree/fix/setup-server-race-3971
Conversationhttps://github.com/plotly/dash/pull/3980
Commits6 (6)https://github.com/plotly/dash/pull/3980/commits
Checkshttps://github.com/plotly/dash/pull/3980/checks
Files changedhttps://github.com/plotly/dash/pull/3980/files
Serialize Dash._setup_server under a lock and publish its flag lasthttps://github.com/plotly/dash/pull/3980#top
T4rk1nhttps://github.com/T4rk1n
plotly:devhttps://github.com/plotly/dash/tree/dev
mokashang:fix/setup-server-race-3971https://github.com/mokashang/dash/tree/fix/setup-server-race-3971
https://github.com/mokashang
mokashanghttps://github.com/mokashang
Sep 12, 2026https://github.com/plotly/dash/pull/3980#issue-5435808728
contributinghttps://github.com/plotly/dash/blob/master/CONTRIBUTING.md
#3971https://github.com/plotly/dash/issues/3971
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/mokashang
Serialize Dash._setup_server under a lock and publish its flag lasthttps://github.com/plotly/dash/pull/3980/commits/a90bfef4d86f0fb86070ea587fcac8184332cb6b
a90bfefhttps://github.com/plotly/dash/pull/3980/commits/a90bfef4d86f0fb86070ea587fcac8184332cb6b
plotly#3971https://github.com/plotly/dash/issues/3971
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
T4rk1nhttps://github.com/T4rk1n
Sep 14, 2026https://github.com/plotly/dash/pull/3980#event-31126601846
https://github.com/T4rk1n
T4rk1nhttps://github.com/T4rk1n
Sep 16, 2026 https://github.com/plotly/dash/pull/3980#pullrequestreview-5227286358
View reviewed changes https://github.com/plotly/dash/pull/3980/files/a90bfef4d86f0fb86070ea587fcac8184332cb6b
T4rk1nhttps://github.com/T4rk1n
https://github.com/plotly/dash/pull/3980#pullrequestreview-5227286358
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/dash/pull/3980
CHANGELOG.mdhttps://github.com/plotly/dash/pull/3980/files/a90bfef4d86f0fb86070ea587fcac8184332cb6b#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
T4rk1nhttps://github.com/T4rk1n
Sep 16, 2026https://github.com/plotly/dash/pull/3980#discussion_r4029886416
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/dash/pull/3980
mokashanghttps://github.com/mokashang
Sep 20, 2026https://github.com/plotly/dash/pull/3980#discussion_r4057420453
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
6ad48edhttps://github.com/plotly/dash/commit/6ad48ede77e9aabcc60fb7360bd4dfb5ec3c850b
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/mokashang
Serialize router_sync and router_async under a lock, mirror _setup_se…https://github.com/plotly/dash/pull/3980/commits/6ad48ede77e9aabcc60fb7360bd4dfb5ec3c850b
6ad48edhttps://github.com/plotly/dash/pull/3980/commits/6ad48ede77e9aabcc60fb7360bd4dfb5ec3c850b
plotlygh-3971https://github.com/plotly/dash/issues/3971
plotly#3980https://github.com/plotly/dash/pull/3980
https://github.com/plotly/dash/pull/3980)`https://github.com/plotly/dash/pull/3980)`
plotly#3971https://github.com/plotly/dash/issues/3971
https://github.com/mokashang
mokashanghttps://github.com/mokashang
Sep 20, 2026https://github.com/plotly/dash/pull/3980#issuecomment-5751070151
Please reload this pagehttps://github.com/plotly/dash/pull/3980
6ad48ede7https://github.com/plotly/dash/pull/3980/commits/6ad48ede7
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/T4rk1n
Merge branch 'dev' into fix/setup-server-race-3971https://github.com/plotly/dash/pull/3980/commits/b980c879fc9271148497bfc303709f559892b47b
b980c87https://github.com/plotly/dash/pull/3980/commits/b980c879fc9271148497bfc303709f559892b47b
https://github.com/T4rk1n
T4rk1nhttps://github.com/T4rk1n
Sep 21, 2026https://github.com/plotly/dash/pull/3980#issuecomment-5764724864
Please reload this pagehttps://github.com/plotly/dash/pull/3980
T4rk1nhttps://github.com/T4rk1n
September 25, 2026 10:33https://github.com/plotly/dash/pull/3980#commits-pushed-d840f24
https://github.com/T4rk1n
Merge branch 'dev' into fix/setup-server-race-3971https://github.com/plotly/dash/pull/3980/commits/d840f24455fd35b0392c4bbf29482a9b5297128b
d840f24https://github.com/plotly/dash/pull/3980/commits/d840f24455fd35b0392c4bbf29482a9b5297128b
https://github.com/mokashang
Fix pages test isolation and black formatting on router_synchttps://github.com/plotly/dash/pull/3980/commits/5c586fff221d671658557e88de1fd6cd45b2138d
5c586ffhttps://github.com/plotly/dash/pull/3980/commits/5c586fff221d671658557e88de1fd6cd45b2138d
plotly#3980https://github.com/plotly/dash/pull/3980
https://github.com/mokashang
mokashanghttps://github.com/mokashang
Sep 27, 2026https://github.com/plotly/dash/pull/3980#issuecomment-5851819033
5c586fff2https://github.com/plotly/dash/pull/3980/commits/5c586fff2
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/T4rk1n
Merge branch 'dev' into fix/setup-server-race-3971https://github.com/plotly/dash/pull/3980/commits/bab9649253023d6de56c6b4cf76319e6626f521e
bab9649https://github.com/plotly/dash/pull/3980/commits/bab9649253023d6de56c6b4cf76319e6626f521e
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Sep 29, 2026https://github.com/plotly/dash/pull/3980#issuecomment-5892263608
https://sonarcloud.io/dashboard?id=plotly_dash&pullRequest=3980
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
10 New issueshttps://sonarcloud.io/project/issues?id=plotly_dash&pullRequest=3980&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/57c99c752ea927bfb138851f87c6834d88d3cf919db587aef9ad776ef6f3a1ba/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=plotly_dash&pullRequest=3980&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=plotly_dash&pullRequest=3980&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=plotly_dash&pullRequest=3980&metric=new_coverage&view=list
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=plotly_dash&pullRequest=3980&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=plotly_dash&pullRequest=3980
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/T4rk1n
T4rk1nhttps://github.com/T4rk1n
Sep 29, 2026 https://github.com/plotly/dash/pull/3980#pullrequestreview-5354713525
View reviewed changes https://github.com/plotly/dash/pull/3980/files/bab9649253023d6de56c6b4cf76319e6626f521e
https://github.com/T4rk1n
T4rk1nhttps://github.com/T4rk1n
f647f2dhttps://github.com/plotly/dash/commit/f647f2dd21eab8e292f9aab82267fe758e97fd55
Sep 29, 2026https://github.com/plotly/dash/pull/3980#event-32091807140
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/T4rk1n
T4rk1nhttps://github.com/T4rk1n
Oct 15, 2026 https://github.com/plotly/dash/pull/3980#ref-pullrequest-5870423076
Version 4.5.0rc1 #4068 https://github.com/plotly/dash/pull/4068
https://github.com/MingoDynasty
MingoDynastyhttps://github.com/MingoDynasty
Oct 30, 2026 https://github.com/plotly/dash/pull/3980#ref-pullrequest-6111532489
chore(deps): refresh dependencies and uv MingoDynasty/Corporate-Serf-Dashboard#446 https://github.com/MingoDynasty/Corporate-Serf-Dashboard/pull/446
MingoDynastyhttps://github.com/MingoDynasty
Oct 30, 2026 https://github.com/plotly/dash/pull/3980#ref-commit-72f77b7
https://github.com/claude
docs: retire the first-load pages race note, fixed in dash 4.5.0https://github.com/MingoDynasty/Corporate-Serf-Dashboard/commit/72f77b7d4d0f1a866ca003a33e58caf3bf69d60a
72f77b7https://github.com/MingoDynasty/Corporate-Serf-Dashboard/commit/72f77b7d4d0f1a866ca003a33e58caf3bf69d60a
plotly/dash#3980https://github.com/plotly/dash/pull/3980
https://github.com/gillespied
gillespiedhttps://github.com/gillespied
Nov 4, 2026 https://github.com/plotly/dash/pull/3980#ref-pullrequest-6206699775
fix: register Dash /health before Dash() so the ALB health check never needs a user co-cddo/gds-idea-app-kit#66 https://github.com/co-cddo/gds-idea-app-kit/pull/66
https://github.co/hiddenchars
https://github.com/plotly/dash/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash%2Fpull%2F3980
https://github.com/T4rk1n
T4rk1n https://github.com/T4rk1n
https://github.com/plotly/dash/pull/3980/files/bab9649253023d6de56c6b4cf76319e6626f521e
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/T4rk1n
T4rk1n https://github.com/T4rk1n
[BUG] Race condition in Dash._setup_server(): guard flag is set before the work it protects https://github.com/plotly/dash/issues/3971
Please reload this pagehttps://github.com/plotly/dash/pull/3980
https://github.com/mokashang
https://github.com/T4rk1n
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.