René's URL Explorer Experiment


Title: feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fallback) by TheodoreSpeaks · Pull Request #5276 · simstudioai/sim · GitHub

Open Graph Title: feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fallback) by TheodoreSpeaks · Pull Request #5276 · simstudioai/sim

X Title: feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fallback) by TheodoreSpeaks · Pull Request #5276 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fallback) by TheodoreSpeaks · Pull Request #5276 · simstudioai/sim

Open Graph Description: Summary @sim/db now resolves its connection URL per runtime role: DATABASE_URL_<ROLE> (e.g. DATABASE_URL_TRIGGER) when set, falling back to the existing DATABASE_URL — same for the replica (...

X Description: Summary @sim/db now resolves its connection URL per runtime role: DATABASE_URL_&lt;ROLE&gt; (e.g. DATABASE_URL_TRIGGER) when set, falling back to the existing DATABASE_URL — same for the r...

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

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:c8d6cdb4-24a4-45f3-48e7-eb8e015483b9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94B0:1ACA1F:385233:509311:6AFB39EC
html-safe-noncee99888b127df3b448f3222135a38bac4d364d527693e496ecc6b99c8978b401d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEIwOjFBQ0ExRjozODUyMzM6NTA5MzExOjZBRkIzOUVDIiwidmlzaXRvcl9pZCI6IjIyMDIxMDg3ODc2MjIwOTk0MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7d4defc442ac758317e86db3e0bb7e2b59cf577beb79fc2753099d50fcf51d13
hovercard-subject-tagpull_request:3959889176
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/5276/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aec0869211910f6214fa98d45b98d481876b02e3ec8ee4b43b7318ae92be7759/simstudioai/sim/pull/5276
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aec0869211910f6214fa98d45b98d481876b02e3ec8ee4b43b7318ae92be7759/simstudioai/sim/pull/5276
og:image:altSummary @sim/db now resolves its connection URL per runtime role: DATABASE_URL_<ROLE> (e.g. DATABASE_URL_TRIGGER) when set, falling back to the existing DATABASE_URL — same for the replica (...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTheodoreSpeaks
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
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
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5276#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5276
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%2F5276
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/5276
Reloadhttps://github.com/simstudioai/sim/pull/5276
Reloadhttps://github.com/simstudioai/sim/pull/5276
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/db-url-per-rolehttps://github.com/simstudioai/sim/tree/feat/db-url-per-role
Conversationhttps://github.com/simstudioai/sim/pull/5276
Commits2 (2)https://github.com/simstudioai/sim/pull/5276/commits
Checkshttps://github.com/simstudioai/sim/pull/5276/checks
Files changedhttps://github.com/simstudioai/sim/pull/5276/files
feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fallback)https://github.com/simstudioai/sim/pull/5276#top
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/db-url-per-rolehttps://github.com/simstudioai/sim/tree/feat/db-url-per-role
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issue-4772979400
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/5276
https://github.com/TheodoreSpeaks
feat(db): resolve DATABASE_URL per role (DATABASE_URL_ with fal…https://github.com/simstudioai/sim/pull/5276/commits/98c5fdd26d37586c22050494e3bf976fae153b51
98c5fddhttps://github.com/simstudioai/sim/pull/5276/commits/98c5fdd26d37586c22050494e3bf976fae153b51
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issuecomment-4839162985
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/64ipmyQi88g5u4jtDpKCj1Y27oTZ
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5276
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issuecomment-4839163281
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
Cursor Bugbothttps://cursor.com/bugbot
6cdb5a6https://github.com/simstudioai/sim/commit/6cdb5a679f5a733232769c8bca5e05ffe7bd0dc9
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 30, 2026 https://github.com/simstudioai/sim/pull/5276#pullrequestreview-4596663567
View reviewed changes https://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/5276#pullrequestreview-4596663567
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo4NjNmNWRhZi0zOTlmLTQzOTYtYWU4MC1mZmYxYWNhYjhlYTYiLCJlbmNyeXB0aW9uS2V5IjoicHBzT1hfd2VHdy0xN1pqSXB5RlVBNlpuQ3A3bnFma0NjblR4bzlaX0VldyIsImJyYW5jaCI6ImZlYXQvZGItdXJsLXBlci1yb2xlIiwicmVwb093bmVyIjoic2ltc3R1ZGlvYWkiLCJyZXBvTmFtZSI6InNpbSJ9fQ
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
98c5fddhttps://github.com/simstudioai/sim/commit/98c5fdd26d37586c22050494e3bf976fae153b51
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
apps/realtime/src/database/operations.tshttps://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51#diff-e8428fa80ec5afb5442d2c399ae8dccd54ba450b45cbaae13a15c833911be725
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issuecomment-4839169575
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
"fix(db): pin realtime process to SIM_DB_..."https://github.com/simstudioai/sim/commit/6cdb5a679f5a733232769c8bca5e05ffe7bd0dc9
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=40700905
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Jun 30, 2026 https://github.com/simstudioai/sim/pull/5276#pullrequestreview-4596664902
View reviewed changes https://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51
apps/realtime/src/database/operations.tshttps://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51#diff-e8428fa80ec5afb5442d2c399ae8dccd54ba450b45cbaae13a15c833911be725
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-1t59pdepg-sim-studio.vercel.app
Previewhttps://docs-1t59pdepg-sim-studio.vercel.app
June 30, 2026 01:57https://github.com/simstudioai/sim/pull/5276#event-27357038165
View deploymenthttps://docs-1t59pdepg-sim-studio.vercel.app
https://github.com/TheodoreSpeaks
fix(db): pin realtime process to SIM_DB_ROLE=realtime so both pools s…https://github.com/simstudioai/sim/pull/5276/commits/6cdb5a679f5a733232769c8bca5e05ffe7bd0dc9
6cdb5a6https://github.com/simstudioai/sim/pull/5276/commits/6cdb5a679f5a733232769c8bca5e05ffe7bd0dc9
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
code ownerhttps://github.com/simstudioai/sim/blob/89253348130d2611973b4c891ce13fe52522846c/.github/CODEOWNERS#L36
June 30, 2026 02:01https://github.com/simstudioai/sim/pull/5276#event-27357134445
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-n2cxx3v65-sim-studio.vercel.app
June 30, 2026 02:01https://github.com/simstudioai/sim/pull/5276#event-27357135781
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issuecomment-4839202865
6cdb5a6https://github.com/simstudioai/sim/commit/6cdb5a679f5a733232769c8bca5e05ffe7bd0dc9
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#issuecomment-4847070628
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
0613cebhttps://github.com/simstudioai/sim/commit/0613cebfab087f5a77674de8eef35515f4e3c528
Jun 30, 2026https://github.com/simstudioai/sim/pull/5276#event-27395256479
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
June 30, 2026 19:17https://github.com/simstudioai/sim/pull/5276#event-27395258357
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Jun 30, 2026 https://github.com/simstudioai/sim/pull/5276#ref-pullrequest-4780357846
v0.7.18: landing, tools depth, media embeds in md editor, sonnet 5 #5296 https://github.com/simstudioai/sim/pull/5296
Deployedhttps://docs-n2cxx3v65-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-n2cxx3v65-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%2F5276
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/5276/files/98c5fdd26d37586c22050494e3bf976fae153b51
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
Please reload this pagehttps://github.com/simstudioai/sim/pull/5276
https://github.com/TheodoreSpeaks
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.