René's URL Explorer Experiment


Title: fix(billing): refuse charges into a period the terminal settlement already invoiced by waleedlatif1 · Pull Request #8505 · simstudioai/sim · GitHub

Open Graph Title: fix(billing): refuse charges into a period the terminal settlement already invoiced by waleedlatif1 · Pull Request #8505 · simstudioai/sim

X Title: fix(billing): refuse charges into a period the terminal settlement already invoiced by waleedlatif1 · Pull Request #8505 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(billing): refuse charges into a period the terminal settlement already invoiced by waleedlatif1 · Pull Request #8505 · simstudioai/sim

Open Graph Description: Summary This addresses the release review's finding "Closed periods receive later charges" (apps/sim/lib/billing/core/usage-log.ts). A cost callback that commits after a subscription&...

X Description: Summary This addresses the release review's finding "Closed periods receive later charges" (apps/sim/lib/billing/core/usage-log.ts). A cost callback that commits after a s...

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

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:b31f67e5-3348-5fab-212b-e4630a63084d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB842:BD772:194174F:2261767:6AFB87FE
html-safe-nonceb76c22221cb63d476d5a50dcd68b4b2e90a823117fa6b57ac889a361bfe73840
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODQyOkJENzcyOjE5NDE3NEY6MjI2MTc2Nzo2QUZCODdGRSIsInZpc2l0b3JfaWQiOiIzODM2MjQ3MTg1NTExMTIyOTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca8e22e975ddd382ee56d38785d9219a0a3bc11c671a24e4a7e8f3dd59a735f73
hovercard-subject-tagpull_request:4698269400
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/8505/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d493257bbf5dc541834bc9c0a52ec20dd1214ce4cdb2a3bb307b0292bd88f166/simstudioai/sim/pull/8505
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d493257bbf5dc541834bc9c0a52ec20dd1214ce4cdb2a3bb307b0292bd88f166/simstudioai/sim/pull/8505
og:image:altSummary This addresses the release review's finding "Closed periods receive later charges" (apps/sim/lib/billing/core/usage-log.ts). A cost callback that commits after a subscription&...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735
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
release05d967182208691fc7f2e6af52e82fa7fabf6bd5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8505#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8505
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%2F8505
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/8505
Reloadhttps://github.com/simstudioai/sim/pull/8505
Reloadhttps://github.com/simstudioai/sim/pull/8505
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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/billing-no-topup-after-terminal-settlementhttps://github.com/simstudioai/sim/tree/fix/billing-no-topup-after-terminal-settlement
Conversationhttps://github.com/simstudioai/sim/pull/8505
Commits2 (2)https://github.com/simstudioai/sim/pull/8505/commits
Checkshttps://github.com/simstudioai/sim/pull/8505/checks
Files changedhttps://github.com/simstudioai/sim/pull/8505/files
fix(billing): refuse charges into a period the terminal settlement already invoicedhttps://github.com/simstudioai/sim/pull/8505#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/billing-no-topup-after-terminal-settlementhttps://github.com/simstudioai/sim/tree/fix/billing-no-topup-after-terminal-settlement
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issue-5655723830
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5923280585
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
Vercel for GitHubhttps://vercel.link/github-learn-more
https://vercel.com/sim-studio/docs
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/sim-studio/docs/Aog3inwTYeFG7qZ6LNh1oioz9C6E
Previewhttps://docs-git-fix-billing-no-topup-after-terminal-279d7b-sim-studio.vercel.app
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=8505
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5923281149
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5923281361
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5923282031
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-5p2ll00af-sim-studio.vercel.app
Previewhttps://docs-5p2ll00af-sim-studio.vercel.app
October 1, 2026 02:08https://github.com/simstudioai/sim/pull/8505#event-32215640191
View deploymenthttps://docs-5p2ll00af-sim-studio.vercel.app
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026 https://github.com/simstudioai/sim/pull/8505#ref-pullrequest-5655034977
v0.9.8: search cleanup recovery, new search providers, billing and chat reliability #8494 https://github.com/simstudioai/sim/pull/8494
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 1, 2026 https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5374134725
View reviewed changes https://github.com/simstudioai/sim/pull/8505/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5374134725
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8505/ai_pr_review_github_delivery_cfc0730d87543b71f2533a34a43a893d462be6814cfcdfa0a02bd2aca1f5e1cb?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8505
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5923330690
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://app.greptile.com/api/retrigger?id=72528587
"test(billing): cover a terminal claim ov..."https://github.com/simstudioai/sim/commit/37a2eeabc536cd1f3185cca7b51ad853343489a1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 1, 2026 https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5374148572
View reviewed changes https://github.com/simstudioai/sim/pull/8505/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5374148572
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8505/ai_pr_review_1790820400096_8c1d042b-2e58-4ac2-a144-08453efbb4dd?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8505
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 1, 2026 https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5374148551
View reviewed changes https://github.com/simstudioai/sim/pull/8505/files
apps/sim/app/api/billing/update-cost/route.integration.tshttps://github.com/simstudioai/sim/pull/8505/files#diff-4f0c196bfeb7b8fe42baaf013f4a8327fb66616fefc383aef30803f913b5d898
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
waleedlatif1https://github.com/waleedlatif1
September 30, 2026 19:44https://github.com/simstudioai/sim/pull/8505#commits-pushed-577323f
https://github.com/waleedlatif1
fix(billing): refuse charges into a period the terminal settlement al…https://github.com/simstudioai/sim/pull/8505/commits/577323f61383b9fa813c366a971b612b6cfd4efb
577323fhttps://github.com/simstudioai/sim/pull/8505/commits/577323f61383b9fa813c366a971b612b6cfd4efb
https://github.com/waleedlatif1
test(billing): cover a terminal claim overlapping an in-flight chargehttps://github.com/simstudioai/sim/pull/8505/commits/37a2eeabc536cd1f3185cca7b51ad853343489a1
37a2eeahttps://github.com/simstudioai/sim/pull/8505/commits/37a2eeabc536cd1f3185cca7b51ad853343489a1
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
force-pushedhttps://github.com/simstudioai/sim/compare/8af8bf85ab0439b1ead5ecde3aa1a9c90a26a65d..37a2eeabc536cd1f3185cca7b51ad853343489a1
8af8bf8https://github.com/simstudioai/sim/commit/8af8bf85ab0439b1ead5ecde3aa1a9c90a26a65d
37a2eeahttps://github.com/simstudioai/sim/commit/37a2eeabc536cd1f3185cca7b51ad853343489a1
Compare https://github.com/simstudioai/sim/compare/8af8bf85ab0439b1ead5ecde3aa1a9c90a26a65d..37a2eeabc536cd1f3185cca7b51ad853343489a1
October 1, 2026 06:27https://github.com/simstudioai/sim/pull/8505#event-32227413806
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5925978730
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5925978968
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#issuecomment-5925980277
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-7go2qg3vu-sim-studio.vercel.app
Previewhttps://docs-7go2qg3vu-sim-studio.vercel.app
October 1, 2026 06:29https://github.com/simstudioai/sim/pull/8505#event-32227538206
View deploymenthttps://docs-7go2qg3vu-sim-studio.vercel.app
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 1, 2026 https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5375719722
View reviewed changes https://github.com/simstudioai/sim/pull/8505/files/37a2eeabc536cd1f3185cca7b51ad853343489a1
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8505#pullrequestreview-5375719722
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8505/ai_pr_review_1790836048638_2b854b62-4f02-4bd2-bccf-e7933539c28c?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8505
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
c57c905https://github.com/simstudioai/sim/commit/c57c90589563416a01948acec1b179a2d6da5fd0
Oct 1, 2026https://github.com/simstudioai/sim/pull/8505#event-32228257416
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
October 1, 2026 06:43https://github.com/simstudioai/sim/pull/8505#event-32228260570
Deployedhttps://docs-7go2qg3vu-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-7go2qg3vu-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%2F8505
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/8505/files/8af8bf85ab0439b1ead5ecde3aa1a9c90a26a65d
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8505/files/37a2eeabc536cd1f3185cca7b51ad853343489a1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
Please reload this pagehttps://github.com/simstudioai/sim/pull/8505
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.