| react-profiling | 0 |
| react-import-map | react,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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:258c4a26-2522-11b1-174d-7b76ccc969e7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F3A:3491F9:135B4A5:1A7D90D:6AFB6F46 |
| html-safe-nonce | dda65edc41565f1cd120dde1e28763967c8c1e264db31f327403b5ac306f20cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjNBOjM0OTFGOToxMzVCNEE1OjFBN0Q5MEQ6NkFGQjZGNDYiLCJ2aXNpdG9yX2lkIjoiNDk2MjUyNjA0MTYxMzIzMzk5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a00109c0784e8db5093ad4d262f1c7a675b640253204008c2a6c60343b825e2a |
| hovercard-subject-tag | pull_request:4579506018 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8010/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Metadata currentVersion, version list/get, and revert now agree with the writer when the newest version row no longer holds the file's bytes (a content write that skipped recording, e.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/8010/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8010%2Ffiles |
| 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%2F8010%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/8010/files |
| Reload | https://github.com/simstudioai/sim/pull/8010/files |
| Reload | https://github.com/simstudioai/sim/pull/8010/files |
| 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 requests198 (198) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/file-versions-followups | https://github.com/simstudioai/sim/tree/fix/file-versions-followups |
|
Conversation
17
| https://github.com/simstudioai/sim/pull/8010 |
|
Commits
4
| https://github.com/simstudioai/sim/pull/8010/commits |
|
Checks
33
| https://github.com/simstudioai/sim/pull/8010/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8010/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8010/files |
|
fix(files): file version history follow-ups
| https://github.com/simstudioai/sim/pull/8010/files#top |
|
Show all changes
4 commits
| https://github.com/simstudioai/sim/pull/8010/files |
|
339f192
fix(files): bound file version retention per run and document both co…
waleedlatif1 Sep 19, 2026
| https://github.com/simstudioai/sim/pull/8010/commits/339f19205c9737e42c94774eea11e985fe52d93d |
|
a057433
fix(files): agree on the current version when a write skipped recordi…
waleedlatif1 Sep 19, 2026
| https://github.com/simstudioai/sim/pull/8010/commits/a05743310989b74ff89b2bb6aeb62e4a0a0cae1a |
|
c332b9b
fix(files): size each retention batch to the remaining run allowance
waleedlatif1 Sep 19, 2026
| https://github.com/simstudioai/sim/pull/8010/commits/c332b9bb6806c6e479472ae1cc13e7b3f5d5bc5e |
|
7b93357
fix(files): read file versions against one snapshot of the file
waleedlatif1 Sep 19, 2026
| https://github.com/simstudioai/sim/pull/8010/commits/7b93357ba3624023201920559485e975254bc8d3 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8010/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8010/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8010/files |
|
openapi-v2-files-audit.json
| https://github.com/simstudioai/sim/pull/8010/files#diff-c6918d7f933ec43ee8b8a4983d19f272b35962e2510bad721fc05d6d82b41b8d |
|
cleanup-file-versions.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
files-audit.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-97319965ae7aacfb970845624bee9f5e4374c04df6c9b9487ccc26900660ec63 |
|
v2-operations.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-a32a173b553c777ebd3d9ecabb9cbc5fe7705ac6fa3761dbceaeb5458fc449b7 |
|
file-versions.integration.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
workspace-file-manager.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
workspace-file-storage-cleanup-outbox.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-b631e6949b4bbd001dc4bdf5d623d5f1ea7442bc46355949e0eaf351d8aab896 |
|
workspace-file-versions.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-5758e0e4c9fac05259eae725f68b5b13b39796919975c4986c1997598e6bacb3 |
|
file-versions.test.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-d68c013d75d3d729efd979214cbcb2d8c3ed406d7a3cb7abaf0d370814ab7ff8 |
|
file-versions.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-860d5d55abd8503974107012d58b44862cdd0527212f52dee4a59a49b83941be |
|
commands.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-5b27c3986f1d8efb7c666a86dc02bf70fe6c52509f71fba2df57e706b9bc729d |
|
types.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-cbe9859b91cedb9e6d108354f29c9568e051b8826df5d42ff0193383c6977ac8 |
|
result.test.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-be35f3221a00706974bccd6dfdfbfc2480da5c546c423c6f9fc0bdd769520108 |
|
result.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-c0713fed9cd590af0ad11af5e04f28439fb745e255e22846c3ab065aefd46ec1 |
|
schema.mock.ts
| https://github.com/simstudioai/sim/pull/8010/files#diff-3b648ee44a059e5fc069169fdfd7c32c89200a3e79b5d0dc25227d3470da73af |
| apps/docs/openapi-v2-files-audit.json | https://github.com/simstudioai/sim/pull/8010/files#diff-c6918d7f933ec43ee8b8a4983d19f272b35962e2510bad721fc05d6d82b41b8d |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/docs/openapi-v2-files-audit.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-c6918d7f933ec43ee8b8a4983d19f272b35962e2510bad721fc05d6d82b41b8d |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-c6918d7f933ec43ee8b8a4983d19f272b35962e2510bad721fc05d6d82b41b8d |
| apps/sim/background/cleanup-file-versions.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/background/cleanup-file-versions.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-153b650f1a7615329564678ab934adfbb092ec35b5272eef03ddc7d9fecf4701 |
| apps/sim/lib/api/contracts/v2/openapi/files-audit.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-97319965ae7aacfb970845624bee9f5e4374c04df6c9b9487ccc26900660ec63 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/lib/api/contracts/v2/openapi/files-audit.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-97319965ae7aacfb970845624bee9f5e4374c04df6c9b9487ccc26900660ec63 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-97319965ae7aacfb970845624bee9f5e4374c04df6c9b9487ccc26900660ec63 |
| apps/sim/lib/api/mcp/generated/v2-operations.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-a32a173b553c777ebd3d9ecabb9cbc5fe7705ac6fa3761dbceaeb5458fc449b7 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/lib/api/mcp/generated/v2-operations.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-a32a173b553c777ebd3d9ecabb9cbc5fe7705ac6fa3761dbceaeb5458fc449b7 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-a32a173b553c777ebd3d9ecabb9cbc5fe7705ac6fa3761dbceaeb5458fc449b7 |
| apps/sim/lib/uploads/contexts/workspace/__integration__/file-versions.integration.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/lib/uploads/contexts/workspace/__integration__/file-versions.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-48ce617ec6384d071ef3e943e8395798a26f850d04a0fbd005cab3626ec26bc2 |
| apps/sim/lib/uploads/contexts/workspace/workspace-file-manager.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/lib/uploads/contexts/workspace/workspace-file-manager.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
| apps/sim/lib/uploads/contexts/workspace/workspace-file-storage-cleanup-outbox.ts | https://github.com/simstudioai/sim/pull/8010/files#diff-b631e6949b4bbd001dc4bdf5d623d5f1ea7442bc46355949e0eaf351d8aab896 |
|
View file
| https://github.com/simstudioai/sim/blob/7b93357ba3624023201920559485e975254bc8d3/apps/sim/lib/uploads/contexts/workspace/workspace-file-storage-cleanup-outbox.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8010/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-b631e6949b4bbd001dc4bdf5d623d5f1ea7442bc46355949e0eaf351d8aab896 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-b631e6949b4bbd001dc4bdf5d623d5f1ea7442bc46355949e0eaf351d8aab896 |
|
| https://github.com/simstudioai/sim/pull/8010/files#diff-b631e6949b4bbd001dc4bdf5d623d5f1ea7442bc46355949e0eaf351d8aab896 |
| Please reload this page | https://github.com/simstudioai/sim/pull/8010/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8010/files |
|
| 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 |