[PR #6621] [CLOSED] [WIP] Fix syncing error in Actual during transaction import #36828

Closed
opened 2026-04-20 23:39:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6621
Author: @Copilot
Created: 1/11/2026
Status: Closed

Base: masterHead: copilot/fix-syncing-error-in-actual


📝 Commits (3)

📊 Changes

4 files changed (+82 additions, -8 deletions)

View changed files

📝 packages/desktop-client/src/sync-events.ts (+13 -4)
📝 packages/loot-core/src/server/sync/index.ts (+17 -4)
📝 packages/loot-core/src/server/sync/sync.test.ts (+46 -0)
upcoming-release-notes/6621.md (+6 -0)

📄 Description

Investigation and Plan for Syncing Error Issue

  • Understand the issue - users importing transactions via third-party tools (Lunchflow) see generic sync error
  • Locate error message source - found in packages/desktop-client/src/sync-events.ts line 365
  • Trace sync error handling - found catch-all error handler in packages/loot-core/src/server/sync/index.ts line 604-608
  • Improve error logging and capture more error details in sync catch-all handler
  • Add better error context to help debug sync failures
  • Test the changes to ensure error details are properly captured and logged
  • Run type checking and linting
  • Document changes
Original prompt

This section details on the original issue you should resolve

<issue_title>[Bug]: synching error actual</issue_title>
<issue_description>### Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I am using Lunchflow to import transactions into Actual. While the terminal finds the transactions and loads them into Actual I get the following error: ''We had problems syncing your changes. Please report this as a bug by opening a GitHub issue.' 'No transactions show up in Actual till the next day around 7 P.M if I load them in manually threw the terminal. I am running Actual on a self hosted docker in Unraid. I have a cron job set up for auto-import which also does not work because of this issue. The customer service of Lunchflow did not find any issues on their side. They said the issue lies with Actual.

How can we reproduce the issue?

How can we reproduce the issue?

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Microsoft Edge

Operating System

Windows 11</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


🔄 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/6621 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 1/11/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `copilot/fix-syncing-error-in-actual` --- ### 📝 Commits (3) - [`7413d08`](https://github.com/actualbudget/actual/commit/7413d084d9d04ff75c92e14036c7f015270cea9d) Initial plan - [`5e21668`](https://github.com/actualbudget/actual/commit/5e21668da2a63b718c93530092fe456539a1b970) Add release notes for PR #6621 - [`bb2f147`](https://github.com/actualbudget/actual/commit/bb2f1477621474d8e3f5c54bcb039fcf252ab6c0) Improve sync error logging with detailed error information ### 📊 Changes **4 files changed** (+82 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/sync-events.ts` (+13 -4) 📝 `packages/loot-core/src/server/sync/index.ts` (+17 -4) 📝 `packages/loot-core/src/server/sync/sync.test.ts` (+46 -0) ➕ `upcoming-release-notes/6621.md` (+6 -0) </details> ### 📄 Description ## Investigation and Plan for Syncing Error Issue - [x] Understand the issue - users importing transactions via third-party tools (Lunchflow) see generic sync error - [x] Locate error message source - found in `packages/desktop-client/src/sync-events.ts` line 365 - [x] Trace sync error handling - found catch-all error handler in `packages/loot-core/src/server/sync/index.ts` line 604-608 - [x] Improve error logging and capture more error details in sync catch-all handler - [x] Add better error context to help debug sync failures - [x] Test the changes to ensure error details are properly captured and logged - [x] Run type checking and linting - [x] Document changes <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>[Bug]: synching error actual</issue_title> > <issue_description>### Verified issue does not already exist? > > - [x] I have searched and found no existing issue > > ### What happened? > > I am using Lunchflow to import transactions into Actual. While the terminal finds the transactions and loads them into Actual I get the following error: ''We had problems syncing your changes. Please report this as a bug by opening a GitHub issue.' 'No transactions show up in Actual till the next day around 7 P.M if I load them in manually threw the terminal. I am running Actual on a self hosted docker in Unraid. I have a cron job set up for auto-import which also does not work because of this issue. The customer service of Lunchflow did not find any issues on their side. They said the issue lies with Actual. > > ### How can we reproduce the issue? > > How can we reproduce the issue? > > ### Where are you hosting Actual? > > Docker > > ### What browsers are you seeing the problem on? > > Microsoft Edge > > ### Operating System > > Windows 11</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes actualbudget/actual#6619 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --- <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-20 23:39:47 -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#36828