René's URL Explorer Experiment


Title: fix(mothership): re-sync Chat reconnects from the worker log and trim the replay ring by bytes by waleedlatif1 · Pull Request #8469 · simstudioai/sim · GitHub

Open Graph Title: fix(mothership): re-sync Chat reconnects from the worker log and trim the replay ring by bytes by waleedlatif1 · Pull Request #8469 · simstudioai/sim

X Title: fix(mothership): re-sync Chat reconnects from the worker log and trim the replay ring by bytes by waleedlatif1 · Pull Request #8469 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(mothership): re-sync Chat reconnects from the worker log and trim the replay ring by bytes by waleedlatif1 · Pull Request #8469 · simstudioai/sim

Open Graph Description: Summary This PR stops the replay ring from ending long Chat turns. The bug it fixes: byte-budget refusals seen in production. A long run's replay ring reached its owner byte ceiling, and the r...

X Description: Summary This PR stops the replay ring from ending long Chat turns. The bug it fixes: byte-budget refusals seen in production. A long run's replay ring reached its owner byte ceiling, and t...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actioncommits
fetch-noncev2:8943f5aa-1b62-0068-b1c2-672e02d34482
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA28E:92094:950430:CC02AF:6AFBD752
html-safe-nonced01d7d33b093972eaffe1b32a1ff0af39777dea8fc9c698d3f7b9a436503a9c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjhFOjkyMDk0Ojk1MDQzMDpDQzAyQUY6NkFGQkQ3NTIiLCJ2aXNpdG9yX2lkIjoiNDM2MTI2NzExMDIxNTQwNzQ0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace4dc5a4bbae106a0127b571dcdd59e6705c06313bd95d2e531df85ca3ebe3fb7
hovercard-subject-tagpull_request:4693432919
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/8469/commits
twitter:imagehttps://opengraph.githubassets.com/4ddd0da4fc7ee61f9c5685bdfa037989377228bf0e5b85c1be063ec4f6160e53/simstudioai/sim/pull/8469
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ddd0da4fc7ee61f9c5685bdfa037989377228bf0e5b85c1be063ec4f6160e53/simstudioai/sim/pull/8469
og:image:altSummary This PR stops the replay ring from ending long Chat turns. The bug it fixes: byte-budget refusals seen in production. A long run's replay ring reached its owner byte ceiling, and the r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
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
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8469/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8469%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%2F8469%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/8469/commits
Reloadhttps://github.com/simstudioai/sim/pull/8469/commits
Reloadhttps://github.com/simstudioai/sim/pull/8469/commits
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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/stream-continuityhttps://github.com/simstudioai/sim/tree/fix/stream-continuity
Conversationhttps://github.com/simstudioai/sim/pull/8469
Commits12 (12)https://github.com/simstudioai/sim/pull/8469/commits
Checkshttps://github.com/simstudioai/sim/pull/8469/checks
Files changedhttps://github.com/simstudioai/sim/pull/8469/files
fix(mothership): re-sync Chat reconnects from the worker log and trim the replay ring by byteshttps://github.com/simstudioai/sim/pull/8469/commits#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/stream-continuityhttps://github.com/simstudioai/sim/tree/fix/stream-continuity
chore(mothership): sync the worker protocol for the read-only run replayhttps://github.com/simstudioai/sim/pull/8469/commits/c4d4d35a926ab092b003078c1b48e4cfffe0732b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
c4d4d35https://github.com/simstudioai/sim/pull/8469/commits/c4d4d35a926ab092b003078c1b48e4cfffe0732b
https://github.com/simstudioai/sim/tree/c4d4d35a926ab092b003078c1b48e4cfffe0732b
fix(mothership): re-sync a reconnect the replay ring cannot serve from the worker loghttps://github.com/simstudioai/sim/pull/8469/commits/748e7e7ae1c774ab0d9b12ff701bf29aa874cf74
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
748e7e7https://github.com/simstudioai/sim/pull/8469/commits/748e7e7ae1c774ab0d9b12ff701bf29aa874cf74
https://github.com/simstudioai/sim/tree/748e7e7ae1c774ab0d9b12ff701bf29aa874cf74
fix(mothership): trim the replay ring by bytes so a long run slides instead of refusinghttps://github.com/simstudioai/sim/pull/8469/commits/74185d19ae13f79eaa358ef406fcac2ae1638418
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
74185d1https://github.com/simstudioai/sim/pull/8469/commits/74185d19ae13f79eaa358ef406fcac2ae1638418
https://github.com/simstudioai/sim/tree/74185d19ae13f79eaa358ef406fcac2ae1638418
fix(mothership): never rebuild or paint a turn from a ring that lost its headhttps://github.com/simstudioai/sim/pull/8469/commits/b59d4b611c48213fef28c7eec2ae32c8795d59d6
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
b59d4b6https://github.com/simstudioai/sim/pull/8469/commits/b59d4b611c48213fef28c7eec2ae32c8795d59d6
https://github.com/simstudioai/sim/tree/b59d4b611c48213fef28c7eec2ae32c8795d59d6
fix(mothership): recover a headless ring from an empty context and keep log readers on the loghttps://github.com/simstudioai/sim/pull/8469/commits/88700b87f0cb7bcbec3a11b0403f7400f9f95411
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
88700b8https://github.com/simstudioai/sim/pull/8469/commits/88700b87f0cb7bcbec3a11b0403f7400f9f95411
https://github.com/simstudioai/sim/tree/88700b87f0cb7bcbec3a11b0403f7400f9f95411
fix(mothership): end a held replay as soon as its run resumes or finishes, and check a busy tail's ring less oftenhttps://github.com/simstudioai/sim/pull/8469/commits/8b9493da909c687f98a66770a8fd932a9a13838b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
8b9493dhttps://github.com/simstudioai/sim/pull/8469/commits/8b9493da909c687f98a66770a8fd932a9a13838b
https://github.com/simstudioai/sim/tree/8b9493da909c687f98a66770a8fd932a9a13838b
fix(mothership): fall back to replay_gap when the worker refuses a replay's keyhttps://github.com/simstudioai/sim/pull/8469/commits/f6c39f28f89b2db1f1c8a6308c7687f1fb178dc4
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
f6c39f2https://github.com/simstudioai/sim/pull/8469/commits/f6c39f28f89b2db1f1c8a6308c7687f1fb178dc4
https://github.com/simstudioai/sim/tree/f6c39f28f89b2db1f1c8a6308c7687f1fb178dc4
fix(mothership): bound a silent replay, never skip past a trimmed cursor, and re-sync an expired ringhttps://github.com/simstudioai/sim/pull/8469/commits/65d40881db6b074471749fcdeadcda9926d873b3
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
65d4088https://github.com/simstudioai/sim/pull/8469/commits/65d40881db6b074471749fcdeadcda9926d873b3
https://github.com/simstudioai/sim/tree/65d40881db6b074471749fcdeadcda9926d873b3
test(mothership): drive the run replay liveness tests through the central agent-url mockhttps://github.com/simstudioai/sim/pull/8469/commits/0b6935fa764199491d7cb38e2e389b3dd0270360
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
0b6935fhttps://github.com/simstudioai/sim/pull/8469/commits/0b6935fa764199491d7cb38e2e389b3dd0270360
https://github.com/simstudioai/sim/tree/0b6935fa764199491d7cb38e2e389b3dd0270360
fix(mothership): log a worker's refusal of the run replay, and test the mid-tail trim racehttps://github.com/simstudioai/sim/pull/8469/commits/6a57d077efa4cf7536c3b87329c3586bba8659e1
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
6a57d07https://github.com/simstudioai/sim/pull/8469/commits/6a57d077efa4cf7536c3b87329c3586bba8659e1
https://github.com/simstudioai/sim/tree/6a57d077efa4cf7536c3b87329c3586bba8659e1
fix(mothership): create the log re-sync set outside renderhttps://github.com/simstudioai/sim/pull/8469/commits/df43c8a6b7d91e3be47579e62b060efc63671510
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
df43c8ahttps://github.com/simstudioai/sim/pull/8469/commits/df43c8a6b7d91e3be47579e62b060efc63671510
https://github.com/simstudioai/sim/tree/df43c8a6b7d91e3be47579e62b060efc63671510
refactor(mothership): reuse the SSE idle timeout for the run replay, and track the log re-sync as one stream idhttps://github.com/simstudioai/sim/pull/8469/commits/26225d79a9016f9a6aac72aaeee6022ce668f215
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
26225d7https://github.com/simstudioai/sim/pull/8469/commits/26225d79a9016f9a6aac72aaeee6022ce668f215
https://github.com/simstudioai/sim/tree/26225d79a9016f9a6aac72aaeee6022ce668f215
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.