(refactor) Unify run progress panels #57

Merged
parkel merged 1 commits from issue-52-live-normal-runs into master 2026-05-23 00:48:23 +02:00
Owner

Summary

  • Add live progress for normal running backup runs.
  • Show rsync phase, PID, log freshness, log size, and bounded snapshot data progress.
  • Add pause/resume control for run-detail auto-refresh.
  • Unify dry-run and real-backup progress UI under one consistent Run Progress section.

Tests

  • .venv/bin/python manage.py test pobsync_backend.tests.test_views.ViewTests.test_run_detail_renders_result_payload pobsync_backend.tests.test_views.ViewTests.test_run_detail_surfaces_dry_run_warnings_and_log_link pobsync_backend.tests.test_views.ViewTests.test_run_detail_enables_live_refresh_for_active_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_returns_partial_for_active_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_shows_progress_for_running_real_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_stops_refresh_for_terminal_run pobsync_backend.tests.test_backup_worker pobsync_backend.tests.test_run_scheduled_config_source -v 2
    • Ran 36 tests in 1.061s
    • OK

Closes #52

## Summary - Add live progress for normal running backup runs. - Show rsync phase, PID, log freshness, log size, and bounded snapshot data progress. - Add pause/resume control for run-detail auto-refresh. - Unify dry-run and real-backup progress UI under one consistent `Run Progress` section. ## Tests - `.venv/bin/python manage.py test pobsync_backend.tests.test_views.ViewTests.test_run_detail_renders_result_payload pobsync_backend.tests.test_views.ViewTests.test_run_detail_surfaces_dry_run_warnings_and_log_link pobsync_backend.tests.test_views.ViewTests.test_run_detail_enables_live_refresh_for_active_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_returns_partial_for_active_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_shows_progress_for_running_real_run pobsync_backend.tests.test_views.ViewTests.test_run_detail_live_stops_refresh_for_terminal_run pobsync_backend.tests.test_backup_worker pobsync_backend.tests.test_run_scheduled_config_source -v 2` - `Ran 36 tests in 1.061s` - `OK` Closes #52
parkel added 1 commit 2026-05-23 00:48:16 +02:00
Use a shared Run Progress presentation for dry-runs and normal backup
runs so live run feedback is consistent across run types.

Keep mode-specific metrics while aligning status, mode, log, and warning
layout.

Refs #52
parkel merged commit fdf401a0be into master 2026-05-23 00:48:23 +02:00
parkel deleted branch issue-52-live-normal-runs 2026-05-23 00:48:23 +02:00
Sign in to join this conversation.