mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3578] [CLOSED] [GUI] Keep Recovered Update Interruptions In History #4695
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4695
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3578
Author: @medking82
Created: 10/21/2026
Status: ❌ Closed
Base:
main← Head:codex/update-diagnostics-recovery-20261021📝 Commits (5)
bd8a677Show recovered update interruptions as history in Settingsb1cab16Merge remote-tracking branch 'origin/main' into codex/update-diagnostics-recovery-20261021a3b2e54docs(updates): validate recovered history on App 0.2.24532a84[GUI] Reconcile recovered update history with App 0.2.3e78ec73[GUI] Reconcile recovered update history with App 0.2.6📊 Changes
16 files changed (+1356 additions, -4 deletions)
View changed files
📝
apps/host/src/components/NativeOperations.tsx(+4 -2)➕
apps/host/src/components/RecoveredUpdateHistory.tsx(+13 -0)📝
apps/host/src/components/SettingsUpdates.tsx(+4 -2)📝
apps/host/src/lib/native-job-diagnostics.ts(+7 -0)➕
apps/host/tests/native-update-recovery.test.mjs(+71 -0)➕
docs/media/recovered-update-history.png(+0 -0)➕
docs/update-recovery/about-history-0.2.2.jpg(+0 -0)➕
docs/update-recovery/engine-history-0.2.2.jpg(+0 -0)➕
docs/update-recovery/validation-app-0.2.2.json(+79 -0)➕
docs/update-recovery/validation-app-0.2.2.md(+57 -0)➕
docs/update-recovery/validation-app-0.2.3.json(+81 -0)➕
docs/update-recovery/validation-app-0.2.3.md(+61 -0)➕
docs/update-recovery/validation-app-0.2.3.tap(+346 -0)➕
docs/update-recovery/validation-app-0.2.6.json(+158 -0)➕
docs/update-recovery/validation-app-0.2.6.md(+67 -0)➕
docs/update-recovery/validation-app-0.2.6.tap(+408 -0)📄 Description
Problem and result
After the Host restarts during an App update, a saved job becomes
errorwith “The host restarted before completion…” even when a later App update completes successfully. Engine Diagnostics and About continue showing the old interruption as a current failure. This was first observed on Windows with App 0.2.1 / Engine 0.1.46.The views now show a confirmed recovered interruption as expandable Recovered Update History, retaining the original job, error and details. Only the exact restart interruption followed by a strictly later
doneupdate of the same component qualifies. Running/cancelled retries, different components, ordinary failures, missing/invalid times and newer failures remain alerts. Job persistence, updater operations, logs and cached-check behavior stay intact; Settings adds no network request on open.Approach
Share the recovered-job classification between Engine Diagnostics and About. Current main
011c9e600a93bbc9fd451c563501b5831c32bbcawas merged normally inb1cab16e, including App 0.2.2 changes to SettingsUpdates, native data types and update cache. Current heada3b2e54e564ee4e4ce31c653dd5b4fcebb31a55cadds the new validation receipt and anonymous captures to that tested merge. Dependency versions did not change.Validation
Windows x64, Node v24.12.0, merged App/Host 0.2.2 source. Detailed report and source/hash receipt. Commands from
apps/host:Passed:
node --test --test-isolation=none tests/native-update-recovery.test.mjs tests/update-cache.test.mjs tests/ui4-fixes.test.mjs— 29 passed, 0 failed, 0 skipped on the merged App 0.2.2 source. These render the real components, preserve input jobs and reject incorrect recovery cases.npm run typecheckandnpm run buildpassed. Vite's existing large-chunk advisory remains a warning.git diff --check origin/main...HEADpassed. The QA tab and fixture listener were closed, fixture exit code 0.Failed:
Not run:
A real installer/update restart, signed installation, native desktop shell, model download/load/inference or GPU workload. Synthetic records establish classification/rendering, not a successful installation. Unknown historical error strings and rollback failures retain existing alert behavior. CUDA/HIP/SYCL/Metal builds are not applicable because no GPU backend files change.
Anonymous UI Example
Unedited captures of the built App 0.2.2 fixture use synthetic job IDs/timestamps, no accounts, private paths, real logs or conversations. Version labels are fixture values.
About history and version capture
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.