René's URL Explorer Experiment


Title: improvement(billing): ledger-only usage + period-advance cycle close by icecrasher321 · Pull Request #7078 · simstudioai/sim · GitHub

Open Graph Title: improvement(billing): ledger-only usage + period-advance cycle close by icecrasher321 · Pull Request #7078 · simstudioai/sim

X Title: improvement(billing): ledger-only usage + period-advance cycle close by icecrasher321 · Pull Request #7078 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - improvement(billing): ledger-only usage + period-advance cycle close by icecrasher321 · Pull Request #7078 · simstudioai/sim

Open Graph Description: What Makes the attributed usage_log ledger the sole source of truth for usage, and replaces the dead invoice-driven cycle rollover with a period-advance close. Ledger-only usage currentPeriodCost ...

X Description: What Makes the attributed usage_log ledger the sole source of truth for usage, and replaces the dead invoice-driven cycle rollover with a period-advance close. Ledger-only usage currentPeriodCost ...

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

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:fddc8127-29f7-bfe0-fc0a-2303056a5c99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB46:330459:9CB16E:DE1AD4:6AFB54B1
html-safe-nonce21a919ecffc9a5ab710a8299c84402017fd1c15eea83c659cf306608da82fd91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjQ2OjMzMDQ1OTo5Q0IxNkU6REUxQUQ0OjZBRkI1NEIxIiwidmlzaXRvcl9pZCI6Ijc1NDk3MTY3MjM2ODA3NTk1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac17dbde9afcd6e4092b944071fd35b6948703bc32956c761d56133aaca4b3a424
hovercard-subject-tagpull_request:4361564389
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/7078/commits
twitter:imagehttps://opengraph.githubassets.com/970a5c0ba8a0d3f2b6ce86040e9f209309cee201772629a6c2b946a7975c1a8e/simstudioai/sim/pull/7078
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/970a5c0ba8a0d3f2b6ce86040e9f209309cee201772629a6c2b946a7975c1a8e/simstudioai/sim/pull/7078
og:image:altWhat Makes the attributed usage_log ledger the sole source of truth for usage, and replaces the dead invoice-driven cycle rollover with a period-advance close. Ledger-only usage currentPeriodCost ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameicecrasher321
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/7078/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7078%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%2F7078%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/7078/commits
Reloadhttps://github.com/simstudioai/sim/pull/7078/commits
Reloadhttps://github.com/simstudioai/sim/pull/7078/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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
billing-ledger-only-cycle-closehttps://github.com/simstudioai/sim/tree/billing-ledger-only-cycle-close
Conversationhttps://github.com/simstudioai/sim/pull/7078
Commits15 (15)https://github.com/simstudioai/sim/pull/7078/commits
Checkshttps://github.com/simstudioai/sim/pull/7078/checks
Files changedhttps://github.com/simstudioai/sim/pull/7078/files
improvement(billing): ledger-only usage + period-advance cycle closehttps://github.com/simstudioai/sim/pull/7078/commits#top
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
billing-ledger-only-cycle-closehttps://github.com/simstudioai/sim/tree/billing-ledger-only-cycle-close
improvement(billing): make usage ledger-only and close cycles off period advancehttps://github.com/simstudioai/sim/pull/7078/commits/72c2547e0ec7cd5b9f3bfaf27333eccc371f6b94
claudehttps://github.com/simstudioai/sim/commits?author=claude
72c2547https://github.com/simstudioai/sim/pull/7078/commits/72c2547e0ec7cd5b9f3bfaf27333eccc371f6b94
https://github.com/simstudioai/sim/tree/72c2547e0ec7cd5b9f3bfaf27333eccc371f6b94
Merge remote-tracking branch 'origin/staging' into billing-ledger-only-cycle-closehttps://github.com/simstudioai/sim/pull/7078/commits/e298a4239eb94ca465239b461a2b5459947f4332
e298a42https://github.com/simstudioai/sim/pull/7078/commits/e298a4239eb94ca465239b461a2b5459947f4332
https://github.com/simstudioai/sim/tree/e298a4239eb94ca465239b461a2b5459947f4332
fix(billing): include departed actors in close refresh and gate threshold billing on close currencyhttps://github.com/simstudioai/sim/pull/7078/commits/0acbfc5dcce5479dfdf21c59fc99751dd092005d
claudehttps://github.com/simstudioai/sim/commits?author=claude
0acbfc5https://github.com/simstudioai/sim/pull/7078/commits/0acbfc5dcce5479dfdf21c59fc99751dd092005d
https://github.com/simstudioai/sim/tree/0acbfc5dcce5479dfdf21c59fc99751dd092005d
fix(billing): seal cycle-close races and align refresh actors with billed usagehttps://github.com/simstudioai/sim/pull/7078/commits/ad58f8319031ced94f0049b4afcc98498db7448d
claudehttps://github.com/simstudioai/sim/commits?author=claude
ad58f83https://github.com/simstudioai/sim/pull/7078/commits/ad58f8319031ced94f0049b4afcc98498db7448d
https://github.com/simstudioai/sim/tree/ad58f8319031ced94f0049b4afcc98498db7448d
fix(billing): defer ownerless org closes and make the drift test load-bearinghttps://github.com/simstudioai/sim/pull/7078/commits/313afe5427832e814ef74a4c0fd1ad35968a5ed6
claudehttps://github.com/simstudioai/sim/commits?author=claude
313afe5https://github.com/simstudioai/sim/pull/7078/commits/313afe5427832e814ef74a4c0fd1ad35968a5ed6
https://github.com/simstudioai/sim/tree/313afe5427832e814ef74a4c0fd1ad35968a5ed6
chore(helm): bump chart to 1.6.0 for the billing-cycle-close cron jobhttps://github.com/simstudioai/sim/pull/7078/commits/2839efef2ed55f86ece9d0574f37fb857285092d
claudehttps://github.com/simstudioai/sim/commits?author=claude
2839efehttps://github.com/simstudioai/sim/pull/7078/commits/2839efef2ed55f86ece9d0574f37fb857285092d
https://github.com/simstudioai/sim/tree/2839efef2ed55f86ece9d0574f37fb857285092d
fix(billing): revalidate the org roster under close locks and align invoice labelshttps://github.com/simstudioai/sim/pull/7078/commits/426a76498580b897c78a6550d479a9d45e957a6c
claudehttps://github.com/simstudioai/sim/commits?author=claude
426a764https://github.com/simstudioai/sim/pull/7078/commits/426a76498580b897c78a6550d479a9d45e957a6c
https://github.com/simstudioai/sim/tree/426a76498580b897c78a6550d479a9d45e957a6c
fix(billing): hold cycle close for a settlement grace after rolloverhttps://github.com/simstudioai/sim/pull/7078/commits/8d3fb3fae93dd0cda060adbacf3a3b81fc4be896
claudehttps://github.com/simstudioai/sim/commits?author=claude
8d3fb3fhttps://github.com/simstudioai/sim/pull/7078/commits/8d3fb3fae93dd0cda060adbacf3a3b81fc4be896
https://github.com/simstudioai/sim/tree/8d3fb3fae93dd0cda060adbacf3a3b81fc4be896
fix(billing): resolve reporting windows through the canonical period resolverhttps://github.com/simstudioai/sim/pull/7078/commits/c8cd452ae382dab3018a85fc7d63beaae7d3e673
claudehttps://github.com/simstudioai/sim/commits?author=claude
c8cd452https://github.com/simstudioai/sim/pull/7078/commits/c8cd452ae382dab3018a85fc7d63beaae7d3e673
https://github.com/simstudioai/sim/tree/c8cd452ae382dab3018a85fc7d63beaae7d3e673
fix(billing): union departed ledger actors in org threshold settlementhttps://github.com/simstudioai/sim/pull/7078/commits/6016cc49838fa394e5a0016f068e53308ad8ce9e
claudehttps://github.com/simstudioai/sim/commits?author=claude
6016cc4https://github.com/simstudioai/sim/pull/7078/commits/6016cc49838fa394e5a0016f068e53308ad8ce9e
https://github.com/simstudioai/sim/tree/6016cc49838fa394e5a0016f068e53308ad8ce9e
fix(billing): claim the terminal period before deletion settlement and delete vestigial refresh boundshttps://github.com/simstudioai/sim/pull/7078/commits/a3fc0919dd3fb9f2576798a193095c02cfaf1984
claudehttps://github.com/simstudioai/sim/commits?author=claude
a3fc091https://github.com/simstudioai/sim/pull/7078/commits/a3fc0919dd3fb9f2576798a193095c02cfaf1984
https://github.com/simstudioai/sim/tree/a3fc0919dd3fb9f2576798a193095c02cfaf1984
fix(billing): scope daily refresh by entity stamps and close lagging periods before deletion settlementhttps://github.com/simstudioai/sim/pull/7078/commits/f907385d48fac967604c5c857376b91a292f80b8
claudehttps://github.com/simstudioai/sim/commits?author=claude
f907385https://github.com/simstudioai/sim/pull/7078/commits/f907385d48fac967604c5c857376b91a292f80b8
https://github.com/simstudioai/sim/tree/f907385d48fac967604c5c857376b91a292f80b8
fix(billing): bucket refresh by clamped day so stamped stragglers stay in the deductionhttps://github.com/simstudioai/sim/pull/7078/commits/a538a2fd31bc2aed8cf3c0dc3e031789b2883aef
claudehttps://github.com/simstudioai/sim/commits?author=claude
a538a2fhttps://github.com/simstudioai/sim/pull/7078/commits/a538a2fd31bc2aed8cf3c0dc3e031789b2883aef
https://github.com/simstudioai/sim/tree/a538a2fd31bc2aed8cf3c0dc3e031789b2883aef
fix(billing): pair the overage tracker with the marker's period and pin test clockshttps://github.com/simstudioai/sim/pull/7078/commits/482413e66ebdb8e35e936610a09a06c678310891
claudehttps://github.com/simstudioai/sim/commits?author=claude
482413ehttps://github.com/simstudioai/sim/pull/7078/commits/482413e66ebdb8e35e936610a09a06c678310891
https://github.com/simstudioai/sim/tree/482413e66ebdb8e35e936610a09a06c678310891
fix(billing): reject lagging terminal claims and thread billingInterval into deletion bookkeepinghttps://github.com/simstudioai/sim/pull/7078/commits/866d3f05f31d875d2c89c125caa5c572b3642c0d
claudehttps://github.com/simstudioai/sim/commits?author=claude
866d3f0https://github.com/simstudioai/sim/pull/7078/commits/866d3f05f31d875d2c89c125caa5c572b3642c0d
https://github.com/simstudioai/sim/tree/866d3f05f31d875d2c89c125caa5c572b3642c0d
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.