Skip to content

Make regression pipeline test stacking deterministic - #2531

Closed
niemyjski wants to merge 1 commit into
mainfrom
issue/deterministic-stacking-regression-test
Closed

Make regression pipeline test stacking deterministic#2531
niemyjski wants to merge 1 commit into
mainfrom
issue/deterministic-stacking-regression-test

Conversation

@niemyjski

Copy link
Copy Markdown
Member

Summary

  • generate the two setup events as logs so their distinct sources always produce separate stacks
  • assert the setup stack IDs differ before exercising batch regression handling

Why

The default error-event generator randomly selects from a 25-error pool. When both setup events selected the same error, they shared a stack and the test incorrectly observed the first context as regressed.

Verification

  • forced the two setup errors to match and reproduced Expected: Fixed / Actual: Regressed
  • dotnet test tests/Exceptionless.Tests/Exceptionless.Tests.csproj -- --filter-class Exceptionless.Tests.Pipeline.EventPipelineTests (57 passed, 1 skipped)
  • focused test passed 6 consecutive runs

Breaking changes

None.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 37% 35% 286
Exceptionless.Core 76% 67% 10280
Exceptionless.Web 85% 69% 7974
Exceptionless.AppHost 38% 41% 147
Summary 78% (25509 / 32506) 68% (11960 / 17711) 18687

@niemyjski niemyjski closed this Aug 28, 2026
@niemyjski
niemyjski deleted the issue/deterministic-stacking-regression-test branch August 28, 2026 02:22
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.

1 participant