Skip to content

Bug: gate-scan-bound-log-line-content-unasserted #794

Description

@drmoisan
  • Work Mode: minor-audit

Summary

The #791 fix added three log lines to QfcStreamingDequeueConfidenceGate (launch, zero-acceptance checkpoint, scan bound reached). The launch and checkpoint lines are content-asserted by tests; the scan-bound line emitted by LogScanBoundReached is not asserted by any test, so a regression in its content (the Bound= value or the Decision=stop token) would pass the suite. AC1 of #791 requires the bound decision to be logged.

Environment

  • OS/version: Windows 11 Pro 10.0.26200
  • Python version: n/a (C# / .NET Framework 4.8 VSTO add-in)
  • Command/flags used: static review of branch bug/quickfiler-high-confidence-cancel-teardown-and-deadline-defects-791 at 5953636
  • Data source or fixture: none (code review finding N3 in code-review.2026-09-06T15-31.md)

Steps to Reproduce

  1. Search QuickFiler.Test for the literals scan bound reached, Bound=, and Decision=stop: zero matches.
  2. Compare with the launch and checkpoint lines, which QfcStreamingDequeueConfidenceGateTests.Part4.cs asserts through the injected debugLog delegate.

Expected Behavior

A test drives the gate to ScanCapReached (item cap and time ceiling) and asserts the emitted line carries the cutoff, scanned and accepted counts, the bound that fired, and the stop decision.

Actual Behavior

The ScanCapReached tests assert the stop reason and that no further take occurs, but not the log line content.

Logs / Screenshots

  • Attached minimal logs or screenshot
  • Snippet: none; static finding.

Impact / Severity

  • Blocker
  • High
  • Medium
  • Low

Low: a diagnostics-only gap; the behavior itself is tested.

Source

From: docs/features/potential/2026-09-06-gate-scan-bound-log-line-content-unasserted.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions