[PR #2848] [MERGED] Removed recursion in place for iterable solution to prevent stack overflow #23158

Closed
opened 2026-04-16 17:16:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2848
Author: @lelemm
Created: 6/6/2024
Status: Merged
Merged: 6/18/2024
Merged by: @MatissJanis

Base: masterHead: TooOldDataBug


📝 Commits (10+)

📊 Changes

5 files changed (+95 additions, -14 deletions)

View changed files

📝 packages/desktop-client/src/components/settings/Experimental.tsx (+3 -0)
📝 packages/desktop-client/src/hooks/useFeatureFlag.ts (+1 -0)
📝 packages/loot-core/src/server/spreadsheet/graph-data-structure.ts (+83 -13)
📝 packages/loot-core/src/types/prefs.d.ts (+2 -1)
upcoming-release-notes/2848.md (+6 -0)

📄 Description

Hi, I'm trying to solve the issue #2387 with this fix. Can you check this @MatissJanis?
The idea is not depend on recursion to sort.

fix #2387


🔄 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/2848 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 6/6/2024 **Status:** ✅ Merged **Merged:** 6/18/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `TooOldDataBug` --- ### 📝 Commits (10+) - [`ec895b5`](https://github.com/actualbudget/actual/commit/ec895b5ab810f5d723f508ba5be9dc7ddcc7a377) Removed recursion in place for iterable solution to prevent stack overflow - [`41e8f55`](https://github.com/actualbudget/actual/commit/41e8f55fc1183f9dd6958a3f872b5cf432a1a008) added upcoming release note - [`cd1f9d1`](https://github.com/actualbudget/actual/commit/cd1f9d161e072253f43b6d992ff5b25b4fa1f10c) retrigger checks - [`a681e3a`](https://github.com/actualbudget/actual/commit/a681e3aeec7704d299a349aadd676e111c4d6a64) Trying new topologicalSort version - [`03325ca`](https://github.com/actualbudget/actual/commit/03325ca5a919065214bedfecc89871e7a771e009) removed debugger - [`a7d9128`](https://github.com/actualbudget/actual/commit/a7d9128d660700eefdebc3bc5a0157a9a179a806) Merge branch 'master' into TooOldDataBug - [`0434c4a`](https://github.com/actualbudget/actual/commit/0434c4adad4821547994312ac513c1ec1a00f27e) retrigger checks - [`0c1975a`](https://github.com/actualbudget/actual/commit/0c1975addb5454e8a303420e3088d66e68579079) Merge branch 'master' into TooOldDataBug - [`536bd6e`](https://github.com/actualbudget/actual/commit/536bd6e640c51620e48367980fb6082e22056c00) added feature flag - [`fd97288`](https://github.com/actualbudget/actual/commit/fd972884013c7199479d0a7559acd8ca0f7eed46) Merge branch 'TooOldDataBug' of https://github.com/lelemm/actual into TooOldDataBug ### 📊 Changes **5 files changed** (+95 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/settings/Experimental.tsx` (+3 -0) 📝 `packages/desktop-client/src/hooks/useFeatureFlag.ts` (+1 -0) 📝 `packages/loot-core/src/server/spreadsheet/graph-data-structure.ts` (+83 -13) 📝 `packages/loot-core/src/types/prefs.d.ts` (+2 -1) ➕ `upcoming-release-notes/2848.md` (+6 -0) </details> ### 📄 Description Hi, I'm trying to solve the issue #2387 with this fix. Can you check this @MatissJanis? The idea is not depend on recursion to sort. fix #2387 --- <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-16 17:16:09 -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#23158