Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot Reload agent improvements #58333

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

tmat
Copy link
Member

@tmat tmat commented Oct 9, 2024

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
Copy link
Member Author

tmat commented Nov 15, 2024

@MackinnonBuck @javiercn
ptal

@javiercn
Copy link
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).

Copy link
Member

@MackinnonBuck MackinnonBuck left a comment

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.

@MackinnonBuck
Copy link
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
22 of 25 checks passed
@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
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