mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
Add install checkpoint/resume and DDSS workflows
Introduce install checkpoint support and resume logic for updates, plus related locking and validation. Adds InstallCheckpoint model, AppJsonContext serialization, and UpdatePaths helpers for deployment lock, apply-in-progress lock and install-checkpoint path. UpdateEngineService gains checkpoint load/save/delete, incoming-state validation, resume logic for PLONDS and legacy updates, apply lock handling, and safer cleanup; ApplyPendingPlondsUpdateAsync and ApplyPendingUpdate flow updated accordingly. Add DeploymentLock contract and extend UpdateState with pause/resume/cancel helpers. Tests updated to cover stale/valid checkpoint resume and legacy/PLONDS flows. CI: enhance ddss-publish to detect release channel, validate S3 assets, prepare and atomically publish channel pointer; add ddss-rollback workflow to publish rollbacks; adjust plonds-build concurrency and release events.
This commit is contained in:
11
LanMountainDesktop.Shared.Contracts/Update/DeploymentLock.cs
Normal file
11
LanMountainDesktop.Shared.Contracts/Update/DeploymentLock.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace LanMountainDesktop.Shared.Contracts.Update;
|
||||
|
||||
public sealed record DeploymentLock(
|
||||
int SchemaVersion,
|
||||
string Kind,
|
||||
string TargetVersion,
|
||||
string PayloadPath,
|
||||
string? PayloadSha256,
|
||||
DateTimeOffset CreatedAtUtc);
|
||||
Reference in New Issue
Block a user