Skip to content

Add IProgress support for update progress reporting - #293

Merged
JusterZhu merged 1 commit into
masterfrom
feature/progress-reporting-issue-292
May 23, 2026
Merged

Add IProgress support for update progress reporting#293
JusterZhu merged 1 commit into
masterfrom
feature/progress-reporting-issue-292

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Summary

Add IProgress interface support so callers can receive real-time progress updates during driver updates.

Changes

  • Add UpdateProgress model: CurrentStatus, StepName, Percentage, Message, StepIndex, TotalSteps
  • Add IProgress parameter to IGeneralDrivelution.UpdateAsync (optional, default null)
  • BaseDriverUpdater reports progress at each pipeline step start and on completion
  • GeneralDrivelution.QuickUpdateAsync overloads pass through the progress reporter
  • MacOS placeholder updated to match new interface

Usage

Callers create a Progress and pass it to UpdateAsync to receive live status.

Backward Compatibility

IProgress is an optional parameter (default null) - existing code compiles without changes.

Closes #292

- Add UpdateProgress model with status, step name, percentage, message
- Add IProgress<UpdateProgress>? parameter to IGeneralDrivelution.UpdateAsync
- Wire progress reporting in BaseDriverUpdater pipeline at step start and completion
- Update GeneralDrivelution.QuickUpdateAsync overloads to pass IProgress through
- Update MacOS placeholder to match new interface signature
- Progress reports step-level info: percentage, step index, total steps, current status

Closes #292
Copilot AI review requested due to automatic review settings May 23, 2026 11:13
@JusterZhu
JusterZhu merged commit 9e476bf into master May 23, 2026
1 check failed
@JusterZhu
JusterZhu deleted the feature/progress-reporting-issue-292 branch May 23, 2026 11:14
@JusterZhu
JusterZhu removed the request for review from Copilot May 23, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add IProgress support for update progress reporting

1 participant