fix(host-editor): process sftp uploads one at a time #837

Merged
simon merged 1 commit from fix/sftp-single-transfer-queue into dev 2026-06-30 10:35:16 +00:00
Owner

Summary

  • queue SFTP uploads without immediately starting them
  • process only one active upload from a timer-driven queue worker
  • remove cancelled upload entries and retained queue state after 10 seconds

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)
  • CI=true corepack pnpm@10.6.5 --dir apps/web test:unit (fails on unrelated DSUM tests importing missing apps/web/lib/dsum/dsum.ts; existing issues #826/#824)
## Summary - queue SFTP uploads without immediately starting them - process only one active upload from a timer-driven queue worker - remove cancelled upload entries and retained queue state after 10 seconds ## 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) - CI=true corepack pnpm@10.6.5 --dir apps/web test:unit (fails on unrelated DSUM tests importing missing apps/web/lib/dsum/dsum.ts; existing issues #826/#824)
fix(host-editor): process sftp uploads one at a time
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 8s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Has been skipped
SAST / gosec (ingest) (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 1m11s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m30s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 11m36s
dbff5f6941
simon deleted branch fix/sftp-single-transfer-queue 2026-06-30 10:35:16 +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!837
No description provided.