Skip to content

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

Open
localai-org-maint-bot wants to merge 1 commit into
masterfrom
bot/issue-10230-resumable-downloads
Open

feat(downloads): add resume-safe pause action#11222
localai-org-maint-bot wants to merge 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
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.

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

1 participant