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
Copy file name to clipboardExpand all lines: .github/workflows/smoke-copilot.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,15 @@ Talk like a caveman in all your responses and outputs. Use short, broken sentenc
145
145
146
146
**IMPORTANT: Keep all outputs extremely short and concise. Use single-line responses where possible. No verbose explanations.**
147
147
148
+
## Hard Limit: `add_comment` Budget
149
+
150
+
`safe-outputs.add-comment.max` is `2`. Never exceed 2 total `add_comment` calls in this run.
151
+
152
+
- Call #1 is required for the discussion interaction test (comment on latest discussion).
153
+
- Call #2 depends on trigger:
154
+
-`pull_request` event: post the brief PR summary comment, and **skip** the fun discussion follow-up comment.
155
+
- non-`pull_request` event: **skip** the PR summary comment and post the fun discussion follow-up comment.
156
+
148
157
## Tool Access Overview
149
158
150
159
This workflow uses `cli-proxy: true`. The following MCP servers are **NOT available as MCP tools** — they are mounted exclusively as **shell CLI commands** (see `<mcp-clis>` section above). You **must** use them via the `bash` tool:
@@ -208,7 +217,7 @@ These are **not** MCP protocol tools — they are bash executables. Call them wi
208
217
- Overall status: PASS or FAIL
209
218
- Mention the pull request author and any assignees
210
219
211
-
4. Use the `add_comment` tool to add a **fun and creative comment** to the newly created discussion (use the temporary ID `aw_smoke_discussion` from step 11) - be playful and entertaining in your comment
220
+
4.**Only if this workflow was NOT triggered by a pull_request event**: Use the `add_comment` tool to add a **fun and creative comment** to the newly created discussion (use the temporary ID `aw_smoke_discussion` from step 11) - be playful and entertaining in your comment
212
221
213
222
5. Use the `send_slack_message` tool to send a brief summary message (e.g., "Smoke test ${{ github.run_id }}: All tests passed! ✅")
Copy file name to clipboardExpand all lines: pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,15 @@ jobs:
240
240
241
241
**IMPORTANT: Keep all outputs extremely short and concise. Use single-line responses where possible. No verbose explanations.**
242
242
243
+
## Hard Limit: `add_comment` Budget
244
+
245
+
`safe-outputs.add-comment.max` is `2`. Never exceed 2 total `add_comment` calls in this run.
246
+
247
+
- Call #1 is required for the discussion interaction test (comment on latest discussion).
248
+
- Call #2 depends on trigger:
249
+
- `pull_request` event: post the brief PR summary comment, and **skip** the fun discussion follow-up comment.
250
+
- non-`pull_request` event: **skip** the PR summary comment and post the fun discussion follow-up comment.
251
+
243
252
## Test Requirements
244
253
245
254
1. **GitHub MCP Testing**: Review the last 2 merged pull requests in __GH_AW_GITHUB_REPOSITORY__
@@ -270,13 +279,13 @@ jobs:
270
279
- Timestamp
271
280
- Pull request author and assignees
272
281
273
-
2. Add a **very brief** comment (max 5-10 lines) to the current pull request with:
282
+
2. **Only if this workflow was triggered by a pull_request event**: Add a **very brief** comment (max 5-10 lines) to the current pull request with:
274
283
- PR titles only (no descriptions)
275
284
- ✅ or ❌ for each test result
276
285
- Overall status: PASS or FAIL
277
286
- Mention the pull request author and any assignees
278
287
279
-
3. Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
288
+
3. **Only if this workflow was NOT triggered by a pull_request event**: Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
280
289
281
290
4. Use the `send_slack_message` tool to send a brief summary message (e.g., "Smoke test __GH_AW_GITHUB_RUN_ID__: All tests passed! ✅")
Copy file name to clipboardExpand all lines: pkg/workflow/testdata/wasm_golden/WasmBinary/smoke-copilot.golden
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,15 @@ jobs:
240
240
241
241
**IMPORTANT: Keep all outputs extremely short and concise. Use single-line responses where possible. No verbose explanations.**
242
242
243
+
## Hard Limit: `add_comment` Budget
244
+
245
+
`safe-outputs.add-comment.max` is `2`. Never exceed 2 total `add_comment` calls in this run.
246
+
247
+
- Call #1 is required for the discussion interaction test (comment on latest discussion).
248
+
- Call #2 depends on trigger:
249
+
- `pull_request` event: post the brief PR summary comment, and **skip** the fun discussion follow-up comment.
250
+
- non-`pull_request` event: **skip** the PR summary comment and post the fun discussion follow-up comment.
251
+
243
252
## Test Requirements
244
253
245
254
1. **GitHub MCP Testing**: Review the last 2 merged pull requests in __GH_AW_GITHUB_REPOSITORY__
@@ -270,13 +279,13 @@ jobs:
270
279
- Timestamp
271
280
- Pull request author and assignees
272
281
273
-
2. Add a **very brief** comment (max 5-10 lines) to the current pull request with:
282
+
2. **Only if this workflow was triggered by a pull_request event**: Add a **very brief** comment (max 5-10 lines) to the current pull request with:
274
283
- PR titles only (no descriptions)
275
284
- ✅ or ❌ for each test result
276
285
- Overall status: PASS or FAIL
277
286
- Mention the pull request author and any assignees
278
287
279
-
3. Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
288
+
3. **Only if this workflow was NOT triggered by a pull_request event**: Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
280
289
281
290
4. Use the `send_slack_message` tool to send a brief summary message (e.g., "Smoke test __GH_AW_GITHUB_RUN_ID__: All tests passed! ✅")
Copy file name to clipboardExpand all lines: pkg/workflow/testdata/wasm_golden/fixtures/smoke-copilot.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,15 @@ strict: true
113
113
114
114
**IMPORTANT: Keep all outputs extremely short and concise. Use single-line responses where possible. No verbose explanations.**
115
115
116
+
## Hard Limit: `add_comment` Budget
117
+
118
+
`safe-outputs.add-comment.max` is `2`. Never exceed 2 total `add_comment` calls in this run.
119
+
120
+
- Call #1 is required for the discussion interaction test (comment on latest discussion).
121
+
- Call #2 depends on trigger:
122
+
-`pull_request` event: post the brief PR summary comment, and **skip** the fun discussion follow-up comment.
123
+
- non-`pull_request` event: **skip** the PR summary comment and post the fun discussion follow-up comment.
124
+
116
125
## Test Requirements
117
126
118
127
1.**GitHub MCP Testing**: Review the last 2 merged pull requests in ${{ github.repository }}
@@ -143,13 +152,13 @@ strict: true
143
152
- Timestamp
144
153
- Pull request author and assignees
145
154
146
-
2. Add a **very brief** comment (max 5-10 lines) to the current pull request with:
155
+
2.**Only if this workflow was triggered by a pull_request event**: Add a **very brief** comment (max 5-10 lines) to the current pull request with:
147
156
- PR titles only (no descriptions)
148
157
- ✅ or ❌ for each test result
149
158
- Overall status: PASS or FAIL
150
159
- Mention the pull request author and any assignees
151
160
152
-
3. Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
161
+
3.**Only if this workflow was NOT triggered by a pull_request event**: Use the `add_comment` tool to add a **fun and creative comment** to the latest discussion (using the `discussion_number` you extracted in step 7) - be playful and entertaining in your comment
153
162
154
163
4. Use the `send_slack_message` tool to send a brief summary message (e.g., "Smoke test ${{ github.run_id }}: All tests passed! ✅")
0 commit comments