Skip to content

Conversation

@louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Nov 3, 2025

Describe Your Changes

This PR fixes model download hang issue, as soon as model failed to download due to network issue, it hangs and does not let users to cancel it. This also improves cancel button where it responses immediately.
This PR also fixed the issue where it could not open app folder on mac from settings

Screen.Recording.2025-11-03.at.20.12.51.mov

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Copilot AI review requested due to automatic review settings November 3, 2025 13:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds event emission for download abortion to notify listeners when a model download is stopped. The change emits a DownloadEvent.onFileDownloadStopped event in the abortDownload method's finally block to ensure consistent notification of download state changes.

  • Imports events and DownloadEvent from @janhq/core
  • Modifies abortDownload to emit an event after aborting the download

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@louis-jan louis-jan force-pushed the fix/model-download-hang branch from 0e68dc2 to eb1722b Compare November 3, 2025 14:57
Copilot AI review requested due to automatic review settings November 3, 2025 14:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@louis-jan louis-jan merged commit 4b5dfb3 into dev Nov 4, 2025
17 checks passed
@louis-jan louis-jan deleted the fix/model-download-hang branch November 4, 2025 03:02
@github-project-automation github-project-automation bot moved this to QA in Jan Nov 4, 2025
@github-actions github-actions bot added this to the v0.7.4 milestone Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: QA

Development

Successfully merging this pull request may close these issues.

bug: Show in Finder button stopped working on dev bug: Failed to cancel download task due to no task exist (not established)

3 participants