The GitHub Actions job "Pull Requests" on pekko.git/improve/stream-log-throttle 
has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
bf1d66b9e1dced8e60b3167ec283362907568648 / He-Pin <[email protected]>
Add opt-in stream error log throttling

Add a new configuration option to throttle repeated stage error log
messages in stream interpreters:

  pekko.stream.materializer.stage-errors-log-throttle-period = off

When set to a positive duration (e.g. '10s'), only the first stage error
within each time window is logged at ERROR level. Subsequent errors in
the window are counted silently, and a summary warning is emitted when
the next window opens or the interpreter finishes.

Key implementation details:
- Per-interpreter throttle state (not shared across streams)
- Uses errorLogInitialized flag to ensure first error always logs
  regardless of System.nanoTime() origin (fix for GPT-5.4 review finding)
- Validates negative durations with require() (fix for GPT-5.4 finding)
- Flushes suppressed count in finish() for best-effort cleanup
- Default 'off' preserves existing behavior (zero behavior change)

Tests use Broadcast with 5 parallel failing stages to exercise actual
throttle code paths (fix for Sonnet 4.6 + GPT-5.4 review finding that
original tests only triggered single errors).

Cross-reviewed by GPT-5.4 and Sonnet 4.6.

Co-authored-by: Copilot <[email protected]>

Report URL: https://github.com/apache/pekko/actions/runs/23681908872

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to