Skip to content

Detach build event tracking logic - #14642

Draft
VolPlita wants to merge 1 commit into
dotnet:mainfrom
VolPlita:ci-logging-detach-build-event-tracking-logic
Draft

Detach build event tracking logic#14642
VolPlita wants to merge 1 commit into
dotnet:mainfrom
VolPlita:ci-logging-detach-build-event-tracking-logic

Conversation

@VolPlita

@VolPlita VolPlita commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #12737 TBA

Context

The idea is to separate build events tracking into a separate class, that will later be used in CiLoggerBase class.

BuildEventTracker should:

  • subscribe to events;
  • correlate evaluation/project/target/task contexts;
  • smaintain lifecycle state;
  • expose normalized callbacks/snapshots

TerminalLogger should only care about rendering live node progress, ANSI output, hyperlinks, restore/test summaries, terminal-width behavior etc..

Changes Made

Introduces BuildEventTracker to own MSBuild event subscriptions and lifecycle tracking. TerminalLogger now consumes tracker notifications and focuses on terminal rendering.

Testing

TODO

Notes

DRAFT, WORK IN PROGRESS

@VolPlita
VolPlita force-pushed the ci-logging-detach-build-event-tracking-logic branch from 8c4f077 to e2c60e4 Compare August 4, 2026 20:39
@VolPlita
VolPlita force-pushed the ci-logging-detach-build-event-tracking-logic branch from e2c60e4 to 66033d4 Compare August 5, 2026 09:17
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.

Enhance the MSBuild output experience for CI/CD providers

1 participant