Skip to content

symbols: replace pcre lib with a Go function (fixup 2)

Administrator requested to merge fix-symbols-musl into main

Created by: chrismwendt

Third time's the charm.

  • The original PR #25374 didn't use a musl compiler so the executable wouldn't even start in prod on Alpine
  • Attempt 2 #25401 seemed to fix the problem by disabling cgo but crashed at runtime
  • And now this PR uses a musl compiler, re-enables cgo, and adds a check to CI to make sure the symbols service can actually create a table in sqlite3

Here's what the CI check will look like if it fails:

Running sanity check...failed Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

and if it passes:

Running sanity check...passed

Merge request reports

Loading