Skip to content

Fall back to bundled assets when startup downloads fail - #579

Merged
dimdenGD merged 1 commit into
dimdenGD:mainfrom
lilacprozac:fix/startup-asset-recovery
Nov 19, 2026
Merged

dimdenGD merged 1 commit into
dimdenGD:mainfrom
lilacprozac:fix/startup-asset-recovery

Conversation

@lilacprozac

Copy link
Copy Markdown
Contributor

What goes wrong

OldTweetDeck fetches startup assets from GitHub. If one fetch rejects and others succeed, the successful response lets startup proceed to read every response body. The rejected result has no response, so startup throws before it can use the bundled files.

Fix

Use the remote startup assets as a set. If a request fails, returns an HTTP error, or provides an unreadable or incomplete body, load the full bundled set. Select a complete set before replacing the page markup. The existing local-files preference still skips remote startup downloads.

Verification

  • Reproduced the blank startup path by simulating a failed request for the remote files/bundle.js while the other requests succeeded.
  • Ran eight startup regression checks covering successful remote loading, request failure, HTTP failure, body-read failure, empty and short responses, local-only mode, and failure of both sources.
  • Re-ran the quote and Smart Cashtag checks from Show quote cards with media and render Smart Cashtags #578 and built both the Chrome and Firefox packages.

@dimdenGD
dimdenGD merged commit 272d2cf into dimdenGD:main Nov 19, 2026
1 check passed
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.

2 participants