[PR #5843] [MERGED] 🛠️ Add retries to electron loot-core import #47979

Closed
opened 2026-04-26 09:55:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5843
Author: @MikesGlitch
Created: 10/2/2025
Status: Merged
Merged: 10/5/2025
Merged by: @MikesGlitch

Base: masterHead: add-retries-to-electron-server-import


📝 Commits (2)

📊 Changes

3 files changed (+37 additions, -4 deletions)

View changed files

📝 package.json (+2 -1)
📝 packages/desktop-electron/server.ts (+29 -3)
upcoming-release-notes/5843.md (+6 -0)

📄 Description

There's a race condition in the electron start script where electron app attempts to load the loot-core bundle while it's being built. This only affects devs while building/watching loot core, so the prod bundle has always been fine.

Added retries for a better dev experience and a little extra safety.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5843 **Author:** [@MikesGlitch](https://github.com/MikesGlitch) **Created:** 10/2/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@MikesGlitch](https://github.com/MikesGlitch) **Base:** `master` ← **Head:** `add-retries-to-electron-server-import` --- ### 📝 Commits (2) - [`0b16e3e`](https://github.com/actualbudget/actual/commit/0b16e3ec36e2003f16ece055376be7935248afc9) add retries to electron server import - [`d144a3a`](https://github.com/actualbudget/actual/commit/d144a3a7265c5435f72a7407582d480479f1f2a0) release notes ### 📊 Changes **3 files changed** (+37 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+2 -1) 📝 `packages/desktop-electron/server.ts` (+29 -3) ➕ `upcoming-release-notes/5843.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> There's a race condition in the electron start script where electron app attempts to load the loot-core bundle while it's being built. This only affects devs while building/watching loot core, so the prod bundle has always been fine. Added retries for a better dev experience and a little extra safety. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 09:55:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#47979