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
fix: make ReportUrl optional and fix IUpdateReporter consumption
- HttpUpdateReporter: add parameterless constructor to satisfy new() constraint,
add ReportUrl/Client properties for post-construction configuration
- GeneralUpdateBootstrap.LaunchWithStrategy: resolve IUpdateReporter and inject
into roleStrategy. When ReportUrl is null/empty, force NoOpUpdateReporter
- ClientStrategy/UpdateStrategy.Create: propagate Reporter to OS strategy
- AbstractStrategy.ExecuteAsync: use Reporter.ReportAsync() instead of
VersionService.Report(), unifying the reporting path
- VersionService: remove dead Report() and ReportAsync() methods
- ProcessInfo: make ReportUrl optional (remove ArgumentNullException)
/// <item><description>Creates a temporary <see cref="VersionService"/> instance.</description></item>
164
-
/// <item><description>Calls <see cref="ReportAsync"/> to perform the report.</description></item>
165
-
/// </list>
166
-
/// </para>
167
-
/// </remarks>
168
-
/// <param name="url">The server API URL.</param>
169
-
/// <param name="recordId">The update record identifier.</param>
170
-
/// <param name="status">The current status code.</param>
171
-
/// <param name="type">The update type (may be null).</param>
172
-
/// <param name="scheme">The authentication scheme (e.g., "bearer", "apikey", "hmac"), used to create the auth provider. Ignored when a global auth provider is set.</param>
173
-
/// <param name="token">The authentication token or key, used together with <paramref name="scheme"/>.</param>
174
-
/// <param name="ct">A <see cref="CancellationToken"/> for cancelling the operation.</param>
175
-
/// <returns>A task representing the asynchronous operation.</returns>
/// <item><description>Calls <see cref="BuildPipeline"/> (abstract method, implemented by subclasses) to obtain the middleware builder.</description></item>
31
32
/// <item><description>Executes <c>PipelineBuilder.Build()</c> to run the registered middleware in FIFO order:
0 commit comments