Repository navigation
Commit 0993b45
testkit: OUTPUT_PATTERN guard; prebuilt CLI for spec-kit CI (#7)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
- **CliBridge**: `runGitCmd` uses `extractRequired(json, OUTPUT_PATTERN,
"output")` only, consistent with `getCurrentSha` / `getBranches` (no
redundant pre-check; per CodeRabbit review).
- **CI (`spec-kit-conformance`)**: After `go build
./cmd/git-testkit-cli`, Python and Maven steps set
`GIT_TESTKIT_CLI=./git-testkit-cli` so wrappers invoke the prebuilt
binary instead of `go run` on every subprocess.
- **Docs**: `testkit/README.md` describes the Go regression root as the
directory containing `go.mod` (avoids implying a fixed path like
`/workspace`). `testkit/ROADMAP.md` spells out that the CLI lives under
`cmd/git-testkit-cli`, not a separate `testkit/cli` tree.
## Notes
On current `main`, `invoke()` already uses `OK_PATTERN` for the `ok`
field; the `wrapper-cross-platform` job already builds the CLI and sets
`GIT_TESTKIT_CLI`. There is no `GitTestKitCLI` alias in `cli.py`
anymore.
## Testing
- `go test -short ./...` (Java/Maven not available in this environment).
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a
href="https://cursor.com/agents/bc-0292fb44-cedd-46e2-ba47-4395056bc137"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-0292fb44-cedd-46e2-ba47-4395056bc137"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Clarified command execution instructions for repository setup.
* Updated project roadmap specifications.
* **Chores**
* Enhanced continuous integration workflow configuration.
* **Refactor**
* Improved validation logic for better reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Schellenberger <bschellenberger2600@users.noreply.github.com>1 parent fc792bb commit 0993b45
4 files changed
Lines changed: 10 additions & 5 deletions
File tree
- .github/workflows
- testkit
- java/src/main/java/io/gitfire/testkit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
| |||
0 commit comments