Skip to content

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Nov 12, 2025

Description

This PR fixes #7134 and also displays the size of artifacts being downloaded in the progress

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 5bce560
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/6916038e638c460008f57a78
😎 Deploy Preview https://deploy-preview-7264--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler force-pushed the cancel branch 3 times, most recently from 72598ab to b6ba65d Compare November 12, 2025 22:17
// Check if error is due to context cancellation
if errors.Is(err, context.Canceled) {
// Clean up partial file on cancellation
removePartialFile(tmpFilePath)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
// Check if error is due to context cancellation
if errors.Is(err, context.Canceled) {
// Clean up partial file on cancellation
removePartialFile(tmpFilePath)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
// Check for cancellation before finalizing
select {
case <-ctx.Done():
removePartialFile(tmpFilePath)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler added the enhancement New feature or request label Nov 13, 2025
@mudler mudler merged commit 735ca75 into master Nov 13, 2025
30 checks passed
@mudler mudler deleted the cancel branch November 13, 2025 17:41
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.

Make cancel buttons

2 participants