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
{{ message }}
Repository navigation
[HR] Blocked-compilation audit judges the whole solution on passes that did not touch it #23861
When a hot-reload pass produces no rude edits and no metadata updates, HotReloadManager.ProcessSolutionChanged runs a last-chance audit, GetCompilationErrors(solution), over every project of the solution, reading TryGetCompilation — i.e. whatever compilation state happens to be cached, without ever
forcing a real compile.
Because that pass can be the one correlated to the originating UpdateFile request
(the info file is the correlator), the request reports failure for a change that was
applied — a user-facing "failed" for a successful operation.
Expected behavior
The audit keeps its purpose — "your edited file does not compile, that is why there is no
delta" — but only judges the projects owning the pass's changed files (documents and
additional documents). When the change-set resolves to no known project, the audit is
skipped (NoChanges). The "Hot reload blocked by N compilation error(s)" line names the
audited projects and edited files.
Activity
fix(hr): scope the blocked-compilation audit to the pass change-set
chore(hr): address PR #23865 review comments (spec 055)
chore(hr): address PR #23865 review comments (spec 055)