[PR #8115] [MERGED] Refresh akahu account if stale #127050

Closed
opened 2026-06-14 06:34:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/8115
Author: @tim-smart
Created: 6/7/2026
Status: Merged
Merged: 6/8/2026
Merged by: @MatissJanis

Base: masterHead: akahu-refresh


📝 Commits (9)

  • 24c21f1 Refresh akahu account if stale
  • 0a099fc Update upcoming-release-notes/akahu-refresh.md
  • 5908688 wait for the refresh to complete
  • 10261ed check account is defined
  • d719aad use local variable
  • 728abd3 move into helper
  • 7b1659a increase poll delay
  • 6644b1e bump refresh interval to 1 hour
  • 787765d ensure only one account refresh is running at a time

📊 Changes

3 files changed (+71 additions, -1 deletions)

View changed files

📝 packages/sync-server/src/app-akahu/app-akahu.ts (+51 -1)
packages/sync-server/src/util/mutex.ts (+14 -0)
upcoming-release-notes/akahu-refresh.md (+6 -0)

📄 Description

Description

If an Akahu account is stale (60 minute cutoff), then trigger a refresh to ensure the data is recent.

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 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/8115 **Author:** [@tim-smart](https://github.com/tim-smart) **Created:** 6/7/2026 **Status:** ✅ Merged **Merged:** 6/8/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `akahu-refresh` --- ### 📝 Commits (9) - [`24c21f1`](https://github.com/actualbudget/actual/commit/24c21f1136ecd0c2fdf4526d4b9baf2687144374) Refresh akahu account if stale - [`0a099fc`](https://github.com/actualbudget/actual/commit/0a099fcdeba6e0363f1984f249beec4e6b37c3e6) Update upcoming-release-notes/akahu-refresh.md - [`5908688`](https://github.com/actualbudget/actual/commit/5908688c2d3ba11e49ef8444749a56a09e13f717) wait for the refresh to complete - [`10261ed`](https://github.com/actualbudget/actual/commit/10261ed3caa2e825d5a3b428d2b92cf0cd6ee97a) check account is defined - [`d719aad`](https://github.com/actualbudget/actual/commit/d719aadb390a76c1a7492809eece9100fbc042c2) use local variable - [`728abd3`](https://github.com/actualbudget/actual/commit/728abd37fe2ec3a1af1ed7c2466af67e973208b3) move into helper - [`7b1659a`](https://github.com/actualbudget/actual/commit/7b1659a2f232986613a1435793b5c598c0d04522) increase poll delay - [`6644b1e`](https://github.com/actualbudget/actual/commit/6644b1e2c4e2789dffea64be5337f000c51b8f0d) bump refresh interval to 1 hour - [`787765d`](https://github.com/actualbudget/actual/commit/787765db7ebc27b8f24ccb0c9925d0603bd1dbba) ensure only one account refresh is running at a time ### 📊 Changes **3 files changed** (+71 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app-akahu/app-akahu.ts` (+51 -1) ➕ `packages/sync-server/src/util/mutex.ts` (+14 -0) ➕ `upcoming-release-notes/akahu-refresh.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://actualbudget.org/docs/contributing/#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description If an Akahu account is stale (60 minute cutoff), then trigger a refresh to ensure the data is recent. ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> --- <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-06-14 06:34:24 -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#127050