Skip to content

Commit c73df4d

Browse files
Merge branch 'bl-linkslot-refactor' into fix/vue-slotpos-reroute-snap
2 parents d70b7cc + 89a2315 commit c73df4d

File tree

276 files changed

+3039
-15857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+3039
-15857
lines changed

.claude/commands/create-frontend-release.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ echo "Last stable release: $LAST_STABLE"
294294
1. Run complete test suite:
295295
```bash
296296
pnpm test:unit
297-
pnpm test:component
298297
```
299298
2. Run type checking:
300299
```bash

.claude/commands/setup_repo.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ echo "Available commands:"
120120
echo " pnpm dev - Start development server"
121121
echo " pnpm build - Build for production"
122122
echo " pnpm test:unit - Run unit tests"
123-
echo " pnpm test:component - Run component tests"
124123
echo " pnpm typecheck - Run TypeScript checks"
125124
echo " pnpm lint - Run ESLint"
126125
echo " pnpm format - Format code with Prettier"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Setup Playwright
2+
description: Cache and install Playwright browsers with dependencies
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Detect Playwright version
7+
id: detect-version
8+
shell: bash
9+
working-directory: ComfyUI_frontend
10+
run: |
11+
PLAYWRIGHT_VERSION=$(pnpm ls @playwright/test --json | jq --raw-output '.[0].devDependencies["@playwright/test"].version')
12+
echo "playwright-version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
13+
14+
- name: Cache Playwright Browsers
15+
uses: actions/cache@v4
16+
id: cache-playwright-browsers
17+
with:
18+
path: '~/.cache/ms-playwright'
19+
key: ${{ runner.os }}-playwright-browsers-${{ steps.detect-version.outputs.playwright-version }}
20+
21+
- name: Install Playwright Browsers
22+
if: steps.cache-playwright-browsers.outputs.cache-hit != 'true'
23+
shell: bash
24+
run: pnpm exec playwright install chromium --with-deps
25+
working-directory: ComfyUI_frontend
26+
27+
- name: Install Playwright Browsers (operating system dependencies)
28+
if: steps.cache-playwright-browsers.outputs.cache-hit == 'true'
29+
shell: bash
30+
run: pnpm exec playwright install-deps
31+
working-directory: ComfyUI_frontend
File renamed without changes.

.github/workflows/claude-pr-review.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ jobs:
2929
- name: Check if we should proceed
3030
id: check-status
3131
run: |
32-
# Get all check runs for this commit
33-
CHECK_RUNS=$(gh api repos/${{ github.repository }}/commits/${{ github.event.pull_request.head.sha }}/check-runs --jq '.check_runs[] | select(.name | test("lint-and-format|test|playwright-tests")) | {name, conclusion}')
34-
35-
# Check if any required checks failed
36-
if echo "$CHECK_RUNS" | grep -q '"conclusion": "failure"'; then
32+
CHECK_RUNS=$(gh api repos/${{ github.repository }}/commits/${{ github.event.pull_request.head.sha }}/check-runs --jq '.check_runs[] | select(.name | test("lint-and-format")) | {name, conclusion}')
33+
34+
if echo "$CHECK_RUNS" | grep -Eq '"conclusion": "(failure|cancelled|timed_out|action_required)"'; then
3735
echo "Some CI checks failed - skipping Claude review"
3836
echo "proceed=false" >> $GITHUB_OUTPUT
3937
else
@@ -53,6 +51,7 @@ jobs:
5351
uses: actions/checkout@v5
5452
with:
5553
fetch-depth: 0
54+
ref: refs/pull/${{ github.event.pull_request.number }}/head
5655

5756
- name: Install pnpm
5857
uses: pnpm/action-setup@v4
@@ -86,4 +85,4 @@ jobs:
8685
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8786
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
8887
BASE_SHA: ${{ github.event.pull_request.base.sha }}
89-
REPOSITORY: ${{ github.repository }}
88+
REPOSITORY: ${{ github.repository }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/lint-and-format.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
- name: Checkout PR
1616
uses: actions/checkout@v5
1717
with:
18-
token: ${{ secrets.GITHUB_TOKEN }}
19-
ref: ${{ github.event.pull_request.head.ref }}
20-
fetch-depth: 0
18+
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || github.ref }}
2119

2220
- name: Install pnpm
2321
uses: pnpm/action-setup@v4
@@ -69,7 +67,7 @@ jobs:
6967
git config --local user.email "[email protected]"
7068
git config --local user.name "GitHub Action"
7169
git add .
72-
git commit -m "[auto-fix] Apply ESLint and Prettier fixes"
70+
git commit -m "[automated] Apply ESLint and Prettier fixes"
7371
git push
7472
7573
- name: Final validation
@@ -102,4 +100,4 @@ jobs:
102100
owner: context.repo.owner,
103101
repo: context.repo.repo,
104102
body: '## ⚠️ Linting/Formatting Issues Found\n\nThis PR has linting or formatting issues that need to be fixed.\n\n**Since this PR is from a fork, auto-fix cannot be applied automatically.**\n\n### Option 1: Set up pre-commit hooks (recommended)\nRun this once to automatically format code on every commit:\n```bash\npnpm prepare\n```\n\n### Option 2: Fix manually\nRun these commands and push the changes:\n```bash\npnpm lint:fix\npnpm format\n```\n\nSee [CONTRIBUTING.md](https://github.com/Comfy-Org/ComfyUI_frontend/blob/main/CONTRIBUTING.md#git-pre-commit-hooks) for more details.'
105-
})
103+
})

0 commit comments

Comments
 (0)