| 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:3e6d0656-b121-5a0d-8582-faa8d6bdd26f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AAA6:3ED420:585A01:7E9303:6AFB3E9E |
| html-safe-nonce | 15893619b0cdd84a8f0e1e2f889af57f6f222bb6cdc8e9e8fea28e0cca9bf44f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUE2OjNFRDQyMDo1ODVBMDE6N0U5MzAzOjZBRkIzRTlFIiwidmlzaXRvcl9pZCI6IjI0MTcxNTA0NDYxMjI1OTQ4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee3046a64941ffc47f6d40bdb71ab58717c1c897c5269dea40681753e2f905eb |
| hovercard-subject-tag | pull_request:3524384641 |
| 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/4128/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary
Add data retention jobs. 3 jobs created:
Clean up soft deleted resources (7 days free, 30 days paid, customizable enterprise)
Log retention cleanup (7 days free, infinite paid, customizabl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693 |
| 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 | 3b4fc8df5ef1c6757e733a23e6b81b6725021823 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/4128/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4128%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%2F4128%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/4128/files |
| Reload | https://github.com/simstudioai/sim/pull/4128/files |
| Reload | https://github.com/simstudioai/sim/pull/4128/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 requests202 (202) | 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 |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/auto-redaction | https://github.com/simstudioai/sim/tree/feat/auto-redaction |
|
Conversation
32
| https://github.com/simstudioai/sim/pull/4128 |
|
Commits
3
| https://github.com/simstudioai/sim/pull/4128/commits |
|
Checks
13
| https://github.com/simstudioai/sim/pull/4128/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/4128/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4128/files |
|
feat(jobs): Add data retention jobs
| https://github.com/simstudioai/sim/pull/4128/files#top |
|
Show all changes
3 commits
| https://github.com/simstudioai/sim/pull/4128/files |
|
be59d2b
feat(jobs): Add data retention jobs
TheodoreSpeaks Apr 20, 2026
| https://github.com/simstudioai/sim/pull/4128/commits/be59d2b00442d85744ff91fada945c0db27f42f6 |
|
04c8c8d
Cleanup orphaned using ids, not timestamp sorting
TheodoreSpeaks Apr 21, 2026
| https://github.com/simstudioai/sim/pull/4128/commits/04c8c8d1c9c5e2dea8f415e0071acfad67d30a06 |
|
f546653
fix lint
TheodoreSpeaks Apr 21, 2026
| https://github.com/simstudioai/sim/pull/4128/commits/f546653c8d290540bdc2c569f84ae59779b4b7a6 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/4128/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4128/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4128/files |
|
route.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-c213ad81a3726723edc554177c9c174cd7395d3158a0d9711e547966b121eb72 |
|
route.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-7ddf0b83bd409954df1044b00d048bf8143bdc6326e6d92f0a4f0ecefd6bcb93 |
|
route.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-4005073f5cff5e2142ee3dc0725d96539110e327ba4bbd831f06aa19604d1efc |
|
route.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-a583b9aab4fe2233bd7d892e19a653ec39bfbea0876d18956c3c101c4adeb615 |
|
page.tsx
| https://github.com/simstudioai/sim/pull/4128/files#diff-9237dd5eb61b0ca8ac0bdbf17fba44956afe465cddafcc49e6744dc7c6bde7e1 |
|
settings.tsx
| https://github.com/simstudioai/sim/pull/4128/files#diff-a82a043ca7a7736b97bf6a5385a54339c186c7a782a1bd4d3e61c87c6ac2975d |
|
navigation.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-f2f1af2d51fa290d01aa65f7db6f85a77bd61e39282e33962fce58fa54f9d780 |
|
settings-sidebar.tsx
| https://github.com/simstudioai/sim/pull/4128/files#diff-07f29e63f13800371e94bbb26f9c17492c83df7f027deb6d0199702560d32788 |
|
cleanup-logs.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-5aa920679fbd8b67e6e550268dd0c6d9031297895cf596a415e6317d97d83be8 |
|
cleanup-soft-deletes.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-0d27a0e21a9e9287bfa78ce2693f0694d417ae9bde9b2379b06f1d7bdd4052d6 |
|
cleanup-tasks.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-729994db54353b6880c11d202dcca660a4f07f694366c9b496ac179f126fa211 |
|
data-retention-settings.tsx
| https://github.com/simstudioai/sim/pull/4128/files#diff-764e9cf912d26c066290a0b604241370dd169586b89737be53eb4827da0b53ee |
|
data-retention.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-2c290e62aacd6a5586214c1f8ca21ed8a4d8e9cee32c8c2bfaa3d95a1e21e6f2 |
|
cleanup-dispatcher.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-9b0785fc05035d15847118630b773f0c10848c5292b12139dc229074e6b3e868 |
|
batch-delete.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-f07b958aaec9193a4b4c14e384154d004e0aa8d937949fcf60403269307315a5 |
|
chat-cleanup.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-5f80865555d40f6c376c0d53f72944d721b340b03cf01b8f43a0d41fb28640e3 |
|
trigger-dev.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a |
|
types.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4 |
|
env.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298 |
|
0193_lying_rocket_racer.sql
| https://github.com/simstudioai/sim/pull/4128/files#diff-9fa742f4e660b8c7d22106e6d9372ae8de7ab70638ab6c1484663a53a3d4d1c1 |
|
0193_snapshot.json
| https://github.com/simstudioai/sim/pull/4128/files#diff-d1164686ae9bb310a5a1c62403cbaf1ef063c0be870fafbb2722bd26fd981434 |
|
_journal.json
| https://github.com/simstudioai/sim/pull/4128/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/4128/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
| apps/sim/app/api/cron/cleanup-soft-deletes/route.ts | https://github.com/simstudioai/sim/pull/4128/files#diff-c213ad81a3726723edc554177c9c174cd7395d3158a0d9711e547966b121eb72 |
|
View file
| https://github.com/simstudioai/sim/blob/f546653c8d290540bdc2c569f84ae59779b4b7a6/apps/sim/app/api/cron/cleanup-soft-deletes/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4128/{{ revealButtonHref }} |
| apps/sim/app/api/cron/cleanup-tasks/route.ts | https://github.com/simstudioai/sim/pull/4128/files#diff-7ddf0b83bd409954df1044b00d048bf8143bdc6326e6d92f0a4f0ecefd6bcb93 |
|
View file
| https://github.com/simstudioai/sim/blob/f546653c8d290540bdc2c569f84ae59779b4b7a6/apps/sim/app/api/cron/cleanup-tasks/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4128/{{ revealButtonHref }} |
| apps/sim/app/api/logs/cleanup/route.ts | https://github.com/simstudioai/sim/pull/4128/files#diff-4005073f5cff5e2142ee3dc0725d96539110e327ba4bbd831f06aa19604d1efc |
|
View file
| https://github.com/simstudioai/sim/blob/f546653c8d290540bdc2c569f84ae59779b4b7a6/apps/sim/app/api/logs/cleanup/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4128/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/4128/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4128/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 |