Build a one-line summary of the first few sync errors for the dispatcher's
top-level failure message. Without this, a sync that fails on three files
surfaces only Sync completed with 3 error(s) to the user, who then has to
dig into the (possibly collapsed) per-file warnings or parse summary-json.
Including a sample makes the failure message itself diagnose-able.
Build a one-line summary of the first few sync errors for the dispatcher's top-level failure message. Without this, a sync that fails on three files surfaces only
Sync completed with 3 error(s)to the user, who then has to dig into the (possibly collapsed) per-file warnings or parsesummary-json. Including a sample makes the failure message itself diagnose-able.