misc-stability-improvements #56

Merged
matthias merged 4 commits from misc-stability-improvements into main 2025-12-16 19:25:45 +00:00
Owner
  • Add basic WDT checking that async executor is running
  • Ensure unhandled exceptions in callbacks do not propagate to the caller
  • Make timer handle it correctly when the timer queue was changed after _timer_worker was scheduled but before it could run
- Add basic WDT checking that async executor is running - Ensure unhandled exceptions in callbacks do not propagate to the caller - Make timer handle it correctly when the timer queue was changed after _timer_worker was scheduled but before it could run
matthias self-assigned this 2025-12-07 12:25:49 +00:00
matthias added 3 commits 2025-12-07 12:25:50 +00:00
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
fix: exceptions in callback should not terminate caller
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m46s
Check code formatting / Check-C-Format (push) Successful in 9s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 6s
Run unit tests on host / Run-Unit-Tests (push) Successful in 10s
Run pytests / Check-Pytest (push) Successful in 13s
e23f8bd34c
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
fix: timer: handle modifications to timers when _timer_worker is already scheduled correctly
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m45s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 6s
Run unit tests on host / Run-Unit-Tests (push) Successful in 10s
Run pytests / Check-Pytest (push) Successful in 12s
c0b9ef2961
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias requested review from Members 2025-12-07 12:25:56 +00:00
stefank approved these changes 2025-12-16 18:54:21 +00:00
Dismissed
matthias added 1 commit 2025-12-16 19:19:37 +00:00
refactor: timer: split out two helpers from _timer_worker
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m35s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
Run pytests / Check-Pytest (push) Successful in 11s
e0ff9c54bc
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
stefank approved these changes 2025-12-16 19:24:23 +00:00
stefank left a comment
Member

I like the refactored timer logic ;)

I like the refactored timer logic ;)
matthias merged commit 768b630722 into main 2025-12-16 19:25:45 +00:00
matthias deleted branch misc-stability-improvements 2025-12-16 19:25:46 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TonBERRY/tonberry-pico#56