Skip to content

Commit 372f645

Browse files
committed
Merge remote-tracking branch 'origin/master' into matt/disambiguate-deprecated-partner-nodes
2 parents 7952b0d + d91ed5f commit 372f645

689 files changed

Lines changed: 177778 additions & 21619 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
..\python_embeded\python.exe -s ..\ComfyUI\main.py --windows-standalone-build --disable-api-nodes
1+
..\python_embeded\python.exe -s ..\ComfyUI\main.py --windows-standalone-build --offline
22
echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe
33
pause

‎.coderabbit.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ reviews:
1111
review_status: false
1212
review_details: true
1313
commit_status: true
14+
# Without this, a review that never happened (rate limit, internal error)
15+
# still posts a green "CodeRabbit" commit status, so a throttled review is
16+
# indistinguishable from a clean one.
17+
fail_commit_status: true
1418
collapse_walkthrough: true
1519
changed_files_summary: false
1620
sequence_diagrams: false

‎.github/workflows/ci-cursor-review.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
# SHA-pinned per zizmor `unpinned-uses: hash-pin`. Bump this SHA to pick up
2424
# upstream changes; keep `workflows_ref` matching so prompts/scripts load
2525
# from the same commit as the workflow definition.
26-
uses: Comfy-Org/github-workflows/.github/workflows/cursor-review.yml@047ca48febe3a6647608ed2e0c4331b491cb9d6a # github-workflows#9
26+
uses: Comfy-Org/github-workflows/.github/workflows/cursor-review.yml@964d5aad37cbfb57c5b23961d42c2fd85868bf1d # github-workflows main (964d5aa)
2727
with:
28-
workflows_ref: 047ca48febe3a6647608ed2e0c4331b491cb9d6a
28+
workflows_ref: 964d5aad37cbfb57c5b23961d42c2fd85868bf1d
2929
diff_excludes: >-
3030
:!**/.claude/**
3131
:!**/dist/**

‎.github/workflows/cla.yml‎

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build author-only allowlist
2323
id: allowlist
2424
if: >
25-
github.event_name == 'pull_request_target' ||
25+
(github.event_name == 'pull_request_target' && github.event.action != 'closed') ||
2626
(github.event_name == 'issue_comment' && github.event.issue.pull_request && (
2727
github.event.comment.body == 'recheck' ||
2828
github.event.comment.body == 'I have read and agree to the Contributor License Agreement'
@@ -35,20 +35,23 @@ jobs:
3535
# For each commit emit the GitHub login when the author/committer email resolves to a GitHub account
3636
# otherwise fall back to the raw git name.
3737
run: |
38-
others=$(gh api "repos/${{ github.repository }}/pulls/${PR_NUMBER}/commits" --paginate \
39-
--jq '.[] | (.author.login // .commit.author.name // empty), (.committer.login // .commit.committer.name // empty)' \
40-
| sort -u | grep -vix "${PR_AUTHOR}" | paste -sd, -)
38+
if ! commit_authors=$(gh api "repos/${{ github.repository }}/pulls/${PR_NUMBER}/commits" --paginate \
39+
--jq '.[] | (.author.login // .commit.author.name // empty), (.committer.login // .commit.committer.name // empty)'); then
40+
echo "Failed to fetch pull request commits" >&2
41+
exit 1
42+
fi
43+
others=$(printf '%s\n' "$commit_authors" | sort -u | grep -vix "${PR_AUTHOR}" | paste -sd, -)
4144
if [ -n "$others" ]; then
4245
echo "allowlist=${BASE_ALLOWLIST},${others}" >> "$GITHUB_OUTPUT"
4346
else
4447
echo "allowlist=${BASE_ALLOWLIST}" >> "$GITHUB_OUTPUT"
4548
fi
4649
4750
- name: CLA Assistant
48-
# Run on PR events, on "recheck" comment, or when someone posts the signing phrase.
51+
# Run on open/update PR events, on "recheck", or when someone posts the signing phrase.
4952
# IMPORTANT: this phrase must match `custom-pr-sign-comment` below.
5053
if: >
51-
github.event_name == 'pull_request_target' ||
54+
(github.event_name == 'pull_request_target' && github.event.action != 'closed') ||
5255
(github.event_name == 'issue_comment' && github.event.issue.pull_request && (
5356
github.event.comment.body == 'recheck' ||
5457
github.event.comment.body == 'I have read and agree to the Contributor License Agreement'
@@ -59,6 +62,8 @@ jobs:
5962
# PAT required to write to the centralized signatures repo.
6063
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
6164
with:
65+
lock-pullrequest-aftermerge: false
66+
6267
# Where the CLA document lives (shown to contributors)
6368
path-to-document: https://github.com/Comfy-Org/comfy-cla/blob/main/comfyui_icla.md
6469

@@ -91,3 +96,25 @@ jobs:
9196

9297
custom-allsigned-prcomment: |
9398
✅ All contributors have signed the CLA. Thank you! This PR is ready to be merged.
99+
100+
- name: Lock PR containing a CLA signature or bot approval
101+
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true
102+
uses: actions/github-script@v7
103+
with:
104+
retries: 3
105+
script: |
106+
const pr = context.payload.pull_request;
107+
const issue = { ...context.repo, issue_number: pr.number };
108+
const comments = await github.paginate(github.rest.issues.listComments, {
109+
...issue,
110+
per_page: 100,
111+
});
112+
const signed = comments.some(comment =>
113+
(comment.user?.id === pr.user.id &&
114+
comment.body?.trim().toLowerCase() === 'i have read and agree to the contributor license agreement') ||
115+
(comment.user?.login === 'github-actions[bot]' &&
116+
comment.body?.startsWith('✅ All contributors have signed the CLA. Thank you! This PR is ready to be merged.'))
117+
);
118+
if (signed) {
119+
await github.rest.issues.lock(issue);
120+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Notify on Merge
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
notify:
10+
runs-on: ubuntu-latest
11+
if: github.repository == 'Comfy-Org/ComfyUI'
12+
steps:
13+
- name: Notify downstream
14+
env:
15+
DISPATCH_TOKEN: ${{ secrets.SYNC_DISPATCH_TOKEN }}
16+
TARGET_REPO: ${{ secrets.SYNC_TARGET_REPO }}
17+
COMMIT_SHA: ${{ github.sha }}
18+
run: |
19+
set -euo pipefail
20+
if [ -z "${DISPATCH_TOKEN:-}" ] || [ -z "${TARGET_REPO:-}" ]; then
21+
echo "::notice::SYNC_DISPATCH_TOKEN/SYNC_TARGET_REPO not set; skipping downstream notify."
22+
exit 0
23+
fi
24+
PAYLOAD="$(jq -n --arg sha "$COMMIT_SHA" \
25+
'{ event_type: "upstream-push", client_payload: { sha: $sha } }')"
26+
curl -fsSL --connect-timeout 10 --max-time 60 -X POST \
27+
-H "Accept: application/vnd.github+json" \
28+
-H "Authorization: Bearer ${DISPATCH_TOKEN}" \
29+
"https://api.github.com/repos/${TARGET_REPO}/dispatches" \
30+
-d "$PAYLOAD"

‎.github/workflows/release-stable-all.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
git_tag: ${{ inputs.git_tag }}
2121
cache_tag: "cu130"
2222
python_minor: "13"
23-
python_patch: "12"
23+
python_patch: "14"
2424
rel_name: "nvidia"
2525
rel_extra_name: ""
2626
test_release: true
@@ -71,7 +71,7 @@ jobs:
7171
git_tag: ${{ inputs.git_tag }}
7272
cache_tag: "xpu"
7373
python_minor: "13"
74-
python_patch: "12"
74+
python_patch: "14"
7575
rel_name: "intel"
7676
rel_extra_name: ""
7777
test_release: true

‎.github/workflows/ruff.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install requirements
3939
run: |
4040
python -m pip install --upgrade pip
41-
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
41+
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
4242
pip install -r requirements.txt
4343
4444
- name: Install Pylint

‎.github/workflows/stable-release.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
120120
grep comfy ../ComfyUI/requirements.txt > ./requirements_comfyui.txt
121121
./python.exe -s -m pip install -r requirements_comfyui.txt
122+
./python.exe -s -m pip uninstall -y comfyui-workflow-templates-media-image comfyui-workflow-templates-media-video comfyui-workflow-templates-media-other
122123
rm requirements_comfyui.txt
123124
124125
sed -i '1i../ComfyUI' ./python3${{ inputs.python_minor }}._pth

‎.github/workflows/test-ci.yml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Results are reported as checkmarks on the commits, as well as onto https://ci.comfy.org/
33
name: Full Comfy CI Workflow Runs
44
on:
5-
push:
6-
branches:
7-
- master
8-
- release/**
9-
paths-ignore:
10-
- 'app/**'
11-
- 'input/**'
12-
- 'output/**'
13-
- 'notebooks/**'
14-
- 'script_examples/**'
15-
- '.github/**'
16-
- 'web/**'
5+
# push:
6+
# branches:
7+
# - master
8+
# - release/**
9+
# paths-ignore:
10+
# - 'app/**'
11+
# - 'input/**'
12+
# - 'output/**'
13+
# - 'notebooks/**'
14+
# - 'script_examples/**'
15+
# - '.github/**'
16+
# - 'web/**'
1717
workflow_dispatch:
1818

1919
jobs:

‎.github/workflows/test-execution.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install requirements
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
25+
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
2626
pip install -r requirements.txt
2727
pip install -r tests-unit/requirements.txt
2828
- name: Run Execution Tests

0 commit comments

Comments
 (0)