Skip to content

Improve Incrementality Checking#254

Merged
viceroypenguin merged 1 commit intomasterfrom
incrementality
Feb 26, 2026
Merged

Improve Incrementality Checking#254
viceroypenguin merged 1 commit intomasterfrom
incrementality

Conversation

@viceroypenguin
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 00:10
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
...ations.Generators/ImmediateValidationsGenerator.cs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves incremental generator verification by naming the incremental pipeline step and enhancing the test helper to assert incrementality based on tracked step names.

Changes:

  • Added WithTrackingName("ValidationClasses") to the generator pipeline to surface a stable tracked-step name in Roslyn incremental run results.
  • Refactored GeneratorTestHelper.RunGenerator to run once for the returned result and separately verify incrementality on a cloned compilation.
  • Introduced step-name–based incrementality assertions with support for “skipped” steps.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/Immediate.Validations.Tests/GeneratorTests/GeneratorTestHelper.cs Refactors generator execution and adds a named-step incrementality verification routine.
src/Immediate.Validations.Generators/ImmediateValidationsGenerator.cs Adds a tracking name to the validations incremental pipeline step for better incrementality diagnostics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@viceroypenguin viceroypenguin merged commit 51969f2 into master Feb 26, 2026
6 checks passed
@viceroypenguin viceroypenguin deleted the incrementality branch February 26, 2026 00:15
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.

2 participants