Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Hot Reload agent improvements - #58333

#58333
Merged
wtgodbe merged 2 commits into
dotnet:release/9.0dotnet/aspnetcore:release/9.0from
tmat:AgentRefactoringtmat/AspNetCore:AgentRefactoringCopy head branch name to clipboard
Nov 19, 2024
Merged

Hot Reload agent improvements#58333
wtgodbe merged 2 commits into
dotnet:release/9.0dotnet/aspnetcore:release/9.0from
tmat:AgentRefactoringtmat/AspNetCore:AgentRefactoringCopy head branch name to clipboard

Conversation

@tmat

@tmat tmat commented Oct 9, 2024

Copy link
Copy Markdown
Member

Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project.

Add new API applyHotReloadDeltas to apply updates. This API takes a set of deltas and returns log entries reported so far by the client.

@tmat
tmat force-pushed the AgentRefactoring branch from baf0f45 to 150d45e Compare October 14, 2024 23:01
Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project.

Add new API applyHotReloadDeltas to apply updates.
@tmat
tmat marked this pull request as ready for review November 15, 2024 03:57
@tmat
tmat requested review from a team as code owners November 15, 2024 03:57
@tmat

tmat commented Nov 15, 2024

Copy link
Copy Markdown
Member Author

@MackinnonBuck @javiercn
ptal

@javiercn

Copy link
Copy Markdown
Member

@tmat I don't have a lot of context on how this works at a low level, but the changes seem reasonable (I did not spot anything wrong).

I saw there was a test file that was removed, are we maintaining the coverage that we had or have the tests become obsolete (or moved somewhere else).

@MackinnonBuck MackinnonBuck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple small suggestions, but looks great to me.

Comment thread src/Components/WebAssembly/WebAssembly/src/HotReload/HotReloadAgent.cs Outdated
@MackinnonBuck

Copy link
Copy Markdown
Member

@wtgodbe the modifications to PublicAPI.Shipped.txt are intentional; these APIs are "pubternal". In situations like this, is it fine to merge despite the failing check?

@wtgodbe
wtgodbe merged commit 0a5f4de into dotnet:release/9.0 Nov 19, 2024
@dotnet-policy-service dotnet-policy-service Bot added this to the 9.0.1 milestone Nov 19, 2024
@tmat
tmat deleted the AgentRefactoring branch November 19, 2024 22:26
tmat added a commit to tmat/AspNetCore that referenced this pull request Jan 25, 2025
* Hot Reload agent improvements

Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project.

Add new API applyHotReloadDeltas to apply updates.

* Feedback and cleanup
wtgodbe pushed a commit that referenced this pull request Feb 6, 2025
* Hot Reload agent improvements (#58333)

* Hot Reload agent improvements

Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project.

Add new API applyHotReloadDeltas to apply updates.

* Feedback and cleanup

* APIs
This was referenced Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.