Repository navigation
Commit 80da08b
Remove git-init workaround from OpenCode CLI MCP tools harness (#142)
* chore: initialize issue #131 worktree
* fix(mcp-tests): remove git-init workaround by bumping OpenCode to 1.18.1
OpenCode 1.16.2 silently emitted only step_start (exit 0, no inference,
no MCP calls) when run headless in a non-Git directory, which forced a
git install + `git init /app` workaround in the opencode-tools agent
image. Empirical matrix in a pinned container showed no 1.16.2 config
escape hatch (OPENCODE_CONFIG and snapshot:false both fail; upstream
project-detection gap tracked as anomalyco/opencode#15192), while
OpenCode 1.18.1 performs inference in a non-Git dir even with the git
binary deleted.
- Bump pinned OpenCode 1.16.2 -> 1.18.1 with updated sha256
- Drop git from apt install and remove `RUN git init /app`
- Drop the workaround marker from agent-probe output and refresh the
nightly workflow gotcha comment
Verified: full `bun run test:opencode-tools` run against the new image
passed (real opencode/big-pickle inference; three scenarios; two
independently verified submissions).
Closes #131
---------
Co-authored-by: 0o-de-lally <[email protected]>1 parent 88c2cde commit 80da08b
3 files changed
Lines changed: 8 additions & 10 deletions
File tree
- .github/workflows
- mcp/tests/opencode-tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 19 | | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
0 commit comments