Skip to content

feat(downloads): add resume-safe pause action - #11222

Merged
mudler merged 1 commit into
masterfrom
bot/issue-10230-resumable-downloads
Aug 3, 2026
Merged

feat(downloads): add resume-safe pause action#11222
mudler merged 1 commit into
masterfrom
bot/issue-10230-resumable-downloads

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Summary

  • add a distinct pause path for gallery model/backend operations
  • preserve .partial download data on pause while keeping Cancel destructive
  • expose Pause in the React Activity UI and document resume behavior
  • propagate pause intent across distributed frontend replicas

Verification

  • 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 "^$"
  • modified React files: ESLint (0 errors)
  • npm run build
  • git diff --check

The 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

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
localai-org-maint-bot force-pushed the bot/issue-10230-resumable-downloads branch from 5392156 to e31b280 Compare July 31, 2026 03:04
@mudler
mudler merged commit fd4ec08 into master Aug 3, 2026
69 of 70 checks passed
@mudler
mudler deleted the bot/issue-10230-resumable-downloads branch August 3, 2026 13:25
@localai-bot localai-bot added the enhancement New feature or request label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There's No Pause for Downloading Models. People on Slow Connections Can't Easily Download Larger Models

3 participants