Skip to content

Commit 0277e95

Browse files
committed
Make sure to analyze-ci-for-release-manager waits until all agents complete
1 parent 5684c6d commit 0277e95

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.claude/commands/analyze-ci-for-release-manager.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,25 @@ Analyzing rebase pull requests...
6565
### Step 4: Collect All Results
6666

6767
**Actions**:
68-
1. After all analyses complete, gather all summary files:
68+
1. **IMPORTANT**: Wait until ALL agents are confirmed complete
69+
2. After all analyses complete, gather all summary files:
6970
- Periodics: `/tmp/analyze-ci-release-<version>-summary.*.txt` for each version
7071
- Pull Requests: `/tmp/analyze-ci-prs-summary.*.txt`
7172
- Per-job files: `/tmp/analyze-ci-release-<version>-job-*.txt` and `/tmp/analyze-ci-prs-job-*.txt`
72-
2. Read each summary file to extract the analysis content
73-
3. If a summary file is missing for a release, note it as "Analysis failed or produced no output"
74-
4. If no PR summary file exists, note "No open rebase PRs or no failures found"
73+
3. Read each summary file to extract the analysis content
74+
4. If a summary file is missing for a release, note it as "Analysis failed or produced no output"
75+
5. If no PR summary file exists, note "No open rebase PRs or no failures found"
7576

7677
### Step 5: Generate HTML Summary Report
7778

7879
**Goal**: Create a single HTML file at `/tmp/microshift-ci-release-manager-<timestamp>.html` that consolidates all analyses with tabbed navigation.
7980

8081
**Actions**:
81-
1. Generate the HTML report with the structure described below
82-
2. Save to `/tmp/microshift-ci-release-manager-<timestamp>.html` where `<timestamp>` is `YYYYMMDD-HHMMSS`
83-
3. **IMPORTANT**: Use the `Bash` tool with `cat <<'HTMLEOF' > /tmp/microshift-ci-release-manager-<timestamp>.html` (heredoc) to write the file, NOT the `Write` tool. This ensures the absolute `/tmp` path is used and avoids permission prompts.
84-
4. Display the file path to the user in the end.
82+
1. **IMPORTANT**: Wait until ALL agents are confirmed complete
83+
2. Generate the HTML report with the structure described below
84+
3. Save to `/tmp/microshift-ci-release-manager-<timestamp>.html` where `<timestamp>` is `YYYYMMDD-HHMMSS`
85+
4. **IMPORTANT**: Use the `Bash` tool with `cat <<'HTMLEOF' > /tmp/microshift-ci-release-manager-<timestamp>.html` (heredoc) to write the file, NOT the `Write` tool. This ensures the absolute `/tmp` path is used and avoids permission prompts.
86+
5. Display the file path to the user in the end, AFTER the summary
8587

8688
**HTML Structure**:
8789

0 commit comments

Comments
 (0)