Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

fix(ci): detect truncated candidate comparisons

Leggett9259efc8791a
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index feefa6f0..5921d3b8 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -311,8 +311,9 @@ jobs:
comparison_status="$(jq -r '.status' <<< "$comparison")"
[[ "$comparison_status" == "identical" || "$comparison_status" == "ahead" ]] || continue
changed_files="$(jq -r '.files | length' <<< "$comparison")"
- reported_files="$(jq -r '.changed_files' <<< "$comparison")"
- [[ "$changed_files" == "$reported_files" ]] || continue
+ # GitHub caps compare responses at 300 files. Reject that boundary so
+ # an incomplete diff can never pass the release-only allowlist.
+ (( changed_files < 300 )) || continue
invalid_files="$(
jq -r '.files[].filename' <<< "$comparison" | while IFS= read -r path; do