Files
kandev/.github
João Salavisa 35b18aa853 fix(release): build kandev binary with -tags fts5 (#1007)
* fix(release): build kandev binary with -tags fts5

The tasks_fts virtual table + sync triggers shipped in v0.50.0 (#914)
require the fts5 SQLite build tag, which apps/backend/Makefile already
sets. The release workflow did not, so published binaries lack the
module and fail to open any DB that an FTS5-enabled build previously
touched ("no such module: fts5" during schema init).

Add -tags fts5 to the kandev build and propagate the standard version
ldflags from the Makefile so kandev --version reports the released tag.

Fixes #1006.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(release): propagate version ldflags to cross-compiled agentctl

The linux/amd64 agentctl helper is built in a separate workflow step
whose shell does not inherit LDFLAGS from the previous build step.
Export LDFLAGS via \$GITHUB_ENV so the cross-compiled binary embeds
the same Version/Commit/BuildTime metadata as the matrix-built
agentctl, matching apps/backend/Makefile's build-agentctl-linux
target.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 09:53:11 +01:00
..