| 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:4c8a3a38-bea7-6fcd-56e5-de9933645782 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEC4:29D5DB:8C356D:C0BA72:6AFB49D4 |
| html-safe-nonce | 541b895ab2b0b14be05b013894a3a0b084c4f8fd21627e37b84f2af13876e556 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUM0OjI5RDVEQjo4QzM1NkQ6QzBCQTcyOjZBRkI0OUQ0IiwidmlzaXRvcl9pZCI6IjY2MzIwOTEyODgyNjQ3MjI5MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a76e72c7734de029cddf8c1d2023ed1f5b8be33c44e45ce35c4b5b50e4efb49 |
| hovercard-subject-tag | pull_request:3945931158 |
| 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/5232/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d9819e04b74171ff2963cb76ed683f21a5e4c4dacdbdb19f9a57b5d164b14bcf/simstudioai/sim/pull/5232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9819e04b74171ff2963cb76ed683f21a5e4c4dacdbdb19f9a57b5d164b14bcf/simstudioai/sim/pull/5232 |
| og:image:alt | Summary
Drive the postgres-js pool max and application_name from a per-role profile map keyed by SIM_DB_ROLE (web/trigger/realtime), centralizing all sizing numbers in one as const map in packages... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheodoreSpeaks |
| hostname | github.com |
| expected-hostname | github.com |
| None | acf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1 |
| 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 | 26504db649b58525278f77a52b80ba5f10d5f4de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/5232#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5232 |
| 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%2F5232 |
| 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/5232 |
| Reload | https://github.com/simstudioai/sim/pull/5232 |
| Reload | https://github.com/simstudioai/sim/pull/5232 |
| 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 requests199 (199) | 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 |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| perf/db-pool-profiles | https://github.com/simstudioai/sim/tree/perf/db-pool-profiles |
| Conversation | https://github.com/simstudioai/sim/pull/5232 |
| Commits3 (3) | https://github.com/simstudioai/sim/pull/5232/commits |
| Checks | https://github.com/simstudioai/sim/pull/5232/checks |
| Files changed | https://github.com/simstudioai/sim/pull/5232/files |
| perf(db): per-role Postgres connection-pool profiles | https://github.com/simstudioai/sim/pull/5232#top |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| perf/db-pool-profiles | https://github.com/simstudioai/sim/tree/perf/db-pool-profiles |
|
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issue-4756319352 |
| feat(db): attribute Postgres connections by runtime via application_name #5211 | https://github.com/simstudioai/sim/pull/5211 |
| 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/5232 |
|
| https://github.com/TheodoreSpeaks |
| perf(db): drive Postgres pool size + application_name from per-role p… | https://github.com/simstudioai/sim/pull/5232/commits/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
| 590bfcb | https://github.com/simstudioai/sim/pull/5232/commits/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4814710272 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| 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/6PYewMyo3iaRC5S8q6PuymBQ41PZ |
| Preview | https://docs-git-perf-db-pool-profiles-sim-studio.vercel.app |
| Comment | https://vercel.live/open-feedback/docs-git-perf-db-pool-profiles-sim-studio.vercel.app?via=pr-comment-feedback-link |
| https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5232 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4814710447 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4814710599 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| Cursor Bugbot | https://cursor.com/bugbot |
| c458c1d | https://github.com/simstudioai/sim/commit/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4814722535 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| "fix(db): throw on invalid SIM_DB_ROLE in..." | https://github.com/simstudioai/sim/commit/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=40240705 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4814722773 |
| "perf(db): drive Postgres pool size + app..." | https://github.com/simstudioai/sim/commit/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=40240705 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jun 27, 2026
| https://github.com/simstudioai/sim/pull/5232#pullrequestreview-4583737527 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
| apps/realtime/src/env.ts | https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2#diff-5c65306e6030967d7ca24f19aa8053b848025339b0bbdbc55f7b820bf246f478 |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#discussion_r3484987999 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/simstudioai/sim/pull/5232 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jun 27, 2026
| https://github.com/simstudioai/sim/pull/5232#pullrequestreview-4583737617 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
| apps/realtime/src/env.ts | https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2#diff-5c65306e6030967d7ca24f19aa8053b848025339b0bbdbc55f7b820bf246f478 |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#discussion_r3484988099 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/simstudioai/sim/pull/5232 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| packages/db/db.ts | https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2#diff-65562ec2df68f3735a9b4690adb4f844a74783c9f5c2d7a213a5124a6cd4900a |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#discussion_r3484988105 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/simstudioai/sim/pull/5232 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-krihun80i-sim-studio.vercel.app |
| Preview | https://docs-krihun80i-sim-studio.vercel.app |
| June 27, 2026 02:20 | https://github.com/simstudioai/sim/pull/5232#event-27269935247 |
| View deployment | https://docs-krihun80i-sim-studio.vercel.app |
|
| https://github.com/TheodoreSpeaks |
| fix(db): throw on invalid SIM_DB_ROLE instead of silently using web p… | https://github.com/simstudioai/sim/pull/5232/commits/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| c458c1d | https://github.com/simstudioai/sim/pull/5232/commits/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4819899166 |
| c458c1d | https://github.com/simstudioai/sim/commit/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jun 27, 2026
| https://github.com/simstudioai/sim/pull/5232#pullrequestreview-4585860888 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5232/files/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| cursor | https://github.com/apps/cursor |
| https://github.com/simstudioai/sim/pull/5232#pullrequestreview-4585860888 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTowMTNhYTk2OS00MTYyLTRkYjQtYjliZS03OWY1NDRjNDFmZWYiLCJlbmNyeXB0aW9uS2V5IjoiSzBPMVdmcEhUSkg2dVZYaTdNdXZfSE51ZkpnbTZVeko2MXgzbWZhZ1NFWSIsImJyYW5jaCI6InBlcmYvZGItcG9vbC1wcm9maWxlcyIsInJlcG9Pd25lciI6InNpbXN0dWRpb2FpIiwicmVwb05hbWUiOiJzaW0ifX0 |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor Bugbot | https://cursor.com/bugbot |
| c458c1d | https://github.com/simstudioai/sim/commit/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| packages/db/db.ts | https://github.com/simstudioai/sim/pull/5232/files/c458c1d4e2b0bbfdcc772307979868d965ad1997#diff-65562ec2df68f3735a9b4690adb4f844a74783c9f5c2d7a213a5124a6cd4900a |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-atxtn60a2-sim-studio.vercel.app |
| Preview | https://docs-atxtn60a2-sim-studio.vercel.app |
| June 27, 2026 18:06 | https://github.com/simstudioai/sim/pull/5232#event-27285185837 |
| View deployment | https://docs-atxtn60a2-sim-studio.vercel.app |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#issuecomment-4819941707 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
|
| https://github.com/TheodoreSpeaks |
| fix(db): use Object.hasOwn for SIM_DB_ROLE validation to avoid protot… | https://github.com/simstudioai/sim/pull/5232/commits/4b05050ed538cdc253d39bd123cdfa140f76412c |
| 4b05050 | https://github.com/simstudioai/sim/pull/5232/commits/4b05050ed538cdc253d39bd123cdfa140f76412c |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-7k7sexat5-sim-studio.vercel.app |
| Preview | https://docs-7k7sexat5-sim-studio.vercel.app |
| June 27, 2026 19:04 | https://github.com/simstudioai/sim/pull/5232#event-27286266159 |
| View deployment | https://docs-7k7sexat5-sim-studio.vercel.app |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| 845a627 | https://github.com/simstudioai/sim/commit/845a6276d9523adb2fdd0e1e2d07a31101ae988f |
| Jun 27, 2026 | https://github.com/simstudioai/sim/pull/5232#event-27286414321 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| June 27, 2026 19:15 | https://github.com/simstudioai/sim/pull/5232#event-27286419608 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
|
Jun 27, 2026
| https://github.com/simstudioai/sim/pull/5232#ref-pullrequest-4759808538 |
|
v0.7.16: security hardening, db o11y and profiling, settings UI
#5245
| https://github.com/simstudioai/sim/pull/5245 |
| Deployed | https://docs-7k7sexat5-sim-studio.vercel.app |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://docs-7k7sexat5-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%2F5232 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/5232/files/590bfcbac91bbba72e8ed76d23c1342887aebaf2 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/simstudioai/sim/pull/5232/files/c458c1d4e2b0bbfdcc772307979868d965ad1997 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5232 |
|
| https://github.com/TheodoreSpeaks |
|
| 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 |