You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address CodeRabbit review feedback on openwisp#251
- Write PENDING_REPORT atomically via tmp file + rename so a partial
write (e.g. full disk) cannot leave a truncated marker behind.
- Fall back to invalidating the persistent checksum when the pending
marker cannot be saved, preserving the previous force re-download
behaviour as a safety net.
- Only retry a pending report after configuration_changed() returns 0
(confirmed no-change). Non-0/non-1 exit codes indicate checksum fetch
failures and the cached applied/error status may no longer reflect the
controller's current desired configuration.
0 commit comments