Skip to content

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Jul 14, 2025

Purpose

Addresses https://jira.autodesk.com/browse/DYN-7145(https://jira.autodesk.com/browse/DYN-7145): As a Dynamo Dev, Dynamo should not hang and crash when the package upload is more than 1 GB.

Frontend PR - https://git.autodesk.com/Dynamo/PackagePublishWizard/pull/52

Analysis

The issue postulates that the PM cannot handle large packages - packages above 1Gb of data, and causes Dynamo to crash. Running a small amount of large files disproves this statement, as shown below. However, processing a large number of files is handled poorly at the moment, and without a UI update, causes the user to think Dynamo has crashed, although eventually the files will be processed.

> 1 Gb not a problem in itself

vatJ9lNfFT

Introducing UI visual cue to show the progress of processing files as well as offloading this process from the main thread dramatically enhances the user experience.

Async process of file loading with progress update - processing Dynamo build with over 18k files

gbcDKy94bb

Declarations

Check these if you believe they are true

  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB
  • This PR introduces new feature code involve network connecting and is tested with no-network mode.

Release Notes

(FILL ME IN) Brief description of the fix / enhancement. Use N/A to indicate that the changes in this pull request do not apply to Release Notes. Mandatory section

Reviewers

@jasonstratton
@zeusongit

FYIs

@QilongTang

dnenov added 4 commits July 11, 2025 15:28
- refactored code to support async files and folders loading, moving the heavy UI-blocking operations to a sub thread
- changes to allow responsive frontend for cancellation and progress indication
- small null check for compatibilityMapList  when loading Dynamo
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7145

dnenov added 4 commits July 15, 2025 17:38
- revert accidental change to the reset function
- created tests for the new functionalities
- aggregate warnings to prevent multiple prompts popping up during the async process
- surface warnings/errors to the user once the loading is completed
- added remaining hard-coded resources
@dnenov dnenov requested a review from jasonstratton July 17, 2025 12:52
@dnenov dnenov marked this pull request as ready for review July 17, 2025 12:52
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.

1 participant