| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:79634834-90fa-5535-87b4-a6d51ffb2d93 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB10:3743C5:3A93C6:506FC1:6AFB9998 |
| html-safe-nonce | fbaed467fef8b0c922a4b9c4f34a41f1d9c7d9c242998e6b361f15e0b91e6237 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjEwOjM3NDNDNTozQTkzQzY6NTA2RkMxOjZBRkI5OTk4IiwidmlzaXRvcl9pZCI6IjYzNDE1MTk2NDM4MzU2MDMzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cdf2417accf993a524c8e8535641051a022f358d986ed9dd9b765778349ed3f4 |
| hovercard-subject-tag | pull_request:4689030194 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8461/commits |
| twitter:image | https://opengraph.githubassets.com/e6df18b45f1eb9cb6f12aeba31fe98f4865470a2c2d0ffc686131a2315a916c7/simstudioai/sim/pull/8461 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e6df18b45f1eb9cb6f12aeba31fe98f4865470a2c2d0ffc686131a2315a916c7/simstudioai/sim/pull/8461 |
| og:image:alt | Summary
Chat runs are moving off a fixed wall-clock deadline, so spend has to be bounded by the plan's usage limit while a run is in progress, not only when it starts. This PR adds Sim's si... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waleedlatif1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3cefd19a936819d82cfb5279d50fb56fe79cb9ec30f0f807e04e89b0c58ffae1 |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 606800bdb1b81d125fc845bdcc262c9fe063fc8f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/8461/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8461%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8461%2Fcommits |
| 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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/8461/commits |
| Reload | https://github.com/simstudioai/sim/pull/8461/commits |
| Reload | https://github.com/simstudioai/sim/pull/8461/commits |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests199 (199) | 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 |
| https://github.com/simstudioai/sim |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/midrun-usage-enforcement | https://github.com/simstudioai/sim/tree/fix/midrun-usage-enforcement |
| Conversation | https://github.com/simstudioai/sim/pull/8461 |
| Commits16 (16) | https://github.com/simstudioai/sim/pull/8461/commits |
| Checks | https://github.com/simstudioai/sim/pull/8461/checks |
| Files changed | https://github.com/simstudioai/sim/pull/8461/files |
| fix(billing): enforce the plan usage limit mid-run and bill runs that outlive their period | https://github.com/simstudioai/sim/pull/8461/commits#top |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/midrun-usage-enforcement | https://github.com/simstudioai/sim/tree/fix/midrun-usage-enforcement |
| fix(billing): enforce the plan usage limit mid-run and bill runs that outlive their period | https://github.com/simstudioai/sim/pull/8461/commits/62eb19d5910d62f686762770991e273c93ce6c92 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 62eb19d | https://github.com/simstudioai/sim/pull/8461/commits/62eb19d5910d62f686762770991e273c93ce6c92 |
| https://github.com/simstudioai/sim/tree/62eb19d5910d62f686762770991e273c93ce6c92 |
| fix(billing): roll forward-moved periods, lock only past period end, skip ended admissions | https://github.com/simstudioai/sim/pull/8461/commits/16f34f1728125af070a44878b9800188d28676a8 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 16f34f1 | https://github.com/simstudioai/sim/pull/8461/commits/16f34f1728125af070a44878b9800188d28676a8 |
| https://github.com/simstudioai/sim/tree/16f34f1728125af070a44878b9800188d28676a8 |
| fix(billing): judge long runs against the current period and close review gaps | https://github.com/simstudioai/sim/pull/8461/commits/a2c45c0003e64f9b38ccce4232980c04e5c7154b |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| a2c45c0 | https://github.com/simstudioai/sim/pull/8461/commits/a2c45c0003e64f9b38ccce4232980c04e5c7154b |
| https://github.com/simstudioai/sim/tree/a2c45c0003e64f9b38ccce4232980c04e5c7154b |
| fix(billing): judge mid-run usage against the payer's current period | https://github.com/simstudioai/sim/pull/8461/commits/a7b74b85a3bfcd449d212eef1fe652682ef0fe4b |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| a7b74b8 | https://github.com/simstudioai/sim/pull/8461/commits/a7b74b85a3bfcd449d212eef1fe652682ef0fe4b |
| https://github.com/simstudioai/sim/tree/a7b74b85a3bfcd449d212eef1fe652682ef0fe4b |
| chore(billing): sync the worker usage refusal contract | https://github.com/simstudioai/sim/pull/8461/commits/51725ac1b106accc9fb994717ceecd88915a142c |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 51725ac | https://github.com/simstudioai/sim/pull/8461/commits/51725ac1b106accc9fb994717ceecd88915a142c |
| https://github.com/simstudioai/sim/tree/51725ac1b106accc9fb994717ceecd88915a142c |
| fix(billing): reload an ended cached period, keep org payers org-scoped, keep blocked accounts blocked | https://github.com/simstudioai/sim/pull/8461/commits/3a7134d0f280d9731fde973aad4b310b2a469be7 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 3a7134d | https://github.com/simstudioai/sim/pull/8461/commits/3a7134d0f280d9731fde973aad4b310b2a469be7 |
| https://github.com/simstudioai/sim/tree/3a7134d0f280d9731fde973aad4b310b2a469be7 |
| fix(billing): cache admitted direct-v1 continuation verdicts and bound the callback's standing read | https://github.com/simstudioai/sim/pull/8461/commits/e1d11025ff618953539c4ac1556754b4787633fe |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| e1d1102 | https://github.com/simstudioai/sim/pull/8461/commits/e1d11025ff618953539c4ac1556754b4787633fe |
| https://github.com/simstudioai/sim/tree/e1d11025ff618953539c4ac1556754b4787633fe |
| fix(billing): roll a direct-v1 run's spend into the payer's current Stripe period and judge its standing mid-run | https://github.com/simstudioai/sim/pull/8461/commits/d4bd0724f81848acd515d7e8adef1b573ecfd554 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| d4bd072 | https://github.com/simstudioai/sim/pull/8461/commits/d4bd0724f81848acd515d7e8adef1b573ecfd554 |
| https://github.com/simstudioai/sim/tree/d4bd0724f81848acd515d7e8adef1b573ecfd554 |
| Merge origin/staging into fix/midrun-usage-enforcement | https://github.com/simstudioai/sim/pull/8461/commits/122687d29718e7308af304e55d19c82e3de5b2af |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 122687d | https://github.com/simstudioai/sim/pull/8461/commits/122687d29718e7308af304e55d19c82e3de5b2af |
| https://github.com/simstudioai/sim/tree/122687d29718e7308af304e55d19c82e3de5b2af |
| test(mothership): pin a usage refusal as non-retryable under the stream retry window | https://github.com/simstudioai/sim/pull/8461/commits/19c3658b98ce95967783247b140152483764dfe3 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 19c3658 | https://github.com/simstudioai/sim/pull/8461/commits/19c3658b98ce95967783247b140152483764dfe3 |
| https://github.com/simstudioai/sim/tree/19c3658b98ce95967783247b140152483764dfe3 |
| test(billing): pin the Stripe-only rollover gate and the decision's subscription ID parsing | https://github.com/simstudioai/sim/pull/8461/commits/074f4b8477782e643b98f474f199e6aea7483de7 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 074f4b8 | https://github.com/simstudioai/sim/pull/8461/commits/074f4b8477782e643b98f474f199e6aea7483de7 |
| https://github.com/simstudioai/sim/tree/074f4b8477782e643b98f474f199e6aea7483de7 |
| Merge origin/staging into fix/midrun-usage-enforcement | https://github.com/simstudioai/sim/pull/8461/commits/a005f4b5e472d2a14ead2f7c7067409b3c1eda4c |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| a005f4b | https://github.com/simstudioai/sim/pull/8461/commits/a005f4b5e472d2a14ead2f7c7067409b3c1eda4c |
| https://github.com/simstudioai/sim/tree/a005f4b5e472d2a14ead2f7c7067409b3c1eda4c |
| fix(billing): judge a non-Stripe run against the period its charges land in | https://github.com/simstudioai/sim/pull/8461/commits/c544dc729758a6b449aab70d4b5322479058076a |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| c544dc7 | https://github.com/simstudioai/sim/pull/8461/commits/c544dc729758a6b449aab70d4b5322479058076a |
| https://github.com/simstudioai/sim/tree/c544dc729758a6b449aab70d4b5322479058076a |
| test(billing): assert observable verdicts and responses instead of mock calls | https://github.com/simstudioai/sim/pull/8461/commits/4d16e30c1be4fe094d66a0eaa39476f0a49bcc86 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 4d16e30 | https://github.com/simstudioai/sim/pull/8461/commits/4d16e30c1be4fe094d66a0eaa39476f0a49bcc86 |
| https://github.com/simstudioai/sim/tree/4d16e30c1be4fe094d66a0eaa39476f0a49bcc86 |
| refactor(billing): drop unconsumed refusal plumbing and the straddle retry, and make the reporting-window test deterministic | https://github.com/simstudioai/sim/pull/8461/commits/1291fa8b7bc61dd12df4691e3e96c9b21e1c3a86 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 1291fa8 | https://github.com/simstudioai/sim/pull/8461/commits/1291fa8b7bc61dd12df4691e3e96c9b21e1c3a86 |
| https://github.com/simstudioai/sim/tree/1291fa8b7bc61dd12df4691e3e96c9b21e1c3a86 |
| Merge origin/staging into fix/midrun-usage-enforcement | https://github.com/simstudioai/sim/pull/8461/commits/4ec5704db27c16fced970dae21ca5c480779ade0 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 4ec5704 | https://github.com/simstudioai/sim/pull/8461/commits/4ec5704db27c16fced970dae21ca5c480779ade0 |
| https://github.com/simstudioai/sim/tree/4ec5704db27c16fced970dae21ca5c480779ade0 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |