Skip to content

Commit c57ec81

Browse files
committed
docs(submitqueue): Note that details filled in after a request.failed event do not reach hooks
1 parent 71e7ece commit c57ec81

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎submitqueue/core/hookevent/hookevent.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
// does not hold back the finish, so a hook can see the finish first.
4646
// - The queue drops a repeated event id only until the first copy is consumed
4747
// and collected, seconds later.
48+
// - A request.failed payload is what the summary says when the event is
49+
// published. When a later copy of the finish fills in details the first
50+
// lacked, its event keeps the same id, so hooks only see them if the queue
51+
// forgot the first. Repair resends carry what their caller knows, which
52+
// makes this rare.
4853
package hookevent
4954

5055
import (

0 commit comments

Comments
 (0)