feat(downloads): add resume-safe pause action - #11222
Open
localai-org-maint-bot wants to merge 1 commit into
Open
feat(downloads): add resume-safe pause action#11222localai-org-maint-bot wants to merge 1 commit into
localai-org-maint-bot wants to merge 1 commit into
Conversation
Give gallery operations distinct pause and cancel paths. Pause preserves partial download data so reinstalling the same model or backend resumes through HTTP Range, while cancel keeps its destructive semantics. Surface the action in the Activity UI and document the API behavior. Assisted-by: Codex:gpt-5
localai-org-maint-bot
force-pushed
the
bot/issue-10230-resumable-downloads
branch
from
July 31, 2026 03:04
5392156 to
e31b280
Compare
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.
Summary
.partialdownload data on pause while keeping Cancel destructiveVerification
go test ./pkg/downloader -ginkgo.focus="Download cancellation"go test ./core/services/galleryop -ginkgo.focus="pauses with the resume-safe callback"go test ./core/http/routes -ginkgo.focus="pauses through the resume-safe operation callback"go test ./core/http/routes -run "^$"npm run buildgit diff --checkThe full gallery-op suite requires rootless Docker/PostgreSQL, which is unavailable in this runner. The focused browser spec could not launch because Chromium is not installed and browser downloads are blocked by the environment policy.
Closes #10230