beads/internal/storage/dbproxy/proxy
Steve Yegge 8a01f31a30
fix(build): restore freebsd compilation with unsupported-platform stubs for procid + unverified-process (release v1.2.0 blocker) (#5661)
The dbproxy arc gated procid and the force-stop process inspection behind
linux/darwin/windows build tags with no fallback, breaking freebsd/amd64 —
a target every release ships (.goreleaser.yml bd-freebsd-amd64) but no PR
CI cross-compiles, so it surfaced only at the v1.2.0 goreleaser run
(31533013414), which failed pre-publish and burned the tag number.

Both stubs refuse cleanly with a named ErrUnsupported instead of guessing
at process identity: reattach-and-signal without birth identity is exactly
the PID-reuse race these packages exist to close. Ordinary bd use on
freebsd is unaffected — dbproxy machinery has never run there (v1.1.2
shipped freebsd with no dbproxy at all).

Verified: the full release matrix (linux/{amd64,arm64}, android/arm64,
windows/{amd64,arm64}, freebsd/amd64, + darwin/arm64) now cross-compiles
with -tags gms_pure_go; native lint + tests green. CI-gap follow-up (add a
cross-compile check to PR CI) filed separately.
2026-08-11 14:03:44 -07:00
..
backend.go /{internal,cmd,.gitignore}: wip, proxy server fixes and uow impl 2026-05-10 06:57:41 -07:00
control.go test(dbproxy): make accept retry test event-driven (bd-pccmh) (#5263) 2026-08-01 19:49:04 -07:00
control_test.go test(dbproxy): make accept retry test event-driven (bd-pccmh) (#5263) 2026-08-01 19:49:04 -07:00
endpoint.go fix(doltserver): stop detached children inheriting the caller's fds (#4634) (#5184) 2026-07-31 08:41:41 -07:00
endpoint_mismatch_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
endpoint_security_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
endpoint_spawn_stop_unix_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
endpoint_unix.go Triage and clean up an unreviewed automated commit stream on main (#4418) 2026-06-15 20:24:57 -07:00
endpoint_windows.go Triage and clean up an unreviewed automated commit stream on main (#4418) 2026-06-15 20:24:57 -07:00
force_stop.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
force_stop_linux_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
process_executable_darwin.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
process_executable_linux.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
process_executable_windows.go fix(lint): check deferred windows.CloseHandle returns (errcheck) (#5088) 2026-07-26 14:47:37 -07:00
proxy.go /{internal,cmd,.gitignore}: wip, proxy server fixes and uow impl 2026-05-10 06:57:41 -07:00
server.go fix(proxy): stop doomed proxied starts from starving concurrent Shutdown of proxy.lock (bd-ill4f) (#5354) 2026-08-05 07:36:35 -07:00
server_epoch_internal_test.go fix(proxy): stop doomed proxied starts from starving concurrent Shutdown of proxy.lock (bd-ill4f) (#5354) 2026-08-05 07:36:35 -07:00
server_test.go fix(dbproxy): race-free proxy port allocation and managed loopback listener policy (#5024) 2026-07-27 22:29:11 -07:00
shutdown.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
stats.go /{internal,cmd,.gitignore}: wip, proxy server fixes and uow impl 2026-05-10 06:57:41 -07:00
unverified_process_darwin.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
unverified_process_linux.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
unverified_process_unsupported.go fix(build): restore freebsd compilation with unsupported-platform stubs for procid + unverified-process (release v1.2.0 blocker) (#5661) 2026-08-11 14:03:44 -07:00
unverified_process_windows.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00