mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #200] fix: skip backport checks for releases not from main branch #200
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/200
Author: @comfy-pr-bot
Created: 4/13/2026
Status: 🔄 Open
Base:
main← Head:fix/backport-checker-skip-non-main-releases📝 Commits (1)
1661907fix: skip backport checks for releases not from main branch📊 Changes
1 file changed (+16 additions, -0 deletions)
View changed files
📝
app/tasks/gh-frontend-backport-checker/index.ts(+16 -0)📄 Description
Problem
The backport checker was running for ALL releases from ComfyUI_frontend, including patch releases made from RC branches like
core/1.42. Christian Byrne pointed out that we do NOT need to check backports when a release is NOT made from the main branch — releases from RC branches already have their commits on that branch, so there's nothing to backport.Changes
mainBranch: 'main'config option so the filter is configurablesflowpipeline to skip releases wheretarget_commitish !== config.mainBranchlogger.debugmessage when skipping non-main releases (shows the tag name and actual target branch)How it works
GitHub releases have a
target_commitishfield indicating the branch/commit the release was created from:target_commitish === 'main'target_commitish === 'core/1.42'The new filter skips any release where
target_commitishdoesn't matchconfig.mainBranch.Testing
Run with
--dry-runagainst the frontend repo and verify that releases likev1.42.9(fromcore/1.42) are skipped with a debug log, while main branch releases continue to be processed normally.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.