Skip to content

Conversation

@jutaro
Copy link
Contributor

@jutaro jutaro commented Nov 6, 2025

Added a regression test that exercises restarting cardano-tracer and confirms it keeps logging without leaving stale files, backed by a dedicated config and cabal wiring for the new suite.

New restart harness drives the forwarder/tracer pair, restarts the tracer, asserts log contents, and checks rotation state so restarts don’t drop messages or leak artifacts (cardano-tracer/test/restart-test/restart-test.hs (line 16)).
Supplies a minimal test configuration that points the tracer at a predictable socket and log root (cardano-tracer/test/restart-test/restart-config.yaml (line 1)).
Registers the executable-style test suite and its tooling dependencies in the cabal file so it can be invoked via cabal test (cardano-tracer/cardano-tracer.cabal (line 443)).
Testing:

cabal test cardano-tracer:cardano-tracer-restart

@jutaro jutaro requested a review from a team as a code owner November 6, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants