Skip to content

fix(iris): fixup Starlette on_shutdown#4155

Merged
ravwojdyla merged 2 commits intomainfrom
rav-fixup-starlette_shutdown
Mar 25, 2026
Merged

fix(iris): fixup Starlette on_shutdown#4155
ravwojdyla merged 2 commits intomainfrom
rav-fixup-starlette_shutdown

Conversation

@ravwojdyla
Copy link
Copy Markdown
Contributor

ravwojdyla and others added 2 commits March 25, 2026 15:36
…t manager

Starlette 0.50 removed the on_shutdown parameter from Starlette.__init__().
Migrate all three call sites to the lifespan async context manager pattern.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tern

Consolidates the repeated asynccontextmanager boilerplate into a shared
on_shutdown() helper in dashboard_common, simplifying all three call sites.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ravwojdyla ravwojdyla requested a review from yonromai March 25, 2026 22:46
@ravwojdyla ravwojdyla merged commit 69135bf into main Mar 25, 2026
42 of 43 checks passed
@ravwojdyla ravwojdyla deleted the rav-fixup-starlette_shutdown branch March 25, 2026 22:50
Helw150 pushed a commit that referenced this pull request Apr 8, 2026
* regression from
https://github.com/marin-community/marin/pull/4126/changes

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants