Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/smoke-claude.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ timeout-minutes: 15
- Run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- Timestamp

2. Add a **very brief** comment (max 5-10 lines) to the current pull request with:
2. **Only if this workflow was triggered by a pull_request event**: Use the `add_comment` tool to add a **very brief** comment (max 5-10 lines) to the triggering pull request (omit the `item_number` parameter to auto-target the triggering PR) with:
- PR titles only (no descriptions)
- ✅ or ❌ for each test result
- Overall status: PASS or FAIL

3. Use the `add_comment` tool to add a **fun comic-book style comment** to the latest discussion (using the `discussion_number` you extracted in step 9) - be playful and use comic-book language like "💥 WHOOSH!"
3. Use the `add_comment` tool with `item_number` set to the discussion number you extracted in step 9 to add a **fun comic-book style comment** to that discussion - be playful and use comic-book language like "💥 WHOOSH!"

Comment on lines 111 to 113
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow still has conflicting guidance for discussion comments: step 9 (Test Requirements) instructs using add_comment with a discussion_number parameter, but the safe-outputs add_comment tool schema only supports item_number (and rejects additional properties). This inconsistency can cause the agent to emit invalid tool calls or follow the wrong parameter name—please update the step 9 instruction to match the item_number parameter used here (or otherwise align both sections).

Copilot uses AI. Check for mistakes.
If all tests pass, add the label `smoke-claude` to the pull request.
If all tests pass, use the `add_labels` tool to add the label `smoke-claude` to the pull request (omit the `item_number` parameter to auto-target the triggering PR if this workflow was triggered by a pull_request event).
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labeling is still not explicitly gated to PR-triggered runs. Since this workflow also runs on schedule and workflow_dispatch, instructing add_labels to label “the pull request” can lead to failed or mis-targeted calls when there is no triggering PR context. Consider making this step conditional (similar to step 2): only attempt add_labels when the event is pull_request and tests pass; otherwise skip.

Copilot uses AI. Check for mistakes.
Loading