Fixed Random Crashes on Parallel Downloads#202
Merged
felix-schultz merged 4 commits intoalphafrom Aug 18, 2025
Merged
Conversation
…ovements - Added `emit_throttled` function to manage event emissions with a minimum interval to prevent spamming. - Introduced `UiEmitTarget` enum for specifying emission targets (Main, Label, All). - Enhanced download manager with a global concurrency limit using a semaphore. - Implemented a download job queue with a dispatcher to manage concurrent downloads. - Refactored download handling in the UI to support progress tracking and queuing. - Improved state management for downloads, including listeners for progress updates and cleanup on unload. - Updated BitCard component to reflect download progress and state changes more effectively.
…d performance - Cleaned up unnecessary whitespace and improved formatting in flow-board.tsx. - Enhanced readability by restructuring conditional statements and using consistent spacing. - Updated BitCard component to improve code organization and readability. - Refactored download manager to streamline download handling and progress tracking. - Fixed CSS formatting in global.css for consistency.
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.
This pull request makes significant improvements to the AI settings page layout and logic, removes the download overview page and related sidebar logic, and refines the handling of model filtering and UI responsiveness. The most important changes are grouped below by theme.
AI Settings Page Layout & Filtering Improvements:
computeWideFlagsto optimize the layout of model cards in rows, ensuring a more visually appealing and consistent display.Removal of Download Overview Page and Sidebar Download Logic:
apps/desktop/app/download/page.tsxfile, removing the download overview functionality from the application.app-sidebar.tsx), including related imports and UI components. [1] [2] [3] [4] [5] [6]Workflow Improvements:
concurrencygroup to the GitHub Actions alpha release workflow to cancel in-progress runs for the same branch, preventing duplicate deployments. (.github/workflows/alpha-release.yml)Minor Codebase Cleanups:
useDownloadManagerandDownloadIcon. [1] [2] [3]Performance & Dependency Handling:
Let me know if you'd like details on any specific change or how these updates affect your workflow!