Skip to content

Add bounded progress for captured audit workflows - #5267

Merged
Widthdom merged 2 commits into
mainfrom
fix-issue5260
Sep 5, 2026
Merged

Add bounded progress for captured audit workflows#5267
Widthdom merged 2 commits into
mainfrom
fix-issue5260

Conversation

@Widthdom

@Widthdom Widthdom commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

audit --all --progress now emits bounded progress on stderr during captured JSON/NDJSON workflows, including heartbeats while a child query runs. It reports active numeric recipe/query identifiers, successful/selected counts, failures, monotonic elapsed time, and completed/partial/cancelled/failed terminal states. Quiet and no-progress controls take precedence.

Terminal progress uses compact redraws based on stderr's terminal state. Custom names, paths, source text, and exception details are excluded from progress. Recipe execution remains sequential and preserves the existing audit time budget and cancellation behavior.

Validation

  • Related audit, flag-schema, and console tests: 326 passed on each of net8.0 and net9.0.
  • Focused final progress tests: 5 passed on each framework.
  • Real captured JSON smoke: 20 recipes / 274 queries completed, valid JSON stdout, bounded stderr heartbeats.
  • Terminal stderr smoke with redirected JSON stdout.
  • Build: zero warnings/errors. Formatting and changelog fragment validation passed.
  • Final full net8.0 rerun with TRX capture: 12,254 passed / 0 failed / 9 skipped.
  • Full-suite first run: net8.0 had 12,248 passed / 6 failed / 9 skipped; net9.0 had 11,764 passed / 1 failed / 435 skipped. The net9.0 failure passed on isolated rerun on both frameworks, and none of the initial net8.0 failures recurred in the full rerun. Follow-up: Isolate search-alternative tests from the live repository index #5266.
  • Codex adversarial review: fixed the terminal output interleaving finding; the second review found no blocking/actionable issues.

Documentation

Updated CLI help and bilingual README, user, developer, and testing guides. Changelog fragment: changelog.d/unreleased/5260.added.md.

Follow-up

Refs #5266.

Fixes #5260

@Widthdom
Widthdom merged commit b715083 into main Sep 5, 2026
12 checks passed
@Widthdom
Widthdom deleted the fix-issue5260 branch September 5, 2026 20:20
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.

Add bounded progress feedback for audit --all in captured JSON workflows

1 participant