Commit 8fb875b
perf: exclude browser tools and reduce turns in smoke-copilot (#1625)
* perf: exclude browser tools and reduce turns in smoke-copilot
Implements recommendations from #1624:
1. Exclude 21 unused Playwright/browser tools via --excluded-tools
in postprocess-smoke-workflows.ts (saves ~10,500 tokens/turn)
2. Remove redundant MCP verification call — pre-step already proves
MCP connectivity, no need for agent to call list_pull_requests
3. Remove redundant bash echo test — bash functionality is already
proven by the file write/read test in section 3
4. Drop repos toolset — only pull_requests tools are used, removing
4 unused tool schemas (~2,400 tokens/turn)
Expected impact: 5→3 LLM turns, ~25-30% token reduction per run.
Closes #1624
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: address PR review feedback
- Restore MCP call in section 1 so the workflow actually tests
GitHub MCP connectivity (not just CLI/API)
- Make --excluded-tools injection idempotent: strip any existing
flag before re-injecting so updates to the excluded list are
always applied correctly on re-runs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2b175e2 commit 8fb875b
File tree
3 files changed
+51
-23
lines changed- .github/workflows
- scripts/ci
3 files changed
+51
-23
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
247 | 278 | | |
248 | 279 | | |
249 | 280 | | |
| |||
0 commit comments