7a024cec3b
r.Context() is cancelled when the HTTP handler returns (after 201 is sent), causing the job to be immediately marked as cancelled_shutdown before WoL even runs. Use context.Background() so the job goroutine runs independently of the HTTP request lifecycle.