From 0ecb277f0e94387396a0f1fde9411855c7a444dc Mon Sep 17 00:00:00 2001 From: Quratulain-bilal Date: Wed, 5 Aug 2026 18:37:12 +0500 Subject: [PATCH] fix: skip corrupted run state files in list_runs (#3817) * fix: skip corrupted run state files in list_runs * fix: address review comments - add UnicodeDecodeError, dict validation, and regression tests - Catch UnicodeDecodeError for invalid UTF-8 encoding - Validate loaded JSON is a dict with required 'run_id' key - Add 5 regression tests for corrupted state files Fixes #3817