* test: port Windows hardening fixes
Port the live Windows/test hardening fixes from contributor PRs #3797, #3801, #3802, #3806, and #3812 onto current upstream/main.
#3801 is applied to the moved dbproxy server test path. The release-script test harness also normalizes Bash-visible paths so the fake bd is selected reliably from Windows-hosted test runs.
Co-authored-by: sms <114885497+seanmartinsmith@users.noreply.github.com>
Agent-Signature: codex-gpt-5.5-high on behalf of matt wilkie
* fix(test): keep release-script fixtures out of source tree, preserve PATH
releaseTestTempDir previously created .tmp-release-tests under the
source repo root, requiring a writable checkout to even start the
release-script tests. Use t.TempDir() instead so the tests run from
read-only checkouts and packaging build directories.
runReleaseDryRunWithEnv hard-coded PATH to "<fakebin>:/usr/bin:/bin",
dropping the caller's PATH entirely. On systems where bash or core
utilities live elsewhere (e.g. Nix/Guix), the inner `bash
scripts/release.sh` invocation then failed. Prepend the fake bd
directory to the caller's actual PATH (converted per-entry via
shellPath for Bash) instead of replacing it.
Addresses Codex cross-vendor review finding (2026-07-07) on PR #4600.
Agent-Signature: claude-fable-5-high on behalf of matt wilkie