Commit a01f234
ci: pass -tags sqlite_fts5 to go test and release binary builds (#3)
mattn/go-sqlite3 only compiles FTS5 support when the sqlite_fts5 build
tag is set. internal/serve/store's schema uses
CREATE VIRTUAL TABLE … USING fts5(…)
which fails at runtime with "no such module: fts5" without the tag.
The release-on-main run that followed the UI-build fix (24950003140)
made it past `make ui` and then blew up on ~25 store/serve tests with
this error. Two release.yml steps were missing the tag:
- "Run tests" → go test -tags sqlite_fts5 ./...
- cross-compile loop → go build -trimpath -tags sqlite_fts5 …
Side note: v0.1.0 / v0.1.1 binaries (last successful releases) were
built without this tag, so they panic in OpenCostStore on first boot.
Once this lands, the next release tag will be the first usable one
since the FTS5 feature shipped.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 04dea43 commit a01f234
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| 209 | + | |
| 210 | + | |
204 | 211 | | |
205 | | - | |
| 212 | + | |
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
| |||
0 commit comments