fix: suppress Task.Supervised sandbox-cleanup crash noise
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled

Fire-and-forget tasks spawned via async_stream_nolink on the
PartitionSupervisor outlive the test sandbox owner in :manual mode.
When the owner exits, descendant tasks get shutdown on next DB
checkout — the process crash is logged at [error] by Task.Supervised.
Same benign sandbox-cleanup category as the already-suppressed
Postgrex.Protocol, DBConnection.Connection, and DBConnection.Holder.
This commit is contained in:
Graham McIntire 2026-08-04 17:52:31 -05:00
parent 167ad996d7
commit 78013f8904
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -55,7 +55,7 @@ Application.ensure_all_started(:stream_data)
# captures logs from the test process). Pinning these modules to
# :critical drops the noise without affecting real DB error logging.
Logger.put_module_level(
[Postgrex.Protocol, DBConnection.Connection, DBConnection.Holder],
[Postgrex.Protocol, DBConnection.Connection, DBConnection.Holder, Task.Supervised],
:critical
)