Bump uvicorn[standard] from 0.34.0 to 0.41.0#12
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Bumps [uvicorn[standard]](https://github.com/Kludex/uvicorn) from 0.34.0 to 0.41.0. - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](Kludex/uvicorn@0.34.0...0.41.0) --- updated-dependencies: - dependency-name: uvicorn[standard] dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
012f0ef to
de55198
Compare
windoze95
added a commit
that referenced
this pull request
Jun 28, 2026
retention_policy/retention_count on UserSubscription were persisted but never applied — a self-hoster who set a policy got nothing. Add a periodic sweep that makes them real. A new Celery beat task (enforce_retention_task, every retention_interval_hours, default 6h) applies each subscription's policy: - KEEP_LAST_N: keep the newest N downloaded (COMPLETE) videos per (user, channel) and soft-remove the user's UserVideoRefs for the rest, ordered by upload date (falling back to catalog time) with a stable id tiebreak. - KEEP_ALL (default): no-op. - KEEP_WATCHED: recognized but intentionally left unenforced — its only sensible reading is destructive — pending product sign-off. - A missing/non-positive count, or an unknown policy, is treated as a no-op. Reclamation reuses the existing orphan cleanup rather than deleting files here: the sweep soft-removes refs, then runs check_and_delete_orphan, which only deletes the file and resets the Video row once no active ref remains. So shared downloads stay ref-counted — soft-removing one user's ref never removes a video another active ref still wants — and only videos the user actually downloaded are ever touched. check_and_delete_orphan gains a synchronous twin (check_and_delete_orphan_sync) for the Celery worker's sync Session; both share one reclaim helper so the file-deletion + row-reset logic lives in a single place. No schema change (the columns already existed). Tests: KEEP_LAST_N drops refs beyond N (newest kept) and orphan cleanup reclaims; KEEP_ALL is a no-op; a video another active ref still wants is not reclaimed; only downloaded videos count; a policy with no count is a no-op. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RXMKM1rDWn8wNh93MMUtxY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps uvicorn[standard] from 0.34.0 to 0.41.0.
Release notes
Sourced from uvicorn[standard]'s releases.
... (truncated)
Changelog
Sourced from uvicorn[standard]'s changelog.
... (truncated)
Commits
9283c0fVersion 0.41.0 (#2821)a01a33eAdd--limit-max-requests-jitterto stagger worker restarts (#2707)2ce65bdIgnore permission denied errors in watchfiles reloader (#2817)654f2edEnsure lifespan shutdown runs whenshould_exitis set during startup (#2812)a03d9f6Reduce the log level of 'request limit exceeded' messages (#2788)e377de4Add socket path to scope["server"] (#2561)0779f7fPoll for readiness intest_multiprocess_health_checkandrun_server(#2816)7e9ce2cPoll for PID changes intest_multiprocess_sighupinstead of fixed sleep (#2...99f0d87Fix grep warning in scripts/sync-version (#2807)7ae2e63chore(deps): bump the python-packages group with 18 updates (#2801)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)