You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[REFACTOR] Standardize and Complete Full Lifecycle Tracing for Five Core Components (#173)
* Initial plan
* feat: add full lifecycle GeneralTracer tracing to five core components
- GeneralUpdate.Bowl: Add Info/Warn/Error/Fatal/Debug tracing across Bowl,
AbstractStrategy, WindowStrategy, and LinuxStrategy for all execution stages
(initialization, process startup, crash detection, backup/restore, cleanup)
- GeneralUpdate.Extension: Link GeneralTracer.cs from Common into project;
add comprehensive tracing to GeneralExtensionHost (constructors,
QueryExtensionsAsync, DownloadExtensionAsync, UpdateExtensionAsync,
InstallExtensionAsync) and DownloadQueueManager (Enqueue, ProcessQueueAsync,
ProcessTaskAsync, CancelTask, Dispose)
- GeneralUpdate.Core: Add lifecycle tracing to CompressMiddleware,
HashMiddleware, PatchMiddleware; add key-step tracing to
GeneralUpdateBootstrap.ExecuteWorkflowAsync and LaunchAsync; add pipeline
construction/StartApp tracing to WindowsStrategy and LinuxStrategy
- GeneralUpdate.ClientCore: Add lifecycle tracing to CompressMiddleware,
HashMiddleware, PatchMiddleware; add pipeline/StartApp tracing to
WindowsStrategy and LinuxStrategy; add comprehensive step tracing to
SilentUpdateMode (StartAsync, PollLoopAsync, PrepareUpdateIfNeededAsync,
OnProcessExit); add connection-state tracing to UpgradeHubService; add
key-workflow tracing to GeneralClientBootstrap.ExecuteWorkflowAsync
- GeneralUpdate.Drivelution: Add missing using directive and tracing to all
static entry points in GeneralDrivelution (QuickUpdateAsync, ValidateAsync,
GetDriversFromDirectoryAsync, GetPlatformInfo)
Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate/sessions/fab83fb2-df34-4932-b476-6a6a8299567b
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
GeneralTracer.Info("WindowStrategy.SetEnvironment: skipped, work model is not Upgrade.");
98
134
return;
135
+
}
99
136
100
137
/*
101
138
* The `UpgradeFail` environment variable is used to mark an exception version number during updates.
102
139
* If the latest version number obtained via an HTTP request is less than or equal to the exception version number, the update is skipped.
103
140
* Once this version number is set, it will not be removed, and updates will not proceed until a version greater than the exception version number is obtained through the HTTP request.
0 commit comments