chore: inspect staging proxy aborts
Diagnose rectification request (temporary) / diagnose (push) Successful in 23s
Diagnose rectification request (temporary) / diagnose (push) Successful in 23s
This commit is contained in:
@@ -58,7 +58,7 @@ jobs:
|
||||
where md5(t.request_id::text) = :'request_hash'
|
||||
order by p.sequence;
|
||||
\echo RECEIPTS
|
||||
select concat_ws('|', r.tool_name, r.public_phase, r.status, coalesce(r.safe_error_code, ''))
|
||||
select concat_ws('|', r.tool_name, r.public_phase, r.status, coalesce(r.safe_error_code, ''), r.started_at, coalesce(r.completed_at::text, ''))
|
||||
from public.agentic_rectification_tool_receipts r
|
||||
join public.agentic_rectification_turns t on t.id = r.turn_id
|
||||
where md5(t.request_id::text) = :'request_hash'
|
||||
@@ -80,4 +80,6 @@ jobs:
|
||||
order by f.asked_at desc
|
||||
limit 8;
|
||||
SQL
|
||||
ssh "${ssh_options[@]}" "$remote" "container=\$(sudo -n docker ps -q --filter 'label=com.docker.compose.project=jyotisha-staging' --filter 'label=com.docker.compose.service=web' | head -n 1); test -n \"\$container\"; sudo -n docker logs --since '2026-08-27T10:22:45Z' --until '2026-08-27T10:26:00Z' \"\$container\" 2>&1" | grep -Ei 'rectification|stream|abort|timeout|provider|error' | sed -E 's/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/[redacted-uuid]/g' | tail -n 200 || true
|
||||
ssh "${ssh_options[@]}" "$remote" "container=\$(sudo -n docker ps -q --filter 'label=com.docker.compose.project=jyotisha-staging' --filter 'label=com.docker.compose.service=web' | head -n 1); test -n \"\$container\"; sudo -n docker logs --since '2026-08-27T10:22:45Z' --until '2026-08-27T10:26:00Z' \"\$container\" 2>&1" | grep -Ei 'rectification|stream|abort|timeout|provider|error' | sed -E 's/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/[redacted-uuid]/g; s/([0-9]{1,3}\.){3}[0-9]{1,3}/[redacted-ip]/g' | tail -n 200 || true
|
||||
echo CADDY_ERRORS
|
||||
ssh "${ssh_options[@]}" "$remote" "container=\$(sudo -n docker ps -q --filter 'label=com.docker.compose.project=jyotisha-staging' --filter 'label=com.docker.compose.service=caddy' | head -n 1); test -n \"\$container\"; sudo -n docker logs --since '2026-08-27T10:22:45Z' --until '2026-08-27T10:26:00Z' \"\$container\" 2>&1" | jq -r 'fromjson? | select(.level == "error") | [.ts, .logger, .msg, (.error // "")] | @tsv' | sed -E 's/([0-9]{1,3}\.){3}[0-9]{1,3}/[redacted-ip]/g' | tail -n 100 || true
|
||||
|
||||
Reference in New Issue
Block a user