From ed30085bced51675c4126da83bfd9ebffbf9d146 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 00:28:50 +0000 Subject: [PATCH 1/2] ci(static-analysis-gate): run the Hypatia scan on OTP 27.3.4.19, not 28.3 OTP 26 has no release that is safe here. Measured on loopback on 2026-11-17 for 301, 302, 303, 307 and 308, GET and POST, to another port and another host: OTP 26.2.5.21, the newest 26 build, forwards an explicit authorization header in 20 of 20 cross-origin redirects, and credentials from the URL (sent as Basic auth) in 20 of 20. OTP 27.3.4.19 forwards neither (0 of 20 each). OTP 28.3 also forwards both. 27.3.4.19 is the release that Hypatia pins in mise.toml and its CI, and that the standards Hypatia reusable uses. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg --- .github/workflows/static-analysis-gate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis-gate.yml b/.github/workflows/static-analysis-gate.yml index b78a51c..33adf78 100644 --- a/.github/workflows/static-analysis-gate.yml +++ b/.github/workflows/static-analysis-gate.yml @@ -147,7 +147,7 @@ jobs: uses: erlef/setup-beam@v1.24.1 with: elixir-version: '1.19.4' - otp-version: '28.3' + otp-version: '27.3.4.19' - name: Clone and build Hypatia id: build continue-on-error: true From 839ee5185a295d3eac650233c33505856bd3ac00 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 00:52:12 +0000 Subject: [PATCH 2/2] ci(static-analysis-gate): fail on Hypatia build errors --- .github/workflows/static-analysis-gate.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/static-analysis-gate.yml b/.github/workflows/static-analysis-gate.yml index 33adf78..f37ca39 100644 --- a/.github/workflows/static-analysis-gate.yml +++ b/.github/workflows/static-analysis-gate.yml @@ -150,7 +150,6 @@ jobs: otp-version: '27.3.4.19' - name: Clone and build Hypatia id: build - continue-on-error: true run: | git clone https://github.com/hyperpolymath/hypatia.git "$HOME/hypatia" 2>/dev/null || true if [ -f "$HOME/hypatia/mix.exs" ]; then