René's URL Explorer Experiment


Title: feat(billing): unify upgrade routing with reason context + storage/tables limit emails by waleedlatif1 · Pull Request #5171 · simstudioai/sim · GitHub

Open Graph Title: feat(billing): unify upgrade routing with reason context + storage/tables limit emails by waleedlatif1 · Pull Request #5171 · simstudioai/sim

X Title: feat(billing): unify upgrade routing with reason context + storage/tables limit emails by waleedlatif1 · Pull Request #5171 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - feat(billing): unify upgrade routing with reason context + storage/tables limit emails by waleedlatif1 · Pull Request #5171 · simstudioai/sim

Open Graph Description: Summary Add a single upgrade-reason registry (lib/billing/upgrade-reasons.ts) — the source of truth for the language shown when a usage limit routes a user to the upgrade page. The same copy drive...

X Description: Summary Add a single upgrade-reason registry (lib/billing/upgrade-reasons.ts) — the source of truth for the language shown when a usage limit routes a user to the upgrade page. The same copy drive...

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

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:0a7b746b-bba3-4563-2d49-ffb523bbbc55
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB570:4466C:16D834:1FD59E:6AFB4E38
html-safe-nonce6e1b4dcc9066334373123756e351592285d234f390d5b7aeb5fd6d6aee4772d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTcwOjQ0NjZDOjE2RDgzNDoxRkQ1OUU6NkFGQjRFMzgiLCJ2aXNpdG9yX2lkIjoiNzU3NTQzNzkxMzc0ODA5ODYxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacefe015447a8b7f777fb7343d879cdd517fcc75370a5a46cfcbf7636750009cc9
hovercard-subject-tagpull_request:3915209628
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/5171/commits
twitter:imagehttps://opengraph.githubassets.com/ae3fddf79a676e80c9b56366aa09f613080013b1af8015aa6801d50257f00e0a/simstudioai/sim/pull/5171
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae3fddf79a676e80c9b56366aa09f613080013b1af8015aa6801d50257f00e0a/simstudioai/sim/pull/5171
og:image:altSummary Add a single upgrade-reason registry (lib/billing/upgrade-reasons.ts) — the source of truth for the language shown when a usage limit routes a user to the upgrade page. The same copy drive...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
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
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5171/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5171%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%2F5171%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/5171/commits
Reloadhttps://github.com/simstudioai/sim/pull/5171/commits
Reloadhttps://github.com/simstudioai/sim/pull/5171/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
feat/usage-limit-upgrade-systemhttps://github.com/simstudioai/sim/tree/feat/usage-limit-upgrade-system
Conversationhttps://github.com/simstudioai/sim/pull/5171
Commits16 (16)https://github.com/simstudioai/sim/pull/5171/commits
Checkshttps://github.com/simstudioai/sim/pull/5171/checks
Files changedhttps://github.com/simstudioai/sim/pull/5171/files
feat(billing): unify upgrade routing with reason context + storage/tables limit emailshttps://github.com/simstudioai/sim/pull/5171/commits#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/usage-limit-upgrade-systemhttps://github.com/simstudioai/sim/tree/feat/usage-limit-upgrade-system
feat(billing): unify upgrade routing with reason context + storage/tables limit emailshttps://github.com/simstudioai/sim/pull/5171/commits/d6b8de206605a7b7ba7a58f7cb0ff2c9f9d1713c
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
d6b8de2https://github.com/simstudioai/sim/pull/5171/commits/d6b8de206605a7b7ba7a58f7cb0ff2c9f9d1713c
https://github.com/simstudioai/sim/tree/d6b8de206605a7b7ba7a58f7cb0ff2c9f9d1713c
fix(billing): re-arm limit-notification dedup on usage drops (prior-usage + decrement)https://github.com/simstudioai/sim/pull/5171/commits/8a1bbf402c7895d3052537a1abc42e40a1e46d88
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
8a1bbf4https://github.com/simstudioai/sim/pull/5171/commits/8a1bbf402c7895d3052537a1abc42e40a1e46d88
https://github.com/simstudioai/sim/tree/8a1bbf402c7895d3052537a1abc42e40a1e46d88
fix(billing): isolate per-admin email failures in org limit notificationshttps://github.com/simstudioai/sim/pull/5171/commits/3848e72c94706773d9ac4cfd2ab5acb9cc957683
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
3848e72https://github.com/simstudioai/sim/pull/5171/commits/3848e72c94706773d9ac4cfd2ab5acb9cc957683
https://github.com/simstudioai/sim/tree/3848e72c94706773d9ac4cfd2ab5acb9cc957683
fix(billing): re-arm limit dedup at zero usage and zero prior usage (full clear / wipe-rebuild)https://github.com/simstudioai/sim/pull/5171/commits/f026df67f91c3078b3714447782306cc97f1c5db
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
f026df6https://github.com/simstudioai/sim/pull/5171/commits/f026df67f91c3078b3714447782306cc97f1c5db
https://github.com/simstudioai/sim/tree/f026df67f91c3078b3714447782306cc97f1c5db
fix(billing): make storage-decrement notification re-arm only (never send on a shrink)https://github.com/simstudioai/sim/pull/5171/commits/921ccbc293458c8577e21d13cf2b9cf2bec02ab5
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
921ccbchttps://github.com/simstudioai/sim/pull/5171/commits/921ccbc293458c8577e21d13cf2b9cf2bec02ab5
https://github.com/simstudioai/sim/tree/921ccbc293458c8577e21d13cf2b9cf2bec02ab5
fix(billing): resolve recipients before claiming so opt-outs don't burn the dedup thresholdhttps://github.com/simstudioai/sim/pull/5171/commits/13bf0fe38ec986d3d6aa9c8128f950e461023027
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
13bf0fehttps://github.com/simstudioai/sim/pull/5171/commits/13bf0fe38ec986d3d6aa9c8128f950e461023027
https://github.com/simstudioai/sim/tree/13bf0fe38ec986d3d6aa9c8128f950e461023027
fix(billing): fire table limit emails on upsert inserts via shared notifyTableRowUsagehttps://github.com/simstudioai/sim/pull/5171/commits/9981a207617545b1a8b3378c94a10b7eef4b0ecc
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
9981a20https://github.com/simstudioai/sim/pull/5171/commits/9981a207617545b1a8b3378c94a10b7eef4b0ecc
https://github.com/simstudioai/sim/tree/9981a207617545b1a8b3378c94a10b7eef4b0ecc
chore(billing): only log a limit email as sent when a recipient actually received ithttps://github.com/simstudioai/sim/pull/5171/commits/d915407b2bc0d38fcbef9568c435330696aa5e37
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
d915407https://github.com/simstudioai/sim/pull/5171/commits/d915407b2bc0d38fcbef9568c435330696aa5e37
https://github.com/simstudioai/sim/tree/d915407b2bc0d38fcbef9568c435330696aa5e37
chore(billing): match to_jsonb int cast between claim and re-arm for consistencyhttps://github.com/simstudioai/sim/pull/5171/commits/99177d94eac71241cd0b46cedb48905d9d984c4c
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
99177d9https://github.com/simstudioai/sim/pull/5171/commits/99177d94eac71241cd0b46cedb48905d9d984c4c
https://github.com/simstudioai/sim/tree/99177d94eac71241cd0b46cedb48905d9d984c4c
fix(billing): notify table limits post-commit so a rolled-back insert never emails or burns the claimhttps://github.com/simstudioai/sim/pull/5171/commits/b99367d03cb02f6b5dd769287873a0e7386ef884
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
b99367dhttps://github.com/simstudioai/sim/pull/5171/commits/b99367d03cb02f6b5dd769287873a0e7386ef884
https://github.com/simstudioai/sim/tree/b99367d03cb02f6b5dd769287873a0e7386ef884
feat(pi): swap Pi Coding Agent icon to the pi glyph and use a black bgColorhttps://github.com/simstudioai/sim/pull/5171/commits/d43e683ecaf82b180bd4cbcca4580bd7fb58b068
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
d43e683https://github.com/simstudioai/sim/pull/5171/commits/d43e683ecaf82b180bd4cbcca4580bd7fb58b068
https://github.com/simstudioai/sim/tree/d43e683ecaf82b180bd4cbcca4580bd7fb58b068
fix(billing): drop priorUsage re-arm to make dedup a single atomic claim (no duplicate-email race)https://github.com/simstudioai/sim/pull/5171/commits/c10f65617de39e09fe3eb5712b3da435409558aa
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
c10f656https://github.com/simstudioai/sim/pull/5171/commits/c10f65617de39e09fe3eb5712b3da435409558aa
https://github.com/simstudioai/sim/tree/c10f65617de39e09fe3eb5712b3da435409558aa
docs(billing): move limit-notification rationale to TSDoc, correct tables warn-once behaviorhttps://github.com/simstudioai/sim/pull/5171/commits/a7ae72d703ccaa0fdae839c685a1c684052ab794
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
a7ae72dhttps://github.com/simstudioai/sim/pull/5171/commits/a7ae72d703ccaa0fdae839c685a1c684052ab794
https://github.com/simstudioai/sim/tree/a7ae72d703ccaa0fdae839c685a1c684052ab794
docs(db): note limit_notifications dedup is per-account, not per-tablehttps://github.com/simstudioai/sim/pull/5171/commits/f467991350a663326ba04f728aa9fb5c2f4ea9bf
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
f467991https://github.com/simstudioai/sim/pull/5171/commits/f467991350a663326ba04f728aa9fb5c2f4ea9bf
https://github.com/simstudioai/sim/tree/f467991350a663326ba04f728aa9fb5c2f4ea9bf
perf(billing): cut redundant subscription fetches and edge-gate notify to slash DB loadhttps://github.com/simstudioai/sim/pull/5171/commits/375317b66efbc2ced31687b0158aef0f25900c12
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
375317bhttps://github.com/simstudioai/sim/pull/5171/commits/375317b66efbc2ced31687b0158aef0f25900c12
https://github.com/simstudioai/sim/tree/375317b66efbc2ced31687b0158aef0f25900c12
docs(billing): drop self-explanatory inline comments from the notification pathhttps://github.com/simstudioai/sim/pull/5171/commits/79a4d0855a644e6ddc0a905bb6b1f4cd60dbb1a2
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
79a4d08https://github.com/simstudioai/sim/pull/5171/commits/79a4d0855a644e6ddc0a905bb6b1f4cd60dbb1a2
https://github.com/simstudioai/sim/tree/79a4d0855a644e6ddc0a905bb6b1f4cd60dbb1a2
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.