Skip to content

Add SilentConsumerMonitor Lab Validation Harness - #252

Merged
enteriaza merged 1 commit into
masterfrom
labharness
Oct 26, 2026
Merged

enteriaza merged 1 commit into
masterfrom
labharness

Conversation

@enteriaza

Copy link
Copy Markdown
Collaborator

Description

Summary

Adds an opt-in lab validation harness for SilentConsumerMonitor in VectorNNTPD.BackFillerService, exercising fault detection and recovery against the existing development/test lab without modifying production code paths.

Changes

  • Add an environment-gated runtime test harness using VECTORNNTPD_SILENT_CONSUMER_LAB=1.
  • Reuse existing DispatchAcquireHold and ControllableArticleWorkHandler.Gate test seams.
  • Validate processing stalls, dispatch stalls, management observation failures, and consumer loss and restoration.
  • Use StressRunId-based cleanup to avoid deleting unrelated messages.
  • Update the lab validation report with scenario results and verification evidence.

Validation Results

  • Lab scenarios: 4 passed.
  • SilentConsumerMonitor tests: 60 passed.
  • Full BackFillerService test suite: 1,604 passed.
  • Release x64 build: succeeded with zero warnings.
  • Final RabbitMQ state: ready messages = 0; BackFiller consumers = 0. NNTPD remained connected.

Implementation Notes

  • No production code changes.
  • The harness is disabled by default and runs only when explicitly opted in.
  • Validation was performed in the existing development/test lab.

Scope

This PR adds validation tooling and documentation. It does not change SilentConsumerMonitor detection or recovery behavior.

- Add gated runtime tests for processing stalls and dispatch stalls
- Validate management observation failures and consumer-loss recovery
- Reuse existing dispatch and handler test seams without production code changes
- Verify cleanup and shared-queue behavior
- Document lab validation results and test coverage
@enteriaza enteriaza self-assigned this Oct 26, 2026
@enteriaza enteriaza added the enhancement New feature or request label Oct 26, 2026
@enteriaza
enteriaza merged commit e9aa952 into master Oct 26, 2026
7 checks passed
@enteriaza
enteriaza deleted the labharness branch October 26, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant