Skip to content

feat: add bandwidth and guarded folder sync controls [skip release] - #43

Merged
rgcsekaraa merged 1 commit into
mainfrom
feat/advanced-transfer-controls
Sep 22, 2026
Merged

rgcsekaraa merged 1 commit into
mainfrom
feat/advanced-transfer-controls

Conversation

@rgcsekaraa

Copy link
Copy Markdown
Owner

Summary

  • Add a persisted Settings control for per-transfer bandwidth limits, captured when each job is queued and retained on retries.
  • Pace queued uploads/downloads, including folder sync, cross-profile copy and version restore, in Rust while preserving streaming, retryability and content length.
  • Add include/exclude patterns and skip-existing versus guarded replacement to the folder-sync preview. Rule changes invalidate the old preview and approval.
  • Preserve ordinary file actions and the existing theme with compact rounded controls.

Safety and scope

Unlimited remains the default. Limits are per transfer, not an aggregate app cap, and do not affect existing jobs or server-side copies, previews or editor saves. Payload pacing can have buffered bursts and does not include protocol overhead.

Filters currently apply to folder sync, not ordinary upload/download actions. Relative, case-sensitive glob patterns are validated in Rust. Exclusions take priority. Filtered/skipped files are visible in the preview and never become upload jobs. Replacement still requires explicit approval and conditional-write guards. No deletion is introduced.

Slow multipart uploads check cancellation in their body stream and retain multipart abort cleanup. Upload timeouts allow deliberate pacing.

Validation

  • 124 Rust tests passed; 7 opt-in integration tests ignored in the normal suite.
  • Disposable MinIO integration verified zero-byte, 256 KiB and 129 MiB upload/download content and pacing, and cancellation/cleanup of a throttled multipart upload.
  • 103 frontend tests, 72 Chromium/WebKit browser tests, and 23 release-script tests passed.
  • Typecheck, production frontend build, ESLint, Rust formatting and warning-free Clippy passed.
  • Independent UI review: ship at scoped extension level, at 1440px and 800px.

See docs/TRANSFER_CONTROLS.md for behavior and limitations. Intended for the next release; this PR does not publish a release.

@rgcsekaraa
rgcsekaraa merged commit 6d073cf into main Sep 22, 2026
4 checks passed
@rgcsekaraa

Copy link
Copy Markdown
Owner Author

Merged after all CI checks passed on Linux, macOS and Windows, plus frontend and browser checks. These transfer controls will be included in the next release. This merge does not publish a release. Added per-transfer bandwidth limits for newly queued transfers, and include/exclude filters plus skip-existing or guarded replacement in folder sync. The existing UI and ordinary file actions are preserved. Behavior, scope and limitations are documented in docs/TRANSFER_CONTROLS.md.

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.

1 participant