Skip to content

chore(mobile): make openapi requests abortable - #28692

Merged
alextran1502 merged 1 commit into
mainfrom
chore/mobile-abortable-openapi
May 30, 2026
Merged

alextran1502 merged 1 commit into
mainfrom
chore/mobile-abortable-openapi

Conversation

@mertalev

Copy link
Copy Markdown
Member

Description

This PR allows using the standard http.Client mechanism to abort requests, which is useful for both teardown and overall responsiveness.

@immich-push-o-matic

Copy link
Copy Markdown
Contributor

📱 Android release APK (universal) — d05dc66cfb9fd54f07094a36087ada049062e3c6

Download: https://github.com/immich-app/immich/actions/runs/26663274030/artifacts/7301651247

QR code QR code

Installs as a separate app (applicationId app.alextran.immich.pr28692), so it coexists with the Play Store version and any other PR builds.

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like something to PR upstream

@mertalev

Copy link
Copy Markdown
Member Author

We can, but that'll take some time to land and get in a release. This affects background task reliability, so I don't think we need to wait on that in the meantime.

@timonrieger

Copy link
Copy Markdown
Collaborator

We can, but that'll take some time to land and get in a release. This affects background task reliability, so I don't think we need to wait on that in the meantime.

I contributed upstream a bit, so the maintainer knows be by now, which usually helps getting things merged faster. I can send the patch over there. Meanwhile merging this PR

@alextran1502
alextran1502 merged commit 65611bb into main May 30, 2026
61 of 62 checks passed
@alextran1502
alextran1502 deleted the chore/mobile-abortable-openapi branch May 30, 2026 15:31
knom pushed a commit to knom/immich that referenced this pull request May 31, 2026
timonrieger added a commit that referenced this pull request Jun 8, 2026
timonrieger added a commit that referenced this pull request Jul 20, 2026
jrasm91 pushed a commit that referenced this pull request Jul 21, 2026
* remove patch in favor of [OpenAPITools/openapi-generator#23930](OpenAPITools/openapi-generator#23930)

partially revert "chore(mobile): make openapi requests abortable (#28692)"

* gen client

* bump openapi-generator version to v7.24.0

* gen client

* enum migration changes

* drop enum exhaustion switch check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants