Skip to content

docs(design): INC_RECURSE sender re-enable audit (#2089) - #4268

Merged
oferchen merged 1 commit into
masterfrom
docs/inc-recurse-sender-reenable-audit-2089
May 17, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/inc-recurse-sender-reenable-audit-2089

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Audits the sender-side INC_RECURSE capability gate: cites the disable
    in crates/transfer/src/setup/capability.rs:138-153 driven by
    inc_recursive_send (default false, wired at
    crates/core/src/client/config/builder/mod.rs:437 and
    crates/core/src/client/config/client/mod.rs:319), and the two call
    sites (crates/core/src/client/remote/invocation/builder.rs:184 for
    SSH push, crates/core/src/client/remote/daemon_transfer/orchestration/arguments.rs:167
    for daemon push).
  • Documents why it is gated: the v0.6.1 95-201x push regression from
    PR feat(transfer): enable INC_RECURSE sender by default (#1862) #3557, reverted in bd12b6ac5 / b3a264061 (fix(core): restore inc_recursive_send=false default to fix v0.6.1 push regression #3744). Cross-refs
    the syscall-rate pathology diagnosis in
    docs/audits/incremental-flist-memory-bench.md.
  • Summarises the perf instrumentation that landed under chore: update Homebrew formula for master #2196-Align --server execution and rsync-path forwarding #2200
    (I1 first-byte latency, I2 segment dispatch, I3 flush rate, I4 NDX
    partition_point, I5 prepare_pending_acl) and how each surfaces
    through --debug=GENR / GeneratorStats / tracing.
  • Reads Add server configuration scaffolding #2209 (SSH and daemon push perf verification) and explains why
    its 148.3 MB / 10000-file workload is not the regime in which
    INC_RECURSE matters - the 1M-file Mode C profile run is still
    outstanding.
  • Recommends defer with specific flip-when / defer-until / reject
    conditions, and a five-step plan for the eventual flip PR.

Test plan

  • Doc-only PR; no code changes.
  • cargo fmt --all clean.
  • Audit cites only files / line numbers that exist on master at
    branch base.
  • Re-enable criteria reference the existing
    docs/investigations/inc-recurse-sender-regression.md section 5
    thresholds so the flip-PR author has a single gating checklist.

Audit the sender-side INC_RECURSE capability gate, document the
current disable mechanism, summarise the perf instrumentation that
landed under tasks #2196-#2200, cross-reference the SSH and daemon
push perf verification from #2209, and lay out the re-enable
criteria for the eventual flip of inc_recursive_send from false to
true.

Recommendation: defer the flip until a 1M-file Mode C push profile
run publishes I1-I5 totals alongside hyperfine wall-clock, and the
gating criteria from docs/investigations/inc-recurse-sender-regression.md
section 5 are met on two consecutive nightly runs.

Includes a five-step plan for the eventual flip PR; the flip itself
is out of scope here.
@oferchen
oferchen merged commit 45e9efa into master May 17, 2026
8 checks passed
@oferchen
oferchen deleted the docs/inc-recurse-sender-reenable-audit-2089 branch May 17, 2026 20:36
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 17, 2026
oferchen added a commit that referenced this pull request May 18, 2026
Audit the sender-side INC_RECURSE capability gate, document the
current disable mechanism, summarise the perf instrumentation that
landed under tasks #2196-#2200, cross-reference the SSH and daemon
push perf verification from #2209, and lay out the re-enable
criteria for the eventual flip of inc_recursive_send from false to
true.

Recommendation: defer the flip until a 1M-file Mode C push profile
run publishes I1-I5 totals alongside hyperfine wall-clock, and the
gating criteria from docs/investigations/inc-recurse-sender-regression.md
section 5 are met on two consecutive nightly runs.

Includes a five-step plan for the eventual flip PR; the flip itself
is out of scope here.
oferchen added a commit that referenced this pull request May 18, 2026
Audit the sender-side INC_RECURSE capability gate, document the
current disable mechanism, summarise the perf instrumentation that
landed under tasks #2196-#2200, cross-reference the SSH and daemon
push perf verification from #2209, and lay out the re-enable
criteria for the eventual flip of inc_recursive_send from false to
true.

Recommendation: defer the flip until a 1M-file Mode C push profile
run publishes I1-I5 totals alongside hyperfine wall-clock, and the
gating criteria from docs/investigations/inc-recurse-sender-regression.md
section 5 are met on two consecutive nightly runs.

Includes a five-step plan for the eventual flip PR; the flip itself
is out of scope here.
oferchen added a commit that referenced this pull request Aug 24, 2026
Audit the sender-side INC_RECURSE capability gate, document the
current disable mechanism, summarise the perf instrumentation that
landed under tasks #2196-#2200, cross-reference the SSH and daemon
push perf verification from #2209, and lay out the re-enable
criteria for the eventual flip of inc_recursive_send from false to
true.

Recommendation: defer the flip until a 1M-file Mode C push profile
run publishes I1-I5 totals alongside hyperfine wall-clock, and the
gating criteria from docs/investigations/inc-recurse-sender-regression.md
section 5 are met on two consecutive nightly runs.

Includes a five-step plan for the eventual flip PR; the flip itself
is out of scope here.
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