René's URL Explorer Experiment


Title: fix(undo-redo): bound persisted history by size, not just operation count by rohitsudhakar1 · Pull Request #6313 · simstudioai/sim · GitHub

Open Graph Title: fix(undo-redo): bound persisted history by size, not just operation count by rohitsudhakar1 · Pull Request #6313 · simstudioai/sim

X Title: fix(undo-redo): bound persisted history by size, not just operation count by rohitsudhakar1 · Pull Request #6313 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(undo-redo): bound persisted history by size, not just operation count by rohitsudhakar1 · Pull Request #6313 · simstudioai/sim

Open Graph Description: Root cause workflow-undo-redo persists operation snapshots to localStorage, but the eviction policy bounds them by count, not by size: MAX_STACKS = 5 x DEFAULT_CAPACITY = 100 = 500 operations. A si...

X Description: Root cause workflow-undo-redo persists operation snapshots to localStorage, but the eviction policy bounds them by count, not by size: MAX_STACKS = 5 x DEFAULT_CAPACITY = 100 = 500 operations. A si...

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

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:9dc9e731-1689-b71b-00ca-ce53213bcaf9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB526:5A71D:E7A847:13CB096:6AFB5C9C
html-safe-nonce5e3b789b2efea44ef1631d721d7964e545690270f4670b6938481f1674bf6887
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTI2OjVBNzFEOkU3QTg0NzoxM0NCMDk2OjZBRkI1QzlDIiwidmlzaXRvcl9pZCI6Ijg5OTEyNDcwMjIxNDkwMzMxMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac40ab1c72b1228eaf11c5dfc4aff627ea0a6826b982c5b94aedd0ff07b3c799e5
hovercard-subject-tagpull_request:4218169635
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/6313/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/86391604a066d427f9679c60bf26efeb76f02466ad3fe129b30b54b9c8b72eae/simstudioai/sim/pull/6313
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86391604a066d427f9679c60bf26efeb76f02466ad3fe129b30b54b9c8b72eae/simstudioai/sim/pull/6313
og:image:altRoot cause workflow-undo-redo persists operation snapshots to localStorage, but the eviction policy bounds them by count, not by size: MAX_STACKS = 5 x DEFAULT_CAPACITY = 100 = 500 operations. A si...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerohitsudhakar1
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6313#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6313
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%2F6313
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/6313
Reloadhttps://github.com/simstudioai/sim/pull/6313
Reloadhttps://github.com/simstudioai/sim/pull/6313
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
rohitsudhakar1https://github.com/rohitsudhakar1
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
rohitsudhakar1:fix-4737-undo-redo-persist-budgethttps://github.com/rohitsudhakar1/sim/tree/fix-4737-undo-redo-persist-budget
Conversationhttps://github.com/simstudioai/sim/pull/6313
Commits2 (2)https://github.com/simstudioai/sim/pull/6313/commits
Checkshttps://github.com/simstudioai/sim/pull/6313/checks
Files changedhttps://github.com/simstudioai/sim/pull/6313/files
fix(undo-redo): bound persisted history by size, not just operation counthttps://github.com/simstudioai/sim/pull/6313#top
rohitsudhakar1https://github.com/rohitsudhakar1
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
rohitsudhakar1:fix-4737-undo-redo-persist-budgethttps://github.com/rohitsudhakar1/sim/tree/fix-4737-undo-redo-persist-budget
https://github.com/rohitsudhakar1
rohitsudhakar1https://github.com/rohitsudhakar1
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issue-5077961757
#4737https://github.com/simstudioai/sim/issues/4737
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5200756417
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
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/F4YwUQu4LDRvMtk6FhVpFR1Rcvpr
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=6313
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-72g9j9gcl-sim-studio.vercel.app
August 6, 2026 05:30https://github.com/simstudioai/sim/pull/6313#event-29049295831
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5200756807
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
Cursor Bugbothttps://cursor.com/bugbot
4326caahttps://github.com/simstudioai/sim/commit/4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5200776483
"fix(undo-redo): bound persisted history ..."https://github.com/simstudioai/sim/commit/7e769c8e41a17fae310383f6523f52403beef13b
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=50712630
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Aug 6, 2026 https://github.com/simstudioai/sim/pull/6313#pullrequestreview-4871357800
View reviewed changes https://github.com/simstudioai/sim/pull/6313/files
apps/sim/stores/undo-redo/store.tshttps://github.com/simstudioai/sim/pull/6313/files#diff-e6248d4db5595d1c9660638e8261961eee7e39d533c8439e52d8c1242598481f
greptile-appshttps://github.com/apps/greptile-apps
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#discussion_r3726144701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/simstudioai/sim/pull/6313
Workspace Frontend (Workflow Editor UI)https://app.greptile.com/sim/-/custom-context/knowledge-base/simstudioai/sim/-/docs/workspace-frontend.md
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
apps/sim/stores/undo-redo/store.test.tshttps://github.com/simstudioai/sim/pull/6313/files#diff-ef94f570cb360ff32095f9cc6f6ed33e3340f19e8d5166915491dc2b988e6416
greptile-appshttps://github.com/apps/greptile-apps
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#discussion_r3726144704
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/simstudioai/sim/pull/6313
sourcehttps://github.com/simstudioai/sim/blob/main/.cursor/rules/sim-typescript.mdc
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
apps/sim/stores/undo-redo/store.tshttps://github.com/simstudioai/sim/pull/6313/files#diff-e6248d4db5595d1c9660638e8261961eee7e39d533c8439e52d8c1242598481f
greptile-appshttps://github.com/apps/greptile-apps
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#discussion_r3726144708
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/simstudioai/sim/pull/6313
sourcehttps://github.com/simstudioai/sim/blob/main/apps/sim/.cursorrules
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 6, 2026 https://github.com/simstudioai/sim/pull/6313#pullrequestreview-4871364286
View reviewed changes https://github.com/simstudioai/sim/pull/6313/files
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/6313#pullrequestreview-4871364286
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTpiMTZlZjJlZi02ZjkxLTQ0OTMtODc5Yy1jOWFlZWE2YzU0YTAiLCJlbmNyeXB0aW9uS2V5IjoiVEhZYWlmVExWMXIwbTFndG5mVXBmZmt0VWZCRy1kLUxxTTZ0bnZjYndwMCIsImJyYW5jaCI6ImZpeC00NzM3LXVuZG8tcmVkby1wZXJzaXN0LWJ1ZGdldCIsInJlcG9Pd25lciI6InNpbXN0dWRpb2FpIiwicmVwb05hbWUiOiJzaW0iLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot/repository-rules/69252?manageLearning=1
Cursor Bugbothttps://cursor.com/bugbot
7e769c8https://github.com/simstudioai/sim/commit/7e769c8e41a17fae310383f6523f52403beef13b
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
apps/sim/stores/undo-redo/store.tshttps://github.com/simstudioai/sim/pull/6313/files#diff-e6248d4db5595d1c9660638e8261961eee7e39d533c8439e52d8c1242598481f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-f4luft7uf-sim-studio.vercel.app
August 6, 2026 05:45https://github.com/simstudioai/sim/pull/6313#event-29049737020
https://github.com/rohitsudhakar1
rohitsudhakar1https://github.com/rohitsudhakar1
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5200856002
20d7565https://github.com/simstudioai/sim/commit/20d75659c1ee36da7d079a33db3e82b52b8a1f9f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
rohitsudhakar1https://github.com/rohitsudhakar1
August 6, 2026 12:18https://github.com/simstudioai/sim/pull/6313#commits-pushed-1f4cb5b
https://github.com/rohitsudhakar1
fix(undo-redo): bound persisted history by size, not just operation c…https://github.com/simstudioai/sim/pull/6313/commits/1f4cb5b823b9bab3c8473ac821cb9d1eb41eba0e
1f4cb5bhttps://github.com/simstudioai/sim/pull/6313/commits/1f4cb5b823b9bab3c8473ac821cb9d1eb41eba0e
simstudioai#4737https://github.com/simstudioai/sim/issues/4737
https://github.com/rohitsudhakar1
fix(undo-redo): evict furthest-from-use first so redo order survives …https://github.com/simstudioai/sim/pull/6313/commits/4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
4326caahttps://github.com/simstudioai/sim/pull/6313/commits/4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
https://github.com/rohitsudhakar1
rohitsudhakar1https://github.com/rohitsudhakar1
force-pushedhttps://github.com/simstudioai/sim/compare/20d75659c1ee36da7d079a33db3e82b52b8a1f9f..4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
20d7565https://github.com/simstudioai/sim/commit/20d75659c1ee36da7d079a33db3e82b52b8a1f9f
4326caahttps://github.com/simstudioai/sim/commit/4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
Compare https://github.com/simstudioai/sim/compare/20d75659c1ee36da7d079a33db3e82b52b8a1f9f..4326caada45b7c3971245c8a7dd2eb54ce7c3bfa
August 6, 2026 19:19https://github.com/simstudioai/sim/pull/6313#event-29084252724
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 6, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5208509438
@rohitsudhakar1https://github.com/rohitsudhakar1
Vercelhttps://vercel.com
authorize ithttps://vercel.com/git/authorize?team=Sim&slug=sim-studio&teamId=team_x9Pm9dnmPFB7yp4p9p5pCHDU&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%224326caada45b7c3971245c8a7dd2eb54ce7c3bfa%22%7D%2C%22id%22%3A%22QmWRwsmj3MaAeLJV1jzc3rqhkUHDajKKDyP6b1CfyAQmti%22%2C%22org%22%3A%22simstudioai%22%2C%22prId%22%3A6313%2C%22repo%22%3A%22sim%22%7D
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/PramaYudhistira
PramaYudhistirahttps://github.com/PramaYudhistira
Aug 17, 2026https://github.com/simstudioai/sim/pull/6313#issuecomment-5320961226
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
Deployedhttps://docs-f4luft7uf-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-f4luft7uf-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%2F6313
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/6313/files/7e769c8e41a17fae310383f6523f52403beef13b
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/6313/files/7e769c8e41a17fae310383f6523f52403beef13b
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
bug(undo-redo): QuotaExceededError when localStorage cap is exhausted by undo/redo snapshots https://github.com/simstudioai/sim/issues/4737
Please reload this pagehttps://github.com/simstudioai/sim/pull/6313
https://github.com/rohitsudhakar1
https://github.com/PramaYudhistira
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.