You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use PR-specific temp file paths to avoid parallel collisions
When multiple summarize-changes analyses run concurrently, they all
wrote to /tmp/pr_diff.txt and /tmp/pr_toml.txt, causing data races.
Use /tmp/pr_<number>_diff.txt and /tmp/pr_<number>_toml.txt instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/skills/summarize-changes/SKILL.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,12 @@ Do NOT proceed with any further steps.
31
31
32
32
## Step 2: Fetch PR Data and Run Analysis
33
33
34
-
Run these commands using the Bash tool:
34
+
Run these commands using the Bash tool. **IMPORTANT:** Use the PR number in temp file paths to avoid collisions when multiple analyses run in parallel.
35
35
36
36
1.`gh pr view <number> --repo erigontech/erigon-snapshot` to get PR title, description, and metadata
The script (`analyze_diff.py` in the skill directory) parses the diff, classifies all changes, and outputs structured sections. Use its output to build the final report.
0 commit comments