Skip to content

Commit ff0c15b

Browse files
merge main into rh-test
1 parent 1c0f151 commit ff0c15b

File tree

1,317 files changed

+85789
-18723
lines changed

Some content is hidden

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

1,317 files changed

+85789
-18723
lines changed

.claude/commands/comprehensive-pr-review.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ This is critical for better file inspection:
6767

6868
Use git locally for much faster analysis:
6969

70-
1. Get list of changed files: `git diff --name-only "origin/$BASE_BRANCH" > changed_files.txt`
71-
2. Get the full diff: `git diff "origin/$BASE_BRANCH" > pr_diff.txt`
72-
3. Get detailed file changes with status: `git diff --name-status "origin/$BASE_BRANCH" > file_changes.txt`
70+
1. Get list of changed files: `git diff --name-only "$BASE_SHA" > changed_files.txt`
71+
2. Get the full diff: `git diff "$BASE_SHA" > pr_diff.txt`
72+
3. Get detailed file changes with status: `git diff --name-status "$BASE_SHA" > file_changes.txt`
7373

7474
### Step 1.5: Create Analysis Cache
7575

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

Lines changed: 65 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,25 @@ echo "Last stable release: $LAST_STABLE"
128128

129129
### Step 4: Analyze Dependency Updates
130130

131-
1. **Check significant dependency updates:**
131+
1. **Use pnpm's built-in dependency analysis:**
132+
```bash
133+
# Get outdated dependencies with pnpm
134+
pnpm outdated --format table > outdated-deps-${NEW_VERSION}.txt
135+
136+
# Check for license compliance
137+
pnpm licenses ls --json > licenses-${NEW_VERSION}.json
138+
139+
# Analyze why specific dependencies exist
140+
echo "Dependency analysis:" > dep-analysis-${NEW_VERSION}.md
141+
MAJOR_DEPS=("vue" "vite" "@vitejs/plugin-vue" "typescript" "pinia")
142+
for dep in "${MAJOR_DEPS[@]}"; do
143+
echo -e "\n## $dep\n\`\`\`" >> dep-analysis-${NEW_VERSION}.md
144+
pnpm why "$dep" >> dep-analysis-${NEW_VERSION}.md || echo "Not found" >> dep-analysis-${NEW_VERSION}.md
145+
echo "\`\`\`" >> dep-analysis-${NEW_VERSION}.md
146+
done
147+
```
148+
149+
2. **Check for significant dependency updates:**
132150
```bash
133151
# Extract all dependency changes for major version bumps
134152
OTHER_DEP_CHANGES=""
@@ -200,22 +218,48 @@ echo "Last stable release: $LAST_STABLE"
200218
PR data: [contents of prs-${NEW_VERSION}.json]
201219
```
202220

203-
3. **Generate GTM notification:**
221+
3. **Generate GTM notification using this EXACT Slack-compatible format:**
204222
```bash
205-
# Save to gtm-summary-${NEW_VERSION}.md based on analysis
206-
# If GTM-worthy features exist, include them with testing instructions
207-
# If not, note that this is a maintenance/bug fix release
208-
209-
# Check if notification is needed
210-
if grep -q "No marketing-worthy features" gtm-summary-${NEW_VERSION}.md; then
211-
echo "✅ No GTM notification needed for this release"
212-
echo "📄 Summary saved to: gtm-summary-${NEW_VERSION}.md"
213-
else
223+
# Only create file if GTM-worthy features exist:
224+
if [ "$GTM_FEATURES_FOUND" = "true" ]; then
225+
cat > gtm-summary-${NEW_VERSION}.md << 'EOF'
226+
*GTM Summary: ComfyUI Frontend v${NEW_VERSION}*
227+
228+
_Disclaimer: the below is AI-generated_
229+
230+
1. *[Feature Title]* (#[PR_NUMBER])
231+
* *Author:* @[username]
232+
* *Demo:* [Media Link or "No demo available"]
233+
* *Why users should care:* [One compelling sentence]
234+
* *Key Features:*
235+
* [Feature detail 1]
236+
* [Feature detail 2]
237+
238+
2. *[Feature Title]* (#[PR_NUMBER])
239+
* *Author:* @[username]
240+
* *Demo:* [Media Link]
241+
* *Why users should care:* [One compelling sentence]
242+
* *Key Features:*
243+
* [Feature detail 1]
244+
* [Feature detail 2]
245+
EOF
214246
echo "📋 GTM summary saved to: gtm-summary-${NEW_VERSION}.md"
215247
echo "📤 Share this file in #gtm channel to notify the team"
248+
else
249+
echo "✅ No GTM notification needed for this release"
250+
echo "📄 No gtm-summary file created - no marketing-worthy features"
216251
fi
217252
```
218253
254+
**CRITICAL Formatting Requirements:**
255+
- Use single asterisk (*) for emphasis, NOT double (**)
256+
- Use underscore (_) for italics
257+
- Use 4 spaces for indentation (not tabs)
258+
- Convert author names to @username format (e.g., "John Smith" → "@john")
259+
- No section headers (#), no code language specifications
260+
- Always include "Disclaimer: the below is AI-generated"
261+
- Keep content minimal - no testing instructions, additional sections, etc.
262+
219263
### Step 6: Version Preview
220264
221265
**Version Preview:**
@@ -228,17 +272,22 @@ echo "Last stable release: $LAST_STABLE"
228272
229273
### Step 7: Security and Dependency Audit
230274
231-
1. Run security audit:
275+
1. Run pnpm security audit:
232276
```bash
233-
npm audit --audit-level moderate
277+
pnpm audit --audit-level moderate
278+
pnpm licenses ls --summary
234279
```
235280
2. Check for known vulnerabilities in dependencies
236-
3. Scan for hardcoded secrets or credentials:
281+
3. Run comprehensive dependency health check:
282+
```bash
283+
pnpm doctor
284+
```
285+
4. Scan for hardcoded secrets or credentials:
237286
```bash
238287
git log -p ${BASE_TAG}..HEAD | grep -iE "(password|key|secret|token)" || echo "No sensitive data found"
239288
```
240-
4. Verify no sensitive data in recent commits
241-
5. **SECURITY REVIEW**: Address any critical findings before proceeding?
289+
5. Verify no sensitive data in recent commits
290+
6. **SECURITY REVIEW**: Address any critical findings before proceeding?
242291
243292
### Step 8: Pre-Release Testing
244293

0 commit comments

Comments
 (0)