chore: Bump version to 0.6.0, fix tests
Some checks failed
CI / Test (OTP 27.2 / Elixir 1.18.2) (push) Failing after 0s
CI / Test (OTP 28.4 / Elixir 1.19.4 + E2E) (push) Failing after 0s
Release / Release Gate (push) Failing after 0s
Release / Build and publish image (push) Has been skipped

This commit is contained in:
2026-03-18 21:29:58 +01:00
parent fc3d121599
commit 3e5bf462e9
8 changed files with 30 additions and 24 deletions

View File

@@ -5,7 +5,6 @@ defmodule Parrhesia.ConfigTest do
test "returns configured relay limits/policies/features" do
assert Parrhesia.Config.get([:metadata, :name]) == "Parrhesia"
assert Parrhesia.Config.get([:metadata, :version]) == "0.5.0"
assert Parrhesia.Config.get([:metadata, :hide_version?]) == true
assert Parrhesia.Config.get([:limits, :max_frame_bytes]) == 1_048_576
assert Parrhesia.Config.get([:limits, :max_event_bytes]) == 262_144

View File

@@ -24,4 +24,24 @@ exclude_tags =
end, []}
)
# Suppress Req retry warnings (e.g. transient socket closures during tests).
# These are expected when tests tear down HTTP connections mid-flight.
:logger.add_primary_filter(
:suppress_req_retry,
{fn
%{msg: {:string, chars}}, _extra ->
str = IO.chardata_to_string(chars)
if :string.find(str, "retry:") != :nomatch or
:string.find(str, "Req.TransportError") != :nomatch do
:stop
else
:ignore
end
_event, _extra ->
:ignore
end, []}
)
ExUnit.start(exclude: exclude_tags)