Commit 072b16c
test(integration): fix wing scope, un-pin schema version and tool count
With the SIGILL fixed, CI finally reached the integration step — which had been
unreachable for so long that all six of its failures were rot in the test, not
in memxt. Verified locally: the product is fine; only the assertions were wrong.
* ranking (4 failures): step 2 mines into wing "testwing", but rank() ran a bare
`search`, which scopes to the DEFAULT wing (derived from the git repo →
"memxt") and is empty. Every ranking check compared against '' — a wing
mismatch masquerading as a ranking regression. Search --wing testwing.
(Same class as f48ea5b "fix release smoke search wing scope"; that fixed the
release smoke and left this one.)
* schema: asserted PRAGMA user_version == 1. The schema is legitimately at v5, so
the literal made the check fail on every migration. Assert it is stamped (> 0).
* MCP tools: asserted exactly 4 tools; there are 8. An exact count tells you
nothing about whether the server works and breaks whenever a tool is added.
Assert the contract instead — the core tools an agent depends on are exposed.
Local: integration 14 passed, 0 failed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 86d8e0e commit 072b16c
1 file changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
45 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
| |||
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
61 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
62 | 84 | | |
63 | 85 | | |
64 | 86 | | |
| |||
0 commit comments