René's URL Explorer Experiment


Title: feat(cleanup): add per-type row limits to existing jobs by TheodoreSpeaks · Pull Request #7842 · simstudioai/sim · GitHub

Open Graph Title: feat(cleanup): add per-type row limits to existing jobs by TheodoreSpeaks · Pull Request #7842 · simstudioai/sim

X Title: feat(cleanup): add per-type row limits to existing jobs by TheodoreSpeaks · Pull Request #7842 · simstudioai/sim

Description: Summary Accept per-type row limits on the existing log and soft-delete cleanup endpoints, returning HTTP 202 and one queued job ID. Pass a shared remaining budget through the existing cleanup selectors so limits apply across every workspace and organization chunk. Omitted types are skipped. Serialize retention jobs, disable automatic task retries, and use smaller owner-discovery pages for manual runs. Fail manual jobs on owner subscription lookup errors. Preserve existing retention rules, billing, storage, and child cleanup behavior. Type of Change New feature Testing 107 focused contract, route, dispatch, worker, and cleanup-helper tests passed. Lint, all 46 audits, block registry, docs manifest, and app/auth type checks passed. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Accept per-type row limits on the existing log and soft-delete cleanup endpoints, returning HTTP 202 and one queued job ID. Pass a shared remaining budget through the existing cleanup sele...

X Description: Summary Accept per-type row limits on the existing log and soft-delete cleanup endpoints, returning HTTP 202 and one queued job ID. Pass a shared remaining budget through the existing cleanup sele...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a567f911-e3f6-c132-e904-9af3979de6f5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC56C:283A10:51FF49:7515E9:6AFB4168
html-safe-nonce139e5b7f0c5736822385166544d8e93d3d7558be70df127d5bd3d168b28e0dfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTZDOjI4M0ExMDo1MUZGNDk6NzUxNUU5OjZBRkI0MTY4IiwidmlzaXRvcl9pZCI6IjIxNDM5MjAxNzU1NTg5MDIxMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc2c4563542c1d0dd44296568dba640d8d856de6d378d1773b52416f18fa4cd5f
hovercard-subject-tagpull_request:4532494509
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7842/files
twitter:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
og:image:altSummary Accept per-type row limits on the existing log and soft-delete cleanup endpoints, returning HTTP 202 and one queued job ID. Pass a shared remaining budget through the existing cleanup sele...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7842/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7842%2Ffiles
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%2F7842%2Ffiles
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%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7842/files
Reloadhttps://github.com/simstudioai/sim/pull/7842/files
Reloadhttps://github.com/simstudioai/sim/pull/7842/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/bounded-cleanuphttps://github.com/simstudioai/sim/tree/feat/bounded-cleanup
Conversation 34 https://github.com/simstudioai/sim/pull/7842
Commits 6 https://github.com/simstudioai/sim/pull/7842/commits
Checks 33 https://github.com/simstudioai/sim/pull/7842/checks
Files changed https://github.com/simstudioai/sim/pull/7842/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7842/files
feat(cleanup): add per-type row limits to existing jobs https://github.com/simstudioai/sim/pull/7842/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/7842/files
139a6c3 feat(cleanup): add bounded manual retention runs TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/139a6c3f33285405ce53a4fe26aa5529cdf6ebd9
af6598d fix(cleanup): coordinate deletion with resource eligibility TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/af6598d8418abe97c39aa334c64d9d25d15bf8a2
a18eec1 fix(cleanup): persist storage retries and complete test fixtures TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/a18eec1e7cfd583bacbcd216ee6f392f80e84281
0ccd2f1 fix(cleanup): guard storage retries by file generation TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/0ccd2f1d56e25408dc1bfa987fe42765ced8b891
5013990 improvement(cleanup): reuse existing jobs for row limits TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/5013990fdc19dd7c2916908bbc68bf81450fd3e7
8e834e3 fix(cleanup): fail manual jobs on owner lookup errors TheodoreSpeaks Sep 15, 2026 https://github.com/simstudioai/sim/pull/7842/commits/8e834e33e31b68910af5f311b3d36a3794a0cf72
Clear filters https://github.com/simstudioai/sim/pull/7842/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7842/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7842/files
route.ts https://github.com/simstudioai/sim/pull/7842/files#diff-c213ad81a3726723edc554177c9c174cd7395d3158a0d9711e547966b121eb72
route.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-e250dfe97fbc68d63b73a7cfbefebc78b4e7e8373f2aad1a255590fff82cbaf0
route.ts https://github.com/simstudioai/sim/pull/7842/files#diff-4005073f5cff5e2142ee3dc0725d96539110e327ba4bbd831f06aa19604d1efc
cleanup-logs.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-bbea63bfb5854b455c8138b1775c6882a9fa49951816dea1902edac93161e234
cleanup-logs.ts https://github.com/simstudioai/sim/pull/7842/files#diff-5aa920679fbd8b67e6e550268dd0c6d9031297895cf596a415e6317d97d83be8
cleanup-soft-deletes.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-7e22c35b1e0f894a4804c728a349279bf85c81dc84d790ce61e3fa8af30c66ea
cleanup-soft-deletes.ts https://github.com/simstudioai/sim/pull/7842/files#diff-0d27a0e21a9e9287bfa78ce2693f0694d417ae9bde9b2379b06f1d7bdd4052d6
cleanup.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-5698fce448479950ff121b89d1b0f985d2606415f5ddf7247973bf85a725c51b
cleanup.ts https://github.com/simstudioai/sim/pull/7842/files#diff-90f33f46d884ac64b328c383c4dcef11b4bf6bf80571e69697e3ad04e9d06937
cleanup-dispatcher.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-848a4862ef8b78aa0a0f0bb8ec316cee73c6a01543d8d863c0c692792565f4af
cleanup-dispatcher.ts https://github.com/simstudioai/sim/pull/7842/files#diff-9b0785fc05035d15847118630b773f0c10848c5292b12139dc229074e6b3e868
batch-delete.test.ts https://github.com/simstudioai/sim/pull/7842/files#diff-df0c52c4e8c1b0100a3a616c95e3ed8b86a2ac5a24381d710ab0b5209b7db41c
batch-delete.ts https://github.com/simstudioai/sim/pull/7842/files#diff-f07b958aaec9193a4b4c14e384154d004e0aa8d937949fcf60403269307315a5
bounded-cleanup.md https://github.com/simstudioai/sim/pull/7842/files#diff-79c7449e08088467d087adb632cb42d52b905c9f61860d6b95da746dfa8a18fc
limits.ts https://github.com/simstudioai/sim/pull/7842/files#diff-c1b363064ab05df7756a5cb98cb5d7672db1e610f4b110128941fb478417fe71
queue.ts https://github.com/simstudioai/sim/pull/7842/files#diff-f781bed2fbf50b49648f2dc0955cd4e438d22d2e1bc5d38143e1e8c7bb52d7d2
large-value-metadata.ts https://github.com/simstudioai/sim/pull/7842/files#diff-d060df08230fd6682a8390d1569679bc14a2d26b6afc49f1c823462bf84a0a32
service.ts https://github.com/simstudioai/sim/pull/7842/files#diff-ea98571334b699efcf50b8693409878763b06acdfcfa2ea37477f19f47b0ce4d
apps/sim/app/api/cron/cleanup-soft-deletes/route.tshttps://github.com/simstudioai/sim/pull/7842/files#diff-c213ad81a3726723edc554177c9c174cd7395d3158a0d9711e547966b121eb72
View file https://github.com/simstudioai/sim/blob/8e834e33e31b68910af5f311b3d36a3794a0cf72/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/7842/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7842/files#diff-c213ad81a3726723edc554177c9c174cd7395d3158a0d9711e547966b121eb72
apps/sim/app/api/logs/cleanup/route.test.tshttps://github.com/simstudioai/sim/pull/7842/files#diff-e250dfe97fbc68d63b73a7cfbefebc78b4e7e8373f2aad1a255590fff82cbaf0
View file https://github.com/simstudioai/sim/blob/8e834e33e31b68910af5f311b3d36a3794a0cf72/apps/sim/app/api/logs/cleanup/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7842/{{ revealButtonHref }}
apps/sim/app/api/logs/cleanup/route.tshttps://github.com/simstudioai/sim/pull/7842/files#diff-4005073f5cff5e2142ee3dc0725d96539110e327ba4bbd831f06aa19604d1efc
View file https://github.com/simstudioai/sim/blob/8e834e33e31b68910af5f311b3d36a3794a0cf72/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/7842/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7842/files#diff-4005073f5cff5e2142ee3dc0725d96539110e327ba4bbd831f06aa19604d1efc
apps/sim/background/cleanup-logs.test.tshttps://github.com/simstudioai/sim/pull/7842/files#diff-bbea63bfb5854b455c8138b1775c6882a9fa49951816dea1902edac93161e234
View file https://github.com/simstudioai/sim/blob/8e834e33e31b68910af5f311b3d36a3794a0cf72/apps/sim/background/cleanup-logs.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7842/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7842/files#diff-bbea63bfb5854b455c8138b1775c6882a9fa49951816dea1902edac93161e234
https://github.com/simstudioai/sim/pull/7842/files#diff-bbea63bfb5854b455c8138b1775c6882a9fa49951816dea1902edac93161e234
https://github.com/simstudioai/sim/pull/7842/files#diff-bbea63bfb5854b455c8138b1775c6882a9fa49951816dea1902edac93161e234
Please reload this pagehttps://github.com/simstudioai/sim/pull/7842/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7842/files
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.