md5( ( $signal['job_id'] ?? '' ) . '|' . ( $context['reason_code'] ?? '' ) . '|' . ( $context['destination'] ?? '' ) . '|' . ( $context['provider_code'] ?? '' ) . '|' . ( $context['http_status'] ?? '' ) ); if ( $hash === $last_hash ) { continue; } $out[] = $signal; $last_hash = $hash; } return $out; } }