René's URL Explorer Experiment


Title: fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactions by icecrasher321 · Pull Request #4975 · simstudioai/sim · GitHub

Open Graph Title: fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactions by icecrasher321 · Pull Request #4975 · simstudioai/sim

X Title: fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactions by icecrasher321 · Pull Request #4975 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactions by icecrasher321 · Pull Request #4975 · simstudioai/sim

Open Graph Description: Summary Fix 10 paths where code inside db.transaction callbacks queried the global postgres-js pool instead of the tx handle — at saturation, every held connection waits on a second checkout and ...

X Description: Summary Fix 10 paths where code inside db.transaction callbacks queried the global postgres-js pool instead of the tx handle — at saturation, every held connection waits on a second checkout and ...

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

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/_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:5f7bfbe0-d1d8-184e-5222-4272f66b8462
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE92C:1CB508:562309:7B1885:6AFB4221
html-safe-nonce293685a001c087c352c3f1d2bcd59ae0f003e0a9a1c2b7a8776e94517cd005d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTJDOjFDQjUwODo1NjIzMDk6N0IxODg1OjZBRkI0MjIxIiwidmlzaXRvcl9pZCI6IjcxMTEzMTczMDUyOTEzOTE1MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9eeb27a136b580956226886a0c26c4ad185fc1375449da5b0691a2d6465140ee
hovercard-subject-tagpull_request:3849734656
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/simstudioai/sim/4975/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cc52d390b09e08c73d5c81d5376239f655978a3f13d916f6df0c1aa906b5b1fe/simstudioai/sim/pull/4975
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cc52d390b09e08c73d5c81d5376239f655978a3f13d916f6df0c1aa906b5b1fe/simstudioai/sim/pull/4975
og:image:altSummary Fix 10 paths where code inside db.transaction callbacks queried the global postgres-js pool instead of the tx handle — at saturation, every held connection waits on a second checkout and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameicecrasher321
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4975#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4975
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%2F4975
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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4975
Reloadhttps://github.com/simstudioai/sim/pull/4975
Reloadhttps://github.com/simstudioai/sim/pull/4975
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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
https://github.com/simstudioai/sim
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/db-patternhttps://github.com/simstudioai/sim/tree/improvement/db-pattern
Conversationhttps://github.com/simstudioai/sim/pull/4975
Commits3 (3)https://github.com/simstudioai/sim/pull/4975/commits
Checkshttps://github.com/simstudioai/sim/pull/4975/checks
Files changedhttps://github.com/simstudioai/sim/pull/4975/files
fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactionshttps://github.com/simstudioai/sim/pull/4975#top
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/db-patternhttps://github.com/simstudioai/sim/tree/improvement/db-pattern
https://github.com/icecrasher321
icecrasher321https://github.com/icecrasher321
Jun 11, 2026https://github.com/simstudioai/sim/pull/4975#issue-4643421833
Contributor License Agreement (CLA)https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
fix(db-part-1): eliminate pool self-deadlock from nested checkouts in…https://github.com/simstudioai/sim/pull/4975/commits/5357b823149ccd22655fcc89abe3230fb9c3f4ac
5357b82https://github.com/simstudioai/sim/pull/4975/commits/5357b823149ccd22655fcc89abe3230fb9c3f4ac
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 11, 2026https://github.com/simstudioai/sim/pull/4975#issuecomment-4684023353
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/sim-studio/docs/9cEERNGSvjaGWvQPEmySY5xQwXM2
Previewhttps://docs-git-improvement-db-pattern-sim-studio.vercel.app
Commenthttps://vercel.live/open-feedback/docs-git-improvement-db-pattern-sim-studio.vercel.app?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=4975
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 11, 2026https://github.com/simstudioai/sim/pull/4975#issuecomment-4684023920
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
Cursor Bugbothttps://cursor.com/bugbot
a1ddd02https://github.com/simstudioai/sim/commit/a1ddd02dc68e731238ca83b1db33299f98f114bc
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-g9ctyiwsy-sim-studio.vercel.app
Previewhttps://docs-g9ctyiwsy-sim-studio.vercel.app
June 11, 2026 19:09https://github.com/simstudioai/sim/pull/4975#event-26642179501
View deploymenthttps://docs-g9ctyiwsy-sim-studio.vercel.app
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Jun 11, 2026https://github.com/simstudioai/sim/pull/4975#issuecomment-4684123682
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
linkhttps://github.com/simstudioai/sim/blob/5357b823149ccd22655fcc89abe3230fb9c3f4ac/apps/sim/lib/mcp/workflow-mcp-sync.ts#L174-L194
https://github.com/simstudioai/sim/pull/4975
"fix(db-part-1): eliminate pool self-dead..."https://github.com/simstudioai/sim/commit/5357b823149ccd22655fcc89abe3230fb9c3f4ac
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=37055089
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Jun 11, 2026 https://github.com/simstudioai/sim/pull/4975#pullrequestreview-4479852019
View reviewed changes https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac
apps/sim/lib/invitations/core.tshttps://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-84f0597e443a9a6bd002ec84d267d6d4f0ba373d3e5dcd90eba7e423b1f217c8
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
apps/sim/lib/invitations/core.tshttps://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-84f0597e443a9a6bd002ec84d267d6d4f0ba373d3e5dcd90eba7e423b1f217c8
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
apps/sim/lib/workflows/persistence/duplicate.tshttps://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-582b2a32b88148fde4dacfbcea848875b43626312111ad1c69b0cb797334b8dc
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
apps/sim/lib/knowledge/chunks/service.tshttps://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-b8eac784fda1486690e3491e3d247b16ec5de219e4068cad1c161adf0218b865
greptile-appshttps://github.com/apps/greptile-apps
Jun 11, 2026https://github.com/simstudioai/sim/pull/4975#discussion_r3398548423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/simstudioai/sim/pull/4975
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
icecrasher321https://github.com/icecrasher321
Jun 12, 2026https://github.com/simstudioai/sim/pull/4975#discussion_r3399884278
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
June 11, 2026 16:58https://github.com/simstudioai/sim/pull/4975#commits-pushed-0356982
Merge branch 'staging' into improvement/db-patternhttps://github.com/simstudioai/sim/pull/4975/commits/035698243341e6408ad107b1762df882aece1de5
0356982https://github.com/simstudioai/sim/pull/4975/commits/035698243341e6408ad107b1762df882aece1de5
update docshttps://github.com/simstudioai/sim/pull/4975/commits/a1ddd02dc68e731238ca83b1db33299f98f114bc
a1ddd02https://github.com/simstudioai/sim/pull/4975/commits/a1ddd02dc68e731238ca83b1db33299f98f114bc
https://github.com/icecrasher321
icecrasher321https://github.com/icecrasher321
Jun 12, 2026https://github.com/simstudioai/sim/pull/4975#issuecomment-4686180529
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 12, 2026 https://github.com/simstudioai/sim/pull/4975#pullrequestreview-4481442346
View reviewed changes https://github.com/simstudioai/sim/pull/4975/files/a1ddd02dc68e731238ca83b1db33299f98f114bc
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4975#pullrequestreview-4481442346
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTpmN2ExZjMxOC1lNTMwLTRiNDItYmYyMy04ZmFhZTQzYmQ3MzEiLCJlbmNyeXB0aW9uS2V5IjoiX3o1dDA1a3dvb2tZRGdBZzlaS3EzTEViSWpxa0VqY1pqRVpYTkNwZFg1MCIsImJyYW5jaCI6ImltcHJvdmVtZW50L2RiLXBhdHRlcm4iLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIn19
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
a1ddd02https://github.com/simstudioai/sim/commit/a1ddd02dc68e731238ca83b1db33299f98f114bc
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
apps/sim/lib/knowledge/chunks/service.tshttps://github.com/simstudioai/sim/pull/4975/files/a1ddd02dc68e731238ca83b1db33299f98f114bc#diff-b8eac784fda1486690e3491e3d247b16ec5de219e4068cad1c161adf0218b865
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-l2gsiedvx-sim-studio.vercel.app
Previewhttps://docs-l2gsiedvx-sim-studio.vercel.app
June 12, 2026 00:15https://github.com/simstudioai/sim/pull/4975#event-26651752029
View deploymenthttps://docs-l2gsiedvx-sim-studio.vercel.app
https://github.com/icecrasher321
icecrasher321https://github.com/icecrasher321
f7b40fehttps://github.com/simstudioai/sim/commit/f7b40fe4a45d9f373d32c2e2444f98841c035d1b
Jun 12, 2026https://github.com/simstudioai/sim/pull/4975#event-26652040071
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 12, 2026 https://github.com/simstudioai/sim/pull/4975#ref-commit-a8daebc
https://github.com/TheodoreSpeaks
https://github.com/claude
Merge remote-tracking branch 'origin/staging' into improvement/table-…https://github.com/simstudioai/sim/commit/a8daebca373456d566a7cc53b52ba1b8d4ab6f1f
a8daebchttps://github.com/simstudioai/sim/commit/a8daebca373456d566a7cc53b52ba1b8d4ab6f1f
#4975https://github.com/simstudioai/sim/pull/4975
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
June 12, 2026 01:56https://github.com/simstudioai/sim/pull/4975#event-26653953142
Deployedhttps://docs-l2gsiedvx-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-l2gsiedvx-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/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%2Fsimstudioai%2Fsim%2Fpull%2F4975
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4975/files/a1ddd02dc68e731238ca83b1db33299f98f114bc
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
Please reload this pagehttps://github.com/simstudioai/sim/pull/4975
https://github.com/icecrasher321
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.