clean up some runtime potential bugs (#19447) #19447
Dr.CI classification results
{"FAILED":[{"workflowId":25689830470,"workflowUniqueId":272804471,"id":75423043197,"runnerName":"GitHub Actions 1016067925","authorEmail":"minguo@meta.com","name":"Docathon Labels Sync / check-labels","jobName":"check-labels","conclusion":"failure","completed_at":"2026-05-11T18:39:14.000000000Z","html_url":"https://github.com/pytorch/executorch/actions/runs/25689830470/job/75423043197","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/executorch/75423043197","head_branch":"export-D104615993","pr_number":19447,"head_sha":"1cd3d162399e2e357bbfb99c09d109eaecee6bd3","head_sha_timestamp":"2026-05-11T18:38:37Z","failure_captures":["Process completed with exit code 1."],"failure_lines":["##[error]Process completed with exit code 1."],"failure_context":[],"time":"2026-05-11T18:38:48.000000000Z"}],"FLAKY":[],"BROKEN_TRUNK":[],"UNSTABLE":[],"UNKNOWN":[],"AWAITING_APPROVAL":[]}