René's URL Explorer Experiment


Title: improvement(db): opt-in read-replica client + migration runner hardening by waleedlatif1 · Pull Request #4955 · simstudioai/sim · GitHub

Open Graph Title: improvement(db): opt-in read-replica client + migration runner hardening by waleedlatif1 · Pull Request #4955 · simstudioai/sim

X Title: improvement(db): opt-in read-replica client + migration runner hardening by waleedlatif1 · Pull Request #4955 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - improvement(db): opt-in read-replica client + migration runner hardening by waleedlatif1 · Pull Request #4955 · simstudioai/sim

Open Graph Description: Summary Migration runner hardening (packages/db/scripts/migrate.ts) lock_timeout = '5s' asserted at the top of every migration attempt — DDL that can't get its table lock fails fast (S...

X Description: Summary Migration runner hardening (packages/db/scripts/migrate.ts) lock_timeout = '5s' asserted at the top of every migration attempt — DDL that can't get its table lock f...

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

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:d8d5639c-acc8-b658-9085-c2b89a8c63a2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4C4:16FEFE:3F52C7:5900A6:6AFB59E2
html-safe-noncee3118bd16e33f1c68ebc31eb68062e4c19f5f4aa44829a2768ed87e8ba33eb4a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEM0OjE2RkVGRTozRjUyQzc6NTkwMEE2OjZBRkI1OUUyIiwidmlzaXRvcl9pZCI6IjcxNjU1MDMwMTIxMjk2OTIxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb12bb073ae89c9dfcb58647ad98411068975db28506d275b9f2e3fea6ee2eab2
hovercard-subject-tagpull_request:3842901909
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4955/commits
twitter:imagehttps://opengraph.githubassets.com/70b4a89fb8dd16e43f2b9ce66d4f061ba5eed420ae4192e842ee6ffd287a1b61/simstudioai/sim/pull/4955
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/70b4a89fb8dd16e43f2b9ce66d4f061ba5eed420ae4192e842ee6ffd287a1b61/simstudioai/sim/pull/4955
og:image:altSummary Migration runner hardening (packages/db/scripts/migrate.ts) lock_timeout = '5s' asserted at the top of every migration attempt — DDL that can't get its table lock fails fast (S...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4955/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4955%2Fcommits
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%2F4955%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4955/commits
Reloadhttps://github.com/simstudioai/sim/pull/4955/commits
Reloadhttps://github.com/simstudioai/sim/pull/4955/commits
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/rrhttps://github.com/simstudioai/sim/tree/fix/rr
Conversationhttps://github.com/simstudioai/sim/pull/4955
Commits12 (12)https://github.com/simstudioai/sim/pull/4955/commits
Checkshttps://github.com/simstudioai/sim/pull/4955/checks
Files changedhttps://github.com/simstudioai/sim/pull/4955/files
improvement(db): opt-in read-replica client + migration runner hardeninghttps://github.com/simstudioai/sim/pull/4955/commits#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/rrhttps://github.com/simstudioai/sim/tree/fix/rr
improvement(db): add opt-in read-replica client and harden migration runnerhttps://github.com/simstudioai/sim/pull/4955/commits/028d7d6b0aaaea90c306097b59581dfe8eb23dab
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
028d7d6https://github.com/simstudioai/sim/pull/4955/commits/028d7d6b0aaaea90c306097b59581dfe8eb23dab
https://github.com/simstudioai/sim/tree/028d7d6b0aaaea90c306097b59581dfe8eb23dab
fix(db): detect wrapped lock-timeout errors, jittered retries, direct migration DSN supporthttps://github.com/simstudioai/sim/pull/4955/commits/232c9ea5bd15237751feca0d4f6967e949d99e99
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
232c9eahttps://github.com/simstudioai/sim/pull/4955/commits/232c9ea5bd15237751feca0d4f6967e949d99e99
https://github.com/simstudioai/sim/tree/232c9ea5bd15237751feca0d4f6967e949d99e99
fix(db): audit fixes — unparameterized SET, primary reads for authz scoping, shared error helperhttps://github.com/simstudioai/sim/pull/4955/commits/7202c12d576f8f9ec1cda0313685d24c300c8005
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
7202c12https://github.com/simstudioai/sim/pull/4955/commits/7202c12d576f8f9ec1cda0313685d24c300c8005
https://github.com/simstudioai/sim/tree/7202c12d576f8f9ec1cda0313685d24c300c8005
fix(db): pin migration session — disable max_lifetime recycling, guard backend pid across retrieshttps://github.com/simstudioai/sim/pull/4955/commits/a050e3538881a7877f82836e1865ad8881998244
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
a050e35https://github.com/simstudioai/sim/pull/4955/commits/a050e3538881a7877f82836e1865ad8881998244
https://github.com/simstudioai/sim/tree/a050e3538881a7877f82836e1865ad8881998244
fix(db): gate pid session guard to direct migration connections (pooler pids legitimately vary)https://github.com/simstudioai/sim/pull/4955/commits/077fe06a30233b1d80b3b8390e559acde614b337
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
077fe06https://github.com/simstudioai/sim/pull/4955/commits/077fe06a30233b1d80b3b8390e559acde614b337
https://github.com/simstudioai/sim/tree/077fe06a30233b1d80b3b8390e559acde614b337
improvement(billing): route display-only usage aggregations to the read replica via executor threadinghttps://github.com/simstudioai/sim/pull/4955/commits/1abc8e0e9784d1e5f92df143d15fca7b11090bbd
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
1abc8e0https://github.com/simstudioai/sim/pull/4955/commits/1abc8e0e9784d1e5f92df143d15fca7b11090bbd
https://github.com/simstudioai/sim/tree/1abc8e0e9784d1e5f92df143d15fca7b11090bbd
chore(db): drop call-site justification commentshttps://github.com/simstudioai/sim/pull/4955/commits/52757a994155b792bc8097c57c0ce8b0e330e37b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
52757a9https://github.com/simstudioai/sim/pull/4955/commits/52757a994155b792bc8097c57c0ce8b0e330e37b
https://github.com/simstudioai/sim/tree/52757a994155b792bc8097c57c0ce8b0e330e37b
chore(db): tighten doc commentshttps://github.com/simstudioai/sim/pull/4955/commits/c277a595e3cb9d7e63ef6ea6b6be09cd61c6a06e
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
c277a59https://github.com/simstudioai/sim/pull/4955/commits/c277a595e3cb9d7e63ef6ea6b6be09cd61c6a06e
https://github.com/simstudioai/sim/tree/c277a595e3cb9d7e63ef6ea6b6be09cd61c6a06e
ci(migrations): map optional direct-connection DSN secretshttps://github.com/simstudioai/sim/pull/4955/commits/8b6184fe4b4d575aa2afcc6f136369f33c481707
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
8b6184fhttps://github.com/simstudioai/sim/pull/4955/commits/8b6184fe4b4d575aa2afcc6f136369f33c481707
https://github.com/simstudioai/sim/tree/8b6184fe4b4d575aa2afcc6f136369f33c481707
fix(data-drains): add stability window to time cursors so late-visible rows are never skippedhttps://github.com/simstudioai/sim/pull/4955/commits/1fd5b0dd324080594205d65eae29f0bef8f2bd1e
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
1fd5b0dhttps://github.com/simstudioai/sim/pull/4955/commits/1fd5b0dd324080594205d65eae29f0bef8f2bd1e
https://github.com/simstudioai/sim/tree/1fd5b0dd324080594205d65eae29f0bef8f2bd1e
fix(billing): resolve pagination cursor on primary; replica for member ledger displayhttps://github.com/simstudioai/sim/pull/4955/commits/3d6c9662b7fa64b38e2485ac0c9975401ee073dd
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
3d6c966https://github.com/simstudioai/sim/pull/4955/commits/3d6c9662b7fa64b38e2485ac0c9975401ee073dd
https://github.com/simstudioai/sim/tree/3d6c9662b7fa64b38e2485ac0c9975401ee073dd
fix(billing): usage-limits returns cost and limit from one computationhttps://github.com/simstudioai/sim/pull/4955/commits/f07823379661d280737ac5e53fea6f57d294bf81
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
f078233https://github.com/simstudioai/sim/pull/4955/commits/f07823379661d280737ac5e53fea6f57d294bf81
https://github.com/simstudioai/sim/tree/f07823379661d280737ac5e53fea6f57d294bf81
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.