René's URL Explorer Experiment


Title: improvement(knowledge): cache admitted usage checks on the search path by waleedlatif1 · Pull Request #7989 · simstudioai/sim · GitHub

Open Graph Title: improvement(knowledge): cache admitted usage checks on the search path by waleedlatif1 · Pull Request #7989 · simstudioai/sim

X Title: improvement(knowledge): cache admitted usage checks on the search path by waleedlatif1 · Pull Request #7989 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - improvement(knowledge): cache admitted usage checks on the search path by waleedlatif1 · Pull Request #7989 · simstudioai/sim

Open Graph Description: Summary Every knowledge search ran checkAttributedUsageLimits, which sums the payer's usage_log rows for the whole billing period. For a large organization that is a scan of over a million row...

X Description: Summary Every knowledge search ran checkAttributedUsageLimits, which sums the payer's usage_log rows for the whole billing period. For a large organization that is a scan of over a million...

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

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:ddbe24f4-0d8a-9ee4-e73a-a782c58879d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA44A:AE1F3:1F9F34:2C7DDB:6AFB5050
html-safe-nonced040e0f495c034b1be750a5a02ea4cf5b7d7c556742ba19a3620bfbdef26c50c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDRBOkFFMUYzOjFGOUYzNDoyQzdEREI6NkFGQjUwNTAiLCJ2aXNpdG9yX2lkIjoiNTI3OTc3MTUzMjE2MzM1OTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac862b858c490568e97a1532f711e44a440e13f3e7abe90003f8ac08f1c232710c
hovercard-subject-tagpull_request:4573945873
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/7989/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1f0e05de80fcfa0c921e1fee8c8db74fecfe9d8e5e330646243c8ca1214db5a3/simstudioai/sim/pull/7989
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f0e05de80fcfa0c921e1fee8c8db74fecfe9d8e5e330646243c8ca1214db5a3/simstudioai/sim/pull/7989
og:image:altSummary Every knowledge search ran checkAttributedUsageLimits, which sums the payer's usage_log rows for the whole billing period. For a large organization that is a scan of over a million row...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
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
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7989#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7989
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%2F7989
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/7989
Reloadhttps://github.com/simstudioai/sim/pull/7989
Reloadhttps://github.com/simstudioai/sim/pull/7989
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
improvement/search-usage-gate-cachehttps://github.com/simstudioai/sim/tree/improvement/search-usage-gate-cache
Conversationhttps://github.com/simstudioai/sim/pull/7989
Commits3 (3)https://github.com/simstudioai/sim/pull/7989/commits
Checkshttps://github.com/simstudioai/sim/pull/7989/checks
Files changedhttps://github.com/simstudioai/sim/pull/7989/files
improvement(knowledge): cache admitted usage checks on the search pathhttps://github.com/simstudioai/sim/pull/7989#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/search-usage-gate-cachehttps://github.com/simstudioai/sim/tree/improvement/search-usage-gate-cache
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issue-5505656258
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
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/7989
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737063111
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
Vercel for GitHubhttps://vercel.link/github-learn-more
https://vercel.com/sim-studio/docs
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/TMcsZJ1Lkmo9XZCaC592gieeYP11
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=7989
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-rgp1xqlm9-sim-studio.vercel.app
September 18, 2026 22:43https://github.com/simstudioai/sim/pull/7989#event-31423249632
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737086824
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://app.greptile.com/api/retrigger?id=66272976
"fix(knowledge): key the usage gate cache..."https://github.com/simstudioai/sim/commit/f59978fc7bd336091d225b3a35f42ce98df0056d
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 18, 2026 https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253260472
View reviewed changes https://github.com/simstudioai/sim/pull/7989/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253260472
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/simstudioai/sim/7989/ai_pr_review_github_delivery_6bceba8b3bd06574ead856ead6a0435eb9395a7e3c8c43034417acf4966a4cf5?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/7989/ai_pr_review_github_delivery_6bceba8b3bd06574ead856ead6a0435eb9395a7e3c8c43034417acf4966a4cf5?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7989
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
apps/sim/lib/billing/core/usage-gate-cache.tshttps://github.com/simstudioai/sim/pull/7989/files#diff-0833b1190f65cc31d32eae15d009bce6a0dfadbb2f3c80cad27fc99ef89edb51
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
apps/sim/lib/knowledge/application/search.tshttps://github.com/simstudioai/sim/pull/7989/files#diff-6d92dc3a4dd3235b5c805a3ef81a2a271e98cc2632caf3274d8a1ac938644934
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-c424jfjun-sim-studio.vercel.app
September 18, 2026 22:49https://github.com/simstudioai/sim/pull/7989#event-31423510488
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737111501
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737111615
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737112313
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 18, 2026 https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253301856
View reviewed changes https://github.com/simstudioai/sim/pull/7989/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253301856
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/simstudioai/sim/7989/ai_pr_review_1789771797165_ab6be97a-a785-47a8-9c4e-2f244777b689?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/7989/ai_pr_review_1789771797165_ab6be97a-a785-47a8-9c4e-2f244777b689?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7989
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
apps/sim/lib/billing/core/usage-gate-cache.tshttps://github.com/simstudioai/sim/pull/7989/files#diff-0833b1190f65cc31d32eae15d009bce6a0dfadbb2f3c80cad27fc99ef89edb51
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
waleedlatif1https://github.com/waleedlatif1
September 18, 2026 15:55https://github.com/simstudioai/sim/pull/7989#commits-pushed-569afa2
https://github.com/waleedlatif1
improvement(knowledge): cache admitted usage checks on the search pathhttps://github.com/simstudioai/sim/pull/7989/commits/569afa23c55ce8254001e442742e7404bb60cd66
569afa2https://github.com/simstudioai/sim/pull/7989/commits/569afa23c55ce8254001e442742e7404bb60cd66
https://github.com/waleedlatif1
fix(knowledge): keep search-path refusals out of the shared usage gat…https://github.com/simstudioai/sim/pull/7989/commits/9d6e7e772f8fa2c5acad25da85d3046d89746263
9d6e7e7https://github.com/simstudioai/sim/pull/7989/commits/9d6e7e772f8fa2c5acad25da85d3046d89746263
https://github.com/waleedlatif1
fix(knowledge): key the usage gate cache by billing period sourcehttps://github.com/simstudioai/sim/pull/7989/commits/f59978fc7bd336091d225b3a35f42ce98df0056d
f59978fhttps://github.com/simstudioai/sim/pull/7989/commits/f59978fc7bd336091d225b3a35f42ce98df0056d
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
force-pushedhttps://github.com/simstudioai/sim/compare/f44f14ca96975b8bd90d83e6e5f1706bc07ba34e..f59978fc7bd336091d225b3a35f42ce98df0056d
f44f14chttps://github.com/simstudioai/sim/commit/f44f14ca96975b8bd90d83e6e5f1706bc07ba34e
f59978fhttps://github.com/simstudioai/sim/commit/f59978fc7bd336091d225b3a35f42ce98df0056d
Compare https://github.com/simstudioai/sim/compare/f44f14ca96975b8bd90d83e6e5f1706bc07ba34e..f59978fc7bd336091d225b3a35f42ce98df0056d
September 18, 2026 22:56https://github.com/simstudioai/sim/pull/7989#event-31423767922
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-awa9r2an3-sim-studio.vercel.app
September 18, 2026 22:56https://github.com/simstudioai/sim/pull/7989#event-31423770644
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737161498
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737161602
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#issuecomment-5737162513
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 18, 2026 https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253322996
View reviewed changes https://github.com/simstudioai/sim/pull/7989/files/f59978fc7bd336091d225b3a35f42ce98df0056d
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/7989#pullrequestreview-5253322996
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/7989/ai_pr_review_1789772186129_993e4858-aa5f-42a8-a43e-1690407a7773?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7989
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
3f245d7https://github.com/simstudioai/sim/commit/3f245d724ffcc044336a191cabc39e12bbecfa7c
Sep 18, 2026https://github.com/simstudioai/sim/pull/7989#event-31423932649
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
September 18, 2026 23:00https://github.com/simstudioai/sim/pull/7989#event-31423934773
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Sep 19, 2026 https://github.com/simstudioai/sim/pull/7989#ref-pullrequest-5507041552
v0.8.47: emcn cleanup, search improvements #8001 https://github.com/simstudioai/sim/pull/8001
Deployedhttps://docs-awa9r2an3-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-awa9r2an3-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%2F7989
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/7989/files/f59978fc7bd336091d225b3a35f42ce98df0056d
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
Please reload this pagehttps://github.com/simstudioai/sim/pull/7989
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.