fix(ci): stop shared release tag from poisoning the other platform's build check #101
No reviewers
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer!101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.1.34-adhoc.windows-release-skip-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
release-linuxandrelease-windowsboth publish to the same per-version release tag (e.g.v0.1.34), andrelease_build_needed.pytreated "release tag already targets this commit" as "this platform already built it." Since Linux's job publishedv0.1.34first, the Windows job's check then saw the tag pointing at the same head SHA and skipped its own build entirely — even though only the Linux.AppImageasset was ever attached. Confirmed via the Forgejo release API:v0.1.34currently has onlyBulkImageOrganizer_0.1.34.AppImage, no.exe.resolve_diff_base()to only take the "already built" shortcut when the release actually has an asset for the platform being checked (.exefor windows,.AppImagefor linux), not just when the tag'starget_commitishmatches head.fetch_release_target_shais replaced withfetch_release_info, which also returns the release's asset names.VERSIONbump — this only touchesscripts/release_build_needed.pyand its test, not compiled inputs.Test plan
ruff check ./ruff format --check .pytest— full suite passes (349 passed, 1 skipped)🤖 Generated with Claude Code
Merged manually to
mainasb30228b(squash, matching this PR's diff exactly) so the fixedrelease_build_needed.pyis in place before dispatching the Windows backfill build for v0.1.34.Pull request closed