@if ($recovered)

Helm connection recovered — {{ $accountName }}

Helm is reachable again for {{ $accountName }}. The {{ $affectedCount }} queued Helm-mirror item(s) will reconcile automatically on the next retry — no action is required unless a verification ticket was already raised.

@else

Helm connection degraded — {{ $accountName }}

Automated Helm verification for {{ $accountName }} has hit {{ \App\Services\Helm\HelmDegradedGate::CONSECUTIVE_ERROR_THRESHOLD }} consecutive Helm API errors as of {{ $onsetAt }}.

{{ $affectedCount }} queued Helm-mirror item(s) are affected. The Shopify side of each cancel / address-change already completed; the Helm reconciliation keeps retrying through the 12-hour window. If Helm stays unreachable, a verification ticket is raised per affected order.

No action is required yet — this is an early-warning notice. Check your Helm connection in /integrations if errors persist.

@endif

Thanks,
{{ config('app.name') }}