Repository navigation
feat(update): report updater progress - #5610
Merged
Merged
Conversation
This was referenced Sep 21, 2026
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
4 times, most recently
from
September 24, 2026 17:31
a18306c to
990690b
Compare
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
2 times, most recently
from
October 5, 2026 17:28
cfb3086 to
2a97835
Compare
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
from
October 5, 2026 19:47
2a97835 to
6c94215
Compare
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
Review effort: Lite
Findings: 4
Open (4)
Whenprogressis not null,sourcebecomes aProgressReadStreamthat is never disposed. Even… · New Sinceprogressis documented as optional, consider making it an optional parameter with a default… · NewCanSeekisfalse, butLengthdelegates to_inner.Length. If_inneris non-seekable… · New The test hard-codes the expected byte count (22), which is brittle if the stubbed download… · New
What changed in this PR
Adds opt-in progress reporting to the CLI updater so callers can observe update phases and download byte counts.
Changes:
- Extends
ICliUpdater.UpdateAsync/CliUpdater.UpdateAsyncwith an optional progress sink parameter. - Introduces
UpdatePhase/UpdateProgresstypes and aProgressReadStreamwrapper to report cumulative download bytes. - Adds a functional test validating phase transitions and download byte reporting.
| File | Description |
|---|---|
| test/Func.Tests/Update/CliUpdaterTests.cs | Updates existing tests for the new UpdateAsync signature and adds coverage for progress reporting. |
| src/Func/Update/UpdateProgress.cs | Adds progress DTOs (UpdatePhase, UpdateProgress) used by the updater and any UI/consumers. |
| src/Func/Update/ProgressReadStream.cs | Adds a stream wrapper that reports incremental download progress while reading. |
| src/Func/Update/ICliUpdater.cs | Updates the updater interface to accept a progress sink. |
| src/Func/Update/CliUpdater.cs | Implements phase + byte progress reporting during update execution and download. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
from
October 5, 2026 20:41
6c94215 to
2840865
Compare
sarah (satvu)
marked this pull request as ready for review
October 5, 2026 20:42
Lilian Kasem (liliankasem)
left a comment
Member
There was a problem hiding this comment.
mostly lgtm! just needs more/better testing
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
from
October 6, 2026 20:19
2840865 to
095e25c
Compare
Lilian Kasem (liliankasem)
approved these changes
Oct 6, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
sarah (satvu)
force-pushed
the
satvu-report-updater-progress
branch
from
October 8, 2026 18:20
095e25c to
5a536d8
Compare
pdthummar
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
ICliUpdaterandCliUpdaterStack
Layer 2/4 of the replacement stack for #5458.
Depends on #5609. Base:
satvu-harden-updater-reliability; head:satvu-report-updater-progress.Validation
dotnet restoredotnet test test\Func.Tests\Func.Tests.csproj -c Release --no-restore --filter "FullyQualifiedName~CliUpdaterTests" --logger "console;verbosity=minimal"(14 passed)$env:CI='true'; dotnet build -c Release --no-restore(0 warnings, 0 errors)