Skip to content

docs(audits): --debug=FLAGS verbosity matrix with producer evidence (#2113) - #4035

Merged
oferchen merged 1 commit into
masterfrom
docs/debug-flags-verbosity-audit-2113
May 14, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/debug-flags-verbosity-audit-2113

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Catalogues every upstream DEBUG_* flag in rsync 3.4.1's debug_words[], the oc-rsync per-flag cap, and the production producers (debug_log! call sites and tracing::*(target: "rsync::<flag>", ...) emitters) that actually emit diagnostic output. Cross-references companion audits progress-line-format.md (#2110) and info-flags-matrix.md (#2112).

Adds docs/audits/debug-flags-verbosity-matrix.md (no code changes).

Findings

  • 24/24 flags parse correctly; the parser surface, -v ladder, and tracing-target bridge mirror upstream.
  • 4 flags are fully implemented (DUP, FILTER, FLIST, TIME).
  • 7 flags are partial (CONNECT, DEL, DELTASUM, EXIT, IO, PROTO, RECV).
  • 13 flags have no production producer (ACL, BACKUP, BIND, CHDIR, CMD, FUZZY, GENR, HASH, HLINK, ICONV, NSTR, OWN, SEND). SEND is notable: crates/engine/src/local_copy/debug_send.rs is fully implemented with 8 tracing call sites but the public helpers are never invoked outside the module's own tests.
  • 8 parity gaps enumerated (ALL<N>/NONE0 syntax, missing per-flag clamp for upstream-max-1 flags, missing producers, missing limit_output_verbosity clamp, missing make_output_option, --debug=help layout, partial-level coverage, one-way generator alias).
  • Each gap has an insertion-point recommendation; follow-up PRs will land code changes.

Test plan

  • No code changes; docs-only.
  • Verified file:line citations against upstream target/interop/upstream-src/rsync-3.4.1/options.c, rsync.h, and oc-rsync sources at HEAD.
  • Section 11 lists the test fixtures to add once the gap PRs land.

…2113)

Document each upstream DEBUG_* flag, the oc-rsync parser cap, and the
production producers (debug_log! and tracing target sites) that gate
diagnostic output. Cross-reference companion audits #2110, #2112.

Identify 8 parity gaps: ALL<N>/NONE0 syntax, missing per-flag clamp for
upstream-max-1 flags, 13 flags with no production producer (notably SEND
whose subsystem helpers are implemented but unused), missing
limit_output_verbosity clamp, missing make_output_option serialiser,
--debug=help layout, partial-level coverage on 7 wired flags, and the
one-way generator alias in the tracing bridge.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 14, 2026
@oferchen
oferchen merged commit b1d25de into master May 14, 2026
8 checks passed
@oferchen
oferchen deleted the docs/debug-flags-verbosity-audit-2113 branch May 14, 2026 14:57
oferchen added a commit that referenced this pull request May 18, 2026
…2113) (#4035)

Document each upstream DEBUG_* flag, the oc-rsync parser cap, and the
production producers (debug_log! and tracing target sites) that gate
diagnostic output. Cross-reference companion audits #2110, #2112.

Identify 8 parity gaps: ALL<N>/NONE0 syntax, missing per-flag clamp for
upstream-max-1 flags, 13 flags with no production producer (notably SEND
whose subsystem helpers are implemented but unused), missing
limit_output_verbosity clamp, missing make_output_option serialiser,
--debug=help layout, partial-level coverage on 7 wired flags, and the
one-way generator alias in the tracing bridge.
oferchen added a commit that referenced this pull request May 18, 2026
…2113) (#4035)

Document each upstream DEBUG_* flag, the oc-rsync parser cap, and the
production producers (debug_log! and tracing target sites) that gate
diagnostic output. Cross-reference companion audits #2110, #2112.

Identify 8 parity gaps: ALL<N>/NONE0 syntax, missing per-flag clamp for
upstream-max-1 flags, 13 flags with no production producer (notably SEND
whose subsystem helpers are implemented but unused), missing
limit_output_verbosity clamp, missing make_output_option serialiser,
--debug=help layout, partial-level coverage on 7 wired flags, and the
one-way generator alias in the tracing bridge.
oferchen added a commit that referenced this pull request Aug 24, 2026
…2113) (#4035)

Document each upstream DEBUG_* flag, the oc-rsync parser cap, and the
production producers (debug_log! and tracing target sites) that gate
diagnostic output. Cross-reference companion audits #2110, #2112.

Identify 8 parity gaps: ALL<N>/NONE0 syntax, missing per-flag clamp for
upstream-max-1 flags, 13 flags with no production producer (notably SEND
whose subsystem helpers are implemented but unused), missing
limit_output_verbosity clamp, missing make_output_option serialiser,
--debug=help layout, partial-level coverage on 7 wired flags, and the
one-way generator alias in the tracing bridge.
oferchen added a commit that referenced this pull request Aug 24, 2026
…2113) (#4035)

Document each upstream DEBUG_* flag, the oc-rsync parser cap, and the
production producers (debug_log! and tracing target sites) that gate
diagnostic output. Cross-reference companion audits #2110, #2112.

Identify 8 parity gaps: ALL<N>/NONE0 syntax, missing per-flag clamp for
upstream-max-1 flags, 13 flags with no production producer (notably SEND
whose subsystem helpers are implemented but unused), missing
limit_output_verbosity clamp, missing make_output_option serialiser,
--debug=help layout, partial-level coverage on 7 wired flags, and the
one-way generator alias in the tracing bridge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant