fix: make online updates observable and recoverable
Release / release (push) Canceled after 0s

This commit is contained in:
Qiufeng
2026-08-18 12:56:14 +08:00
parent 10d2e2f0d1
commit cea7048f6c
17 changed files with 1138 additions and 67 deletions
+31
View File
@@ -5967,6 +5967,18 @@ components:
format: int64
type: integer
type: object
SystemUpdateEventView:
properties:
level:
type: string
message:
type: string
occurredAt:
format: date-time
type: string
stage:
type: string
type: object
SystemUpdateView:
properties:
allowedActions:
@@ -5976,10 +5988,23 @@ components:
checkedAt:
format: date-time
type: string
bytesPerSecond:
format: int64
type: integer
currentVersion:
type: string
enabled:
type: boolean
downloadPercent:
format: int32
type: integer
downloadedBytes:
format: int64
type: integer
events:
items:
"$ref": "#/components/schemas/SystemUpdateEventView"
type: array
latestVersion:
type: string
message:
@@ -5989,11 +6014,17 @@ components:
type: string
releaseNotes:
type: string
restartExpectedSeconds:
format: int32
type: integer
state:
type: string
statusUpdatedAt:
format: date-time
type: string
totalBytes:
format: int64
type: integer
updateAvailable:
type: boolean
type: object