Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SessionLoader: batch load #4439

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Conversation

soulomoon
Copy link
Collaborator

@soulomoon soulomoon commented Oct 24, 2024

An attempt to fix #4381

Something bad:

  1. error distribution
  2. loading for file in parent folder, but child would attached to the parent (When it should not)

Refactor session loading to support multiple file paths

**Body:**

Enhanced session loading to handle multiple file paths, improving error handling and logging for cradle detection. Updated `packageSetup` and `session` functions to process lists of file paths, ensuring better component management. This change aims to improve the robustness and clarity of session initialization, especially in multi-component projects.
@soulomoon soulomoon added the performance Issues about memory consumption, responsiveness, etc. label Oct 25, 2024
…ility and consistency. This change enhances the clarity of the setup messages by properly formatting the list of cradles and log file paths.
This reverts commit d74ade7.
Refactor session loading to handle pending files

Introduced a queue to manage pending files during session loading, ensuring that file options are processed in batches. This change improves the efficiency and reliability of session initialization by serializing file processing and avoiding redundant lookups.
```
Update cradle handling and hie-bios dependency

Refactored cradle handling to use NonEmpty lists for better type safety and consistency. Updated hie-bios dependency to a new commit to incorporate recent fixes and improvements. Adjusted related functions to align with the new data structures and improved error handling.

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issues about memory consumption, responsiveness, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial load of multiple home units is slow with lazy component loading
1 participant