Files
actual/upcoming-release-notes/fix-schedule-auto-post-same-day.md
Bar M df4dc0d6cc [AI] fix(schedules): allow auto-posting to run again the same day (#8951)
* [AI] fix(schedules): allow auto-posting to run again the same day

advanceSchedulesService is throttled to one run per calendar day through the lastScheduleRun pref, so a schedule that starts posting transactions after that run could not post until the next day. Clear the marker whenever such a schedule is created or updated.

* [AI] test(schedules): cover the auto-posting marker reset

* [AI] chore: add release note

* [AI] fix(schedules): type the shared test date condition as const

Without the assertion the shared object literal widens op/field to string, so it is not assignable to RuleConditionEntity and typecheck (and every build that runs tsc) fails.

* [AI] test(schedules): cover the persisted posts_transaction fallback

The existing omitted-field test creates a schedule that does not post transactions, so it only proves the no-reset branch. This one updates a schedule that already posts transactions without repeating the field, which is the case that has to fall back to the stored value before the marker is cleared.
2026-10-02 18:06:18 +00:00

193 B

category, authors
category authors
Bugfix
galshir

Post scheduled transactions that automatically add a transaction on their due date, even when the schedule was created or edited later the same day