sotashimozono_obsidian-remo.../.github
Souta 046292a8f0 fix(server): build the daemon fully static (CGO_ENABLED=0) so it runs on any glibc
Dogfooding root cause: the released linux/amd64 daemon crashed on the remote
with `libc.so.6: version GLIBC_2.34 not found` (arch was correct — x86-64 on
x86_64). `make -C server cross` runs on ubuntu-latest (glibc 2.35+); Go builds
the host-native linux/amd64 target with CGO auto-ENABLED, so it links
dynamically against the runner's newer glibc and dies on older hosts. The
daemon never wrote its token, RPC timed out, and connect fell back to SFTP.

- server/Makefile: `export CGO_ENABLED := 0` -> fully static binaries, no libc
  dependency, run on any Linux glibc. (arm64/darwin were already CGO-off as
  cross targets; this makes amd64 consistent. Mirrors build-server.mjs.)
- release.yml: assert the linux/amd64 binary is not dynamically linked after
  build, so a CGO regression fails the release loudly instead of shipping a
  daemon that only starts on new distros.

Ships as beta.13; the daemon (RPC + fast walk / live watch / thumbnails) will
come up on older-glibc hosts like the reporter's.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 16:44:48 +09:00
..
ISSUE_TEMPLATE ci: production-ready GitHub workflow suite 2026-04-24 21:43:50 +00:00
workflows fix(server): build the daemon fully static (CGO_ENABLED=0) so it runs on any glibc 2026-07-02 16:44:48 +09:00
dependabot.yml ci: Phase D-α — dependabot docker entries + commitlint gate (0.4.49) 2026-04-29 08:53:09 +09:00
FUNDING.yml chore: add FUNDING.yml and BRAT install instructions 2026-04-30 21:18:58 +09:00
labeler-config.yml chore: monorepo restructure (plugin/ + server/ + proto/) 2026-04-25 10:52:52 +09:00
pull_request_template.md ci: production-ready GitHub workflow suite 2026-04-24 21:43:50 +00:00
replay-skip.txt ci(replay): replay previous release tag's tests against current source 2026-04-30 17:54:22 +09:00