fix(sftp): exclude cancelled jobs from overall progress #847

Merged
simon merged 1 commit from fix/sftp-cancelled-transfer-progress into dev 2026-07-01 10:14:56 +00:00
Owner

Summary

  • exclude cancelled and failed SFTP background transfer jobs from the overall copied/total progress aggregate
  • keep cancelled job file rows visible in the Background transfer jobs modal
  • add a Host Editor regression assertion for non-blocking cancelled jobs

Validation

  • PASS: node --test apps/web/lib/host-editor/panel-ui.test.mjs
  • PASS: corepack pnpm@10.6.5 --dir apps/web type-check
  • PASS: corepack pnpm@10.6.5 --dir apps/web lint (existing warnings only)
  • PARTIAL: corepack pnpm@10.6.5 --dir apps/web test:unit fails on current dev daily-standup tests importing missing apps/web/lib/dsum/dsum.ts
## Summary - exclude cancelled and failed SFTP background transfer jobs from the overall copied/total progress aggregate - keep cancelled job file rows visible in the Background transfer jobs modal - add a Host Editor regression assertion for non-blocking cancelled jobs ## Validation - PASS: node --test apps/web/lib/host-editor/panel-ui.test.mjs - PASS: corepack pnpm@10.6.5 --dir apps/web type-check - PASS: corepack pnpm@10.6.5 --dir apps/web lint (existing warnings only) - PARTIAL: corepack pnpm@10.6.5 --dir apps/web test:unit fails on current dev daily-standup tests importing missing apps/web/lib/dsum/dsum.ts
fix(sftp): exclude cancelled jobs from overall progress
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 7s
SAST / Detect security scan scope (pull_request) Successful in 9s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 10s
SAST / gosec (agent) (pull_request) Has been skipped
SAST / trivy (filesystem) (pull_request) Has been skipped
SAST / gosec (ingest) (pull_request) Has been skipped
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / trivy (config / IaC) (pull_request) Has been skipped
Secret Scan / gitleaks (pull_request) Successful in 28s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m7s
SAST / semgrep (pull_request) Successful in 1m12s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m30s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 12m43s
18057e4d57
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!847
No description provided.