Allow the autonomous queue to produce the restart receipt

The complete race run observed a successful PBS recovery webhook after the functional test watchdog expired. Match the existing notification recovery contract watchdog: two autonomous five-second polls plus callback scheduling, while still requiring the actual HTTP payload and incident identity. No production queue, delivery policy or performance assertion changes.

Contract-Neutral: Test-only functional receipt watchdog for the existing autonomous notification queue; production delivery and API unchanged.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot] 2026-10-01 03:59:08 +01:00
parent 5c6e826cc4
commit 28cdde7299

View file

@ -75,7 +75,12 @@ func testPBSMetricObservationGapNotificationReceipts(t *testing.T, restart bool)
select {
case body := <-receipts:
return body
case <-time.After(5 * time.Second):
case <-time.After(12 * time.Second):
// This asserts delivery, not latency. The autonomous queue polls
// every five seconds and the resolution callback is asynchronous;
// a five-second deadline races a legitimate post-restart delivery.
// Allow the same two-poll bound as the queue's recovery contracts,
// without forcing its worker or skipping the real HTTP receipt.
t.Fatal("no HTTP webhook receipt")
return nil
}