borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Live Log shows Error Code ? sometimes

Open TheTwist76 opened this issue 3 months ago • 2 comments

I have created several jobs, ran all of them (all were successfull according to the UI) and also did a restore test for every job, which also went successfully. As I was curious, I observed the live log with every task (most of the time...). With nearly every task, I encountered an "error icon" within in the live log on the upper right at one time during the task (not permanently!). But after a refresh, the icon was gone. And, as I said, the tasks themselves have finished with no errors at all.

Image Image

TheTwist76 avatar Aug 27 '26 14:08 TheTwist76

Implemented in PR #418 and published to the test channel as version 2026.08.27.1739.

Result:

  • Live log streams now send periodic SSE heartbeats during quiet phases.
  • Real server-sent log errors still show as errors.
  • Temporary browser/EventSource transport drops no longer produce a false red error badge while the job or restore test is still running.
  • Backup job live logs poll the running state after a transport drop and apply the real final exit code when available.
  • Restore-test live logs use the same safer transport handling and refresh the test status if the stream disconnects after completion.

Test coverage:

  • Added source-level UI contract tests for backup-job and restore-test live log reconnect handling.
  • Added heartbeat coverage through the job runtime tests.
  • Full preflight passed with 692 tests.

Closing this as implemented and available in the test channel.

borg-codex-bot avatar Aug 27 '26 15:08 borg-codex-bot

Closing as implemented in PR #418 and available in test channel version 2026.08.27.1739.

borg-codex-bot avatar Aug 27 '26 15:08 borg-codex-bot