[PR #5600] Add conditional to schedules logic in rules page - improve VRT stability #13079

Closed
opened 2026-04-10 21:46:39 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5600

State: closed
Merged: Yes


Refactor schedule handling in ManageRules component

  • Updated the ManageRules component to use ScheduleEntity type for schedules.
  • Improved the describeSchedule function to include type annotations for better clarity.
  • Added a conditional check to handle cases where the schedule may not exist, ensuring robust functionality.

This has been making the rules VRT tests flaky. For example: https://github.com/actualbudget/actual/actions/runs/17114788611/job/48543539731?pr=5587

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5600 **State:** closed **Merged:** Yes --- Refactor schedule handling in ManageRules component - Updated the ManageRules component to use ScheduleEntity type for schedules. - Improved the describeSchedule function to include type annotations for better clarity. - Added a conditional check to handle cases where the schedule may not exist, ensuring robust functionality. **This has been making the rules VRT tests flaky. For example: https://github.com/actualbudget/actual/actions/runs/17114788611/job/48543539731?pr=5587**
GiteaMirror added the pull-request label 2026-04-10 21:46:39 -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#13079