update slack_alert

This commit is contained in:
Jensen Yap 2025-08-07 23:28:05 +09:00
parent 603ae9f16d
commit b495238be8

View File

@ -204,7 +204,7 @@
{# Handle threading for failures #}
{%- if enable_auto_threading and total_failures > 0 and not use_webhook and slack_channel -%}
{%- set main_response = fromjson(result.rows[0][0]) -%}
{%- set main_thread_ts = main_response.data.ts -%}
{%- set main_thread_ts = main_response.ts or (main_response.data and main_response.data.ts) -%}
{{ log("Starting threading with " ~ failure_metadata|length ~ " jobs", true) }}