fix(host-editor): serialize peer transfer jobs #838

Merged
simon merged 1 commit from fix/sftp-peer-single-transfer into dev 2026-06-30 12:40:36 +00:00
Owner

Summary

  • route SFTP peer/background copy jobs through one server-side worker
  • keep later peer-copy jobs queued until the active job completes or is cancelled
  • aggregate queued and transferring background jobs in the peer-copy overview so multi-file queues show combined totals

Validation

  • node --experimental-strip-types --test apps/web/lib/host-editor/panel-ui.test.mjs
  • CI=true corepack pnpm@10.6.5 --dir apps/web type-check
  • CI=true corepack pnpm@10.6.5 --dir apps/web lint (passes with existing warnings)
## Summary - route SFTP peer/background copy jobs through one server-side worker - keep later peer-copy jobs queued until the active job completes or is cancelled - aggregate queued and transferring background jobs in the peer-copy overview so multi-file queues show combined totals ## Validation - node --experimental-strip-types --test apps/web/lib/host-editor/panel-ui.test.mjs - CI=true corepack pnpm@10.6.5 --dir apps/web type-check - CI=true corepack pnpm@10.6.5 --dir apps/web lint (passes with existing warnings)
fix(host-editor): serialize peer transfer jobs
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 6s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 8s
SAST / Detect security scan scope (pull_request) Successful in 9s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / gosec (ingest) (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Has been skipped
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / trivy (filesystem) (pull_request) Has been skipped
Secret Scan / gitleaks (pull_request) Successful in 27s
SAST / trivy (config / IaC) (pull_request) Has been skipped
SAST / semgrep (pull_request) Successful in 1m12s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m37s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 12m39s
db67268aae
simon deleted branch fix/sftp-peer-single-transfer 2026-06-30 12:40:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!838
No description provided.