| 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:5f7bfbe0-d1d8-184e-5222-4272f66b8462 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E92C:1CB508:562309:7B1885:6AFB4221 |
| html-safe-nonce | 293685a001c087c352c3f1d2bcd59ae0f003e0a9a1c2b7a8776e94517cd005d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTJDOjFDQjUwODo1NjIzMDk6N0IxODg1OjZBRkI0MjIxIiwidmlzaXRvcl9pZCI6IjcxMTEzMTczMDUyOTEzOTE1MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9eeb27a136b580956226886a0c26c4ad185fc1375449da5b0691a2d6465140ee |
| hovercard-subject-tag | pull_request:3849734656 |
| 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/simstudioai/sim/4975/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cc52d390b09e08c73d5c81d5376239f655978a3f13d916f6df0c1aa906b5b1fe/simstudioai/sim/pull/4975 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc52d390b09e08c73d5c81d5376239f655978a3f13d916f6df0c1aa906b5b1fe/simstudioai/sim/pull/4975 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | icecrasher321 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| 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 | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/4975#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4975 |
| 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%2Fsimstudioai%2Fsim%2Fpull%2F4975 |
| 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=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/4975 |
| Reload | https://github.com/simstudioai/sim/pull/4975 |
| Reload | https://github.com/simstudioai/sim/pull/4975 |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests200 (200) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| https://github.com/simstudioai/sim |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| improvement/db-pattern | https://github.com/simstudioai/sim/tree/improvement/db-pattern |
| Conversation | https://github.com/simstudioai/sim/pull/4975 |
| Commits3 (3) | https://github.com/simstudioai/sim/pull/4975/commits |
| Checks | https://github.com/simstudioai/sim/pull/4975/checks |
| Files changed | https://github.com/simstudioai/sim/pull/4975/files |
| fix(db-part-1): eliminate pool self-deadlock from nested checkouts inside transactions | https://github.com/simstudioai/sim/pull/4975#top |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| improvement/db-pattern | https://github.com/simstudioai/sim/tree/improvement/db-pattern |
|
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
| Jun 11, 2026 | https://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 page | https://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 |
| 5357b82 | https://github.com/simstudioai/sim/pull/4975/commits/5357b823149ccd22655fcc89abe3230fb9c3f4ac |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Jun 11, 2026 | https://github.com/simstudioai/sim/pull/4975#issuecomment-4684023353 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| docs | https://vercel.com/sim-studio/docs |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/sim-studio/docs/9cEERNGSvjaGWvQPEmySY5xQwXM2 |
| Preview | https://docs-git-improvement-db-pattern-sim-studio.vercel.app |
| Comment | https://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 page | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
| Jun 11, 2026 | https://github.com/simstudioai/sim/pull/4975#issuecomment-4684023920 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| Cursor Bugbot | https://cursor.com/bugbot |
| a1ddd02 | https://github.com/simstudioai/sim/commit/a1ddd02dc68e731238ca83b1db33299f98f114bc |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-g9ctyiwsy-sim-studio.vercel.app |
| Preview | https://docs-g9ctyiwsy-sim-studio.vercel.app |
| June 11, 2026 19:09 | https://github.com/simstudioai/sim/pull/4975#event-26642179501 |
| View deployment | https://docs-g9ctyiwsy-sim-studio.vercel.app |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 11, 2026 | https://github.com/simstudioai/sim/pull/4975#issuecomment-4684123682 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| link | https://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 Greptile | https://app.greptile.com/api/retrigger?id=37055089 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://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.ts | https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-84f0597e443a9a6bd002ec84d267d6d4f0ba373d3e5dcd90eba7e423b1f217c8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| apps/sim/lib/invitations/core.ts | https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-84f0597e443a9a6bd002ec84d267d6d4f0ba373d3e5dcd90eba7e423b1f217c8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| apps/sim/lib/workflows/persistence/duplicate.ts | https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-582b2a32b88148fde4dacfbcea848875b43626312111ad1c69b0cb797334b8dc |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| apps/sim/lib/knowledge/chunks/service.ts | https://github.com/simstudioai/sim/pull/4975/files/5357b823149ccd22655fcc89abe3230fb9c3f4ac#diff-b8eac784fda1486690e3491e3d247b16ec5de219e4068cad1c161adf0218b865 |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 11, 2026 | https://github.com/simstudioai/sim/pull/4975#discussion_r3398548423 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/simstudioai/sim/pull/4975 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| icecrasher321 | https://github.com/icecrasher321 |
| Jun 12, 2026 | https://github.com/simstudioai/sim/pull/4975#discussion_r3399884278 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| June 11, 2026 16:58 | https://github.com/simstudioai/sim/pull/4975#commits-pushed-0356982 |
| Merge branch 'staging' into improvement/db-pattern | https://github.com/simstudioai/sim/pull/4975/commits/035698243341e6408ad107b1762df882aece1de5 |
| 0356982 | https://github.com/simstudioai/sim/pull/4975/commits/035698243341e6408ad107b1762df882aece1de5 |
| update docs | https://github.com/simstudioai/sim/pull/4975/commits/a1ddd02dc68e731238ca83b1db33299f98f114bc |
| a1ddd02 | https://github.com/simstudioai/sim/pull/4975/commits/a1ddd02dc68e731238ca83b1db33299f98f114bc |
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
| Jun 12, 2026 | https://github.com/simstudioai/sim/pull/4975#issuecomment-4686180529 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/apps/cursor |
| cursor | https://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 |
| cursor | https://github.com/apps/cursor |
| https://github.com/simstudioai/sim/pull/4975#pullrequestreview-4481442346 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTpmN2ExZjMxOC1lNTMwLTRiNDItYmYyMy04ZmFhZTQzYmQ3MzEiLCJlbmNyeXB0aW9uS2V5IjoiX3o1dDA1a3dvb2tZRGdBZzlaS3EzTEViSWpxa0VqY1pqRVpYTkNwZFg1MCIsImJyYW5jaCI6ImltcHJvdmVtZW50L2RiLXBhdHRlcm4iLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIn19 |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor Bugbot | https://cursor.com/bugbot |
| a1ddd02 | https://github.com/simstudioai/sim/commit/a1ddd02dc68e731238ca83b1db33299f98f114bc |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| apps/sim/lib/knowledge/chunks/service.ts | https://github.com/simstudioai/sim/pull/4975/files/a1ddd02dc68e731238ca83b1db33299f98f114bc#diff-b8eac784fda1486690e3491e3d247b16ec5de219e4068cad1c161adf0218b865 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-l2gsiedvx-sim-studio.vercel.app |
| Preview | https://docs-l2gsiedvx-sim-studio.vercel.app |
| June 12, 2026 00:15 | https://github.com/simstudioai/sim/pull/4975#event-26651752029 |
| View deployment | https://docs-l2gsiedvx-sim-studio.vercel.app |
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
| f7b40fe | https://github.com/simstudioai/sim/commit/f7b40fe4a45d9f373d32c2e2444f98841c035d1b |
| Jun 12, 2026 | https://github.com/simstudioai/sim/pull/4975#event-26652040071 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
| TheodoreSpeaks | https://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 |
| a8daebc | https://github.com/simstudioai/sim/commit/a8daebca373456d566a7cc53b52ba1b8d4ab6f1f |
| #4975 | https://github.com/simstudioai/sim/pull/4975 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| June 12, 2026 01:56 | https://github.com/simstudioai/sim/pull/4975#event-26653953142 |
| Deployed | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/simstudioai/sim/pull/4975 |
| Please reload this page | https://github.com/simstudioai/sim/pull/4975 |
|
| https://github.com/icecrasher321 |
|
| 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 |