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
{{ message }}
Repository navigation
bug: a spark send settling during its expiry check can read failed #1508
A Spark send whose expiry check runs while a retry or settlement is in progress can read failed for a moment, or emit a failure before its success arrives.
Cases
The expiry listing misses a live retry while its pending Activity row exists, so LightningService writes Failed to Activity before the retry check keeps the send Pending. A later sync corrects the row.
The expiry listing misses a live send and its success reaches Activity afterward, so the failure is emitted first. For a Paykit send, PaykitPaymentProofService can delete the proof before the success attaches the preimage.
Expected
The expiry check acts on one consistent view of the send, so neither a Failed row nor a failure event precedes a success.
Activity