Commit eb4a67b
ci: integration tests + MCP JSONRPC smoke + version-match guard
Adds three checks beyond the existing build + unit tests:
1. Integration tests (`pnpm test:integration`) — hits live HL/PAC/LT/Aster
public read-only APIs across 17 spec files. Marked continue-on-error
so a single venue outage doesn't block CI; failure shows as a yellow
check that the maintainer can investigate.
2. Version-match guard — installs the packed tarball and asserts
`perp --version` equals package.json `version`. Catches sync-skill /
stale-dist regressions where prepublishOnly silently shipped an old
build.
3. MCP server JSONRPC initialize ping — sends a real `initialize`
request and asserts both a valid `result` envelope and the matching
`serverInfo.version`. Catches mcp-server.ts startup regressions
(missing capabilities, broken imports, version drift).
Locally simulated: version-match returned YES (0.12.13/0.12.13), MCP
initialize returned proper protocol response with all 3 capabilities.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0901a6e commit eb4a67b
1 file changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | | - | |
| 56 | + | |
49 | 57 | | |
50 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
56 | | - | |
57 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
58 | 83 | | |
59 | 84 | | |
60 | 85 | | |
| |||
0 commit comments