Skip to content

Experimental tick queue#18118

Merged
insomnious merged 109 commits intomasterfrom
experimental-tick-queue
Sep 15, 2025
Merged

Experimental tick queue#18118
insomnious merged 109 commits intomasterfrom
experimental-tick-queue

Conversation

@IDCs
Copy link
Contributor

@IDCs IDCs commented Aug 19, 2025

No description provided.

IDCs added 30 commits August 6, 2025 14:18
- Faster resolution of existing/missing depenendencies upon initial
  installation of collection
- Download queue is now processed every 500 msec and will inform the
  user of free/occupied download slots
- Slow workers (no data reception in the last 5 ticks will get restarted)
- Temporary errors such as EIO, ETIMEDOUT, etc will attempt to resume
  upon failure
Previously restarting a download had the potential of sending an
additional api request, trying to resolve the url of a mod
less state manipulation, less overhead
- Improved slow worker restart functionality
- Better error handling
- Now prioritizing single chunk downloads over multi-chunk
- Also removed the "moved to x" notification (added debug log calls)
Also reduced download speed and update event debouncers for better user
feedback on download progress
- Also added cache to avoid duplicate requests
- added proper installation queuing separate from download functionality
- better installation tracking to allow for concurrent installations
- now properly supports multiple concurrent installations
- removed pointless dummy installation queueing
IDCs and others added 19 commits September 10, 2025 11:13
- only keep printable ASCII characters
- truncated error meessage just in case
- pre-computing hex conversion to avoid potential issues during error
  creation

Please note: the actual issue we want to fix is the LOOT process failing
to start, but the error reports are incomplete due to the crash pad and
we therefore cannot debug/check why the process dies.

We should be able to get the actual error message in future releases.

fixes #18251
fixes #18250
fixed potential race condition if update is running but mod was removed
added error details sanitization to prevent crashpad issues
fixed nullish checks in mod reference match tests
…ise-chain

fixed inconsistent promise chain potentially raising TypeError
fixed logging attempt of potentially nullish dependency reference
fixed crash if category data is corrupted
…on-download

fixed downloads creating folders based on domain rather than internal id
@IDCs IDCs marked this pull request as ready for review September 15, 2025 11:50
insomnious
insomnious previously approved these changes Sep 15, 2025
@IDCs IDCs dismissed insomnious’s stale review September 15, 2025 11:51

The merge-base changed after approval.

insomnious
insomnious previously approved these changes Sep 15, 2025
@IDCs IDCs dismissed insomnious’s stale review September 15, 2025 11:56

The merge-base changed after approval.

@insomnious insomnious merged commit e638d81 into master Sep 15, 2025
1 check failed
@insomnious insomnious deleted the experimental-tick-queue branch September 15, 2025 12:35
@insomnious insomnious restored the experimental-tick-queue branch September 15, 2025 12:36
@IDCs IDCs deleted the experimental-tick-queue branch December 16, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants