Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Ensure background task cancellation instartup_event#425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
seer-by-sentry wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromseer/ensure-background-task-cancellation

Conversation

seer-by-sentry[bot]
Copy link

FixesGITINGEST-2. The issue was that: Uvicorn cancels ASGIreceive() during shutdown; Starlette's lifespan handler does not catchCancelledError.

  • Modified thestartup_event function to use atry...finally block to ensure that the background task_remove_old_repositories is always cancelled, even if an exception occurs during the application's startup.

This fix was generated by Seer in Sentry, triggered by Mickael. 👁️ Run ID: 15919

Not quite right?Click here to continue debugging with Seer.

@MickaelCaMickaelCaforce-pushed theseer/ensure-background-task-cancellation branch from40f3cc9 tof06a6b5CompareJuly 17, 2025 11:39
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJul 17, 2025
edited
Loading

⚙️ Preview environment was undeployed.

@MickaelCaMickaelCa added push-containerAllow the PR to build & push a docker container instead of just building it and removed push-containerAllow the PR to build & push a docker container instead of just building it deploy-pr-temp-env labelsJul 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@MickaelCa

[8]ページ先頭

©2009-2025 Movatter.jp