From c3719618a40e25b4cb5f58063e82a39bd94f8f94 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 26 Mar 2026 20:21:16 +0000 Subject: [PATCH] fix: preserve skip-verification on API-unreachable path (#773) Set is_empty="skipped" before breaking out of the retry loop when the API is unreachable, so the post-loop guard does not misfire with a false "still reports empty" failure. Co-Authored-By: Claude Opus 4.6 (1M context) --- bin/disinto | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/disinto b/bin/disinto index ef917ae..5fa230d 100755 --- a/bin/disinto +++ b/bin/disinto @@ -870,6 +870,7 @@ push_to_forge() { -H "Authorization: token ${FORGE_TOKEN}" \ "${forge_url}/api/v1/repos/${repo_slug}" 2>/dev/null) || repo_info="" if [ -z "$repo_info" ]; then + is_empty="skipped" break # API unreachable, skip verification fi is_empty=$(printf '%s' "$repo_info" | jq -r '.empty // "unknown"')