René's URL Explorer Experiment


Title: improvement(subscriptions): added log retention cron, enterprise plan & refactored subscriptions logic by waleedlatif1 · Pull Request #357 · simstudioai/sim · GitHub

Open Graph Title: improvement(subscriptions): added log retention cron, enterprise plan & refactored subscriptions logic by waleedlatif1 · Pull Request #357 · simstudioai/sim

X Title: improvement(subscriptions): added log retention cron, enterprise plan & refactored subscriptions logic by waleedlatif1 · Pull Request #357 · simstudioai/sim

Description: Build, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce. - improvement(subscriptions): added log retention cron, enterprise plan & refactored subscriptions logic by waleedlatif1 · Pull Request #357 · simstudioai/sim

Open Graph Description: added cron to cleanup logs for free users added log retention cron, enterprise plan. refactored subscriptions logic & ui Description Added log retention cron, enterprise plan & refactored ...

X Description: added cron to cleanup logs for free users added log retention cron, enterprise plan. refactored subscriptions logic & ui Description Added log retention cron, enterprise plan & ref...

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

X: @github

direct link

Domain: github.com

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:848cee9d-a9ac-8735-3292-fcfe377df6d5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB374:1166E6:350FC6D:4A03E90:6A63545E
html-safe-noncec66bccb5e8b514b39ccf028183288f313ff4c7b61e6d9da66178528b0a874f44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzc0OjExNjZFNjozNTBGQzZEOjRBMDNFOTA6NkE2MzU0NUUiLCJ2aXNpdG9yX2lkIjoiNzU0OTQyNTU1MTY4NDA5NzExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfa759e4c1f0f8d74fac3960cc6fda4f1c2841ed7cab42a54ba2ddc9a47fc8fc5
hovercard-subject-tagpull_request:2518272482
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/357/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c4a27740d3172d3d28f524a6df3d01a572526e264fe7ec918ba4cb510c448ee9/simstudioai/sim/pull/357
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c4a27740d3172d3d28f524a6df3d01a572526e264fe7ec918ba4cb510c448ee9/simstudioai/sim/pull/357
og:image:altadded cron to cleanup logs for free users added log retention cron, enterprise plan. refactored subscriptions logic & ui Description Added log retention cron, enterprise plan & refactored ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
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
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/357#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F357
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F357
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
Reloadhttps://github.com/simstudioai/sim/pull/357
Reloadhttps://github.com/simstudioai/sim/pull/357
Reloadhttps://github.com/simstudioai/sim/pull/357
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
simstudioai https://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Notifications https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Fork 3.7k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Star 29.2k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Code https://github.com/simstudioai/sim
Issues 111 https://github.com/simstudioai/sim/issues
Pull requests 121 https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality 0 https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Code https://github.com/simstudioai/sim
Issues https://github.com/simstudioai/sim/issues
Pull requests 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
waleedlatif1https://github.com/waleedlatif1
mainhttps://github.com/simstudioai/sim/tree/main
improvement/subshttps://github.com/simstudioai/sim/tree/improvement/subs
Conversationhttps://github.com/simstudioai/sim/pull/357
Commits9 (9)https://github.com/simstudioai/sim/pull/357/commits
Checkshttps://github.com/simstudioai/sim/pull/357/checks
Files changedhttps://github.com/simstudioai/sim/pull/357/files
improvement(subscriptions): added log retention cron, enterprise plan & refactored subscriptions logichttps://github.com/simstudioai/sim/pull/357#top
waleedlatif1https://github.com/waleedlatif1
mainhttps://github.com/simstudioai/sim/tree/main
improvement/subshttps://github.com/simstudioai/sim/tree/improvement/subs
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 14, 2025https://github.com/simstudioai/sim/pull/357#issue-3061938686
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/357
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
May 14, 2025https://github.com/simstudioai/sim/pull/357#issuecomment-2878806169
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/sim-studio/sim/D3t7JQrCmA7Wt3EGU6ubUUrhBvtN
Visit Previewhttps://sim-git-improvement-subs-sim-studio.vercel.app
Add feedbackhttps://vercel.live/open-feedback/sim-git-improvement-subs-sim-studio.vercel.app?via=pr-comment-feedback-link
Inspecthttps://vercel.com/sim-studio/docs/Aug3KZzv4WehjnJEwhoLd6j6Jebj
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://sim-pm8taljxh-sim-studio.vercel.app
Preview – simhttps://sim-pm8taljxh-sim-studio.vercel.app
May 14, 2025 06:15https://github.com/simstudioai/sim/pull/357#event-17646982266
View deploymenthttps://sim-pm8taljxh-sim-studio.vercel.app
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
May 14, 2025 https://github.com/simstudioai/sim/pull/357#pullrequestreview-2838860842
View reviewed changes https://github.com/simstudioai/sim/pull/357/files
greptile-appshttps://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/357#pullrequestreview-2838860842
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Edit PR Review Bot Settingshttps://app.greptile.com/review/github
Greptilehttps://greptile.com?utm_source=greptile_expert&utm_medium=github&utm_campaign=code_reviews&utm_content=sim_357
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/app/admin/waitlist/components/pagination/pagination.tsxhttps://github.com/simstudioai/sim/pull/357/files#diff-844a2e9d194f7d4d32832c1569263a8f112e45e50ce933676039dbe52f9f0b3a
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/app/admin/waitlist/components/search-bar/search-bar.tsxhttps://github.com/simstudioai/sim/pull/357/files#diff-f2c9fc9ee7aac633c15b307565d4b242ada0d8ed7a52dced02b11805b31894cd
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/app/api/admin/waitlist/route.tshttps://github.com/simstudioai/sim/pull/357/files#diff-33e1038f4bb0b6f563c40271ba14bf012614f61e6fb86bf37f76432d81a56d5e
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/app/api/user/subscription/update-seats/route.tshttps://github.com/simstudioai/sim/pull/357/files#diff-949e687242d56b30491bf1e7855a622f82c0d76a08288cddd890d27359817a70
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/app/api/user/subscription/update-seats/route.tshttps://github.com/simstudioai/sim/pull/357/files#diff-949e687242d56b30491bf1e7855a622f82c0d76a08288cddd890d27359817a70
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/db/schema.tshttps://github.com/simstudioai/sim/pull/357/files#diff-a24f4945794057bad5b5a292c9217d0177dd4f7f653853e047475f89e27fd9d1
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/lib/subscription/subscription.tshttps://github.com/simstudioai/sim/pull/357/files#diff-e1c07aeecad236163dd5b53aa723768739f7c6908db16a1808a937a59310ee24
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/lib/subscription/subscription.tshttps://github.com/simstudioai/sim/pull/357/files#diff-e1c07aeecad236163dd5b53aa723768739f7c6908db16a1808a937a59310ee24
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/lib/subscription/utils.test.tshttps://github.com/simstudioai/sim/pull/357/files#diff-cd16c1b63916c7c5a86c444769fc29023cbe44e3bc26c9a1ce8132c20a5e9465
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
apps/sim/lib/usage-monitor.tshttps://github.com/simstudioai/sim/pull/357/files#diff-bd3c0dbe916dd02afa3033f31b86957abceb70df1864d7d5f4177ffd2d0f83ed
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
waleedlatif1https://github.com/waleedlatif1
May 14, 2025 16:11https://github.com/simstudioai/sim/pull/357#commits-pushed-0095ca8
https://github.com/waleedlatif1
added cron to cleanup logs for free usershttps://github.com/simstudioai/sim/pull/357/commits/0095ca8341188acd23e847325742c5807be4463f
0095ca8https://github.com/simstudioai/sim/pull/357/commits/0095ca8341188acd23e847325742c5807be4463f
https://github.com/waleedlatif1
added log retention cron, admin dashboard, & enterprise plan. refacto…https://github.com/simstudioai/sim/pull/357/commits/d25eed1a5fbace98a5e9ef62f19fb1087e7dfa6c
d25eed1https://github.com/simstudioai/sim/pull/357/commits/d25eed1a5fbace98a5e9ef62f19fb1087e7dfa6c
https://github.com/waleedlatif1
added more type safety & added total chat executions to user stats tablehttps://github.com/simstudioai/sim/pull/357/commits/9a081654ea4f84bcc932ff95b5db48eefe74332b
9a08165https://github.com/simstudioai/sim/pull/357/commits/9a081654ea4f84bcc932ff95b5db48eefe74332b
https://github.com/waleedlatif1
removed waitlist + adminhttps://github.com/simstudioai/sim/pull/357/commits/56e233251f8f43ddb1e997075ddc3349b9e4b2b2
56e2332https://github.com/simstudioai/sim/pull/357/commits/56e233251f8f43ddb1e997075ddc3349b9e4b2b2
https://github.com/waleedlatif1
added tests, fixed edge caseshttps://github.com/simstudioai/sim/pull/357/commits/af5240128f70549d61d2529379cf23c06e77fb8f
af52401https://github.com/simstudioai/sim/pull/357/commits/af5240128f70549d61d2529379cf23c06e77fb8f
https://github.com/waleedlatif1
removed migrationshttps://github.com/simstudioai/sim/pull/357/commits/c449ce885707120ccd902a84813c9d4c895a809d
c449ce8https://github.com/simstudioai/sim/pull/357/commits/c449ce885707120ccd902a84813c9d4c895a809d
https://github.com/waleedlatif1
acknowledged PR commentshttps://github.com/simstudioai/sim/pull/357/commits/4d38462bb1f99bf1f07228528d14eedbbc110dd7
4d38462https://github.com/simstudioai/sim/pull/357/commits/4d38462bb1f99bf1f07228528d14eedbbc110dd7
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
force-pushedhttps://github.com/simstudioai/sim/compare/2baab52dfec5c03d6c5d8dd3d7f50119dbd0d742..4d38462bb1f99bf1f07228528d14eedbbc110dd7
2baab52https://github.com/simstudioai/sim/commit/2baab52dfec5c03d6c5d8dd3d7f50119dbd0d742
4d38462https://github.com/simstudioai/sim/commit/4d38462bb1f99bf1f07228528d14eedbbc110dd7
Compare https://github.com/simstudioai/sim/compare/2baab52dfec5c03d6c5d8dd3d7f50119dbd0d742..4d38462bb1f99bf1f07228528d14eedbbc110dd7
May 14, 2025 23:44https://github.com/simstudioai/sim/pull/357#event-17662071639
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-r9bpre5n3-sim-studio.vercel.app
May 14, 2025 23:44https://github.com/simstudioai/sim/pull/357#event-17662071967
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://sim-7f21n1zyt-sim-studio.vercel.app
Preview – simhttps://sim-7f21n1zyt-sim-studio.vercel.app
May 14, 2025 23:48https://github.com/simstudioai/sim/pull/357#event-17662095783
View deploymenthttps://sim-7f21n1zyt-sim-studio.vercel.app
https://github.com/waleedlatif1
added heplers, removed duplicate logichttps://github.com/simstudioai/sim/pull/357/commits/dabf9ddf4985718211fa6767fe7eca010a870aaf
dabf9ddhttps://github.com/simstudioai/sim/pull/357/commits/dabf9ddf4985718211fa6767fe7eca010a870aaf
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-ezhh81uu5-sim-studio.vercel.app
May 15, 2025 00:34https://github.com/simstudioai/sim/pull/357#event-17662396821
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://sim-fxckecal4-sim-studio.vercel.app
Preview – simhttps://sim-fxckecal4-sim-studio.vercel.app
May 15, 2025 00:38https://github.com/simstudioai/sim/pull/357#event-17662426027
View deploymenthttps://sim-fxckecal4-sim-studio.vercel.app
https://github.com/waleedlatif1
removed extraneous commentshttps://github.com/simstudioai/sim/pull/357/commits/e4edb71098a9e536166f0a61d78dfb7a2b7ca4f0
e4edb71https://github.com/simstudioai/sim/pull/357/commits/e4edb71098a9e536166f0a61d78dfb7a2b7ca4f0
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-hv7ipri04-sim-studio.vercel.app
May 15, 2025 01:21https://github.com/simstudioai/sim/pull/357#event-17662777157
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://sim-2sbezy1pd-sim-studio.vercel.app
Preview – simhttps://sim-2sbezy1pd-sim-studio.vercel.app
May 15, 2025 01:25https://github.com/simstudioai/sim/pull/357#event-17662823593
View deploymenthttps://sim-2sbezy1pd-sim-studio.vercel.app
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
43cb4cbhttps://github.com/simstudioai/sim/commit/43cb4cbf15e0e42065468829d9b37c804c7e89ff
May 15, 2025https://github.com/simstudioai/sim/pull/357#event-17662826440
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 15, 2025 01:26https://github.com/simstudioai/sim/pull/357#event-17662827981
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 17, 2026 https://github.com/simstudioai/sim/pull/357#ref-pullrequest-4914289149
revert(mothership): back out v0.8 (#5410) and its bug fixes (#5735) from staging #5739 https://github.com/simstudioai/sim/pull/5739
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%2F357
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/357/files/2baab52dfec5c03d6c5d8dd3d7f50119dbd0d742
Please reload this pagehttps://github.com/simstudioai/sim/pull/357
https://github.com/waleedlatif1
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.