Skip to content

Fix Architecture.Tests xUnit v3 post-migration failures (#179) - #185

Merged
mpaulosky merged 1 commit into
sprint/8-xunit-v3-pilotfrom
squad/179-fix-architecture-tests-xunit-v3-failures
Apr 26, 2026
Merged

Fix Architecture.Tests xUnit v3 post-migration failures (#179)#185
mpaulosky merged 1 commit into
sprint/8-xunit-v3-pilotfrom
squad/179-fix-architecture-tests-xunit-v3-failures

Conversation

@mpaulosky

Copy link
Copy Markdown
Owner

Summary

Post-migration validation for Architecture.Tests xUnit v3 migration. No failures found.

Closes #179

Working as Gimli (Tester)


Findings

After applying the xUnit v3 migration in PR #184, all 11 architecture tests pass with zero failures:

Passed! - Failed: 0, Passed: 11, Skipped: 0, Total: 11 — Architecture.Tests.dll (72ms)

No fixes required. The Architecture.Tests migration in Wave 2 is clean.

Root Cause Analysis

xUnit v3 is fully backward-compatible for all patterns used in Architecture.Tests:

  • [Fact] — identical in v2 and v3 ✅
  • FluentAssertions .Should() — unchanged ✅
  • NetArchTest.Rules builder chain — unchanged ✅
  • No IClassFixture / ICollectionFixture patterns in use ✅
  • No xUnit lifecycle overrides (IAsyncLifetime, SetupAttribute) ✅

The only migration work was Gimli Rule #3 compliance (AAA comments), which is purely cosmetic
and cannot introduce test failures.

Deliverables

  • ✅ Validated: 11 tests pass with xUnit v3 3.2.2
  • ✅ Appended Sprint 8 Wave 2 learnings to .squad/agents/gimli/history.md
  • ✅ Drafted gimli-xunit-v3-migration-pattern.md decision (in local decisions inbox for Scribe)

Prerequisite

This PR should merge after #184 is merged to sprint/8-xunit-v3-pilot.

- All 11 architecture tests pass with xUnit v3 3.2.2 (0 failures)
- Updated Gimli history.md with Sprint 8 Wave 2 migration learnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 26, 2026 13:22
@github-actions github-actions Bot added the squad Squad triage inbox — Lead will assign to a member label Apr 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏗️ PR Added to Squad Triage Queue

This PR has been labeled with squad and added to the triage queue.

Next steps:

  • The squad Lead will review and assign to an appropriate team member
  • A squad:member label will be added after triage

If you know which squad member should handle this, you can add the appropriate squad:member label yourself.

@mpaulosky
mpaulosky merged commit d15c558 into sprint/8-xunit-v3-pilot Apr 26, 2026
7 checks passed
@mpaulosky
mpaulosky deleted the squad/179-fix-architecture-tests-xunit-v3-failures branch April 26, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Records the post-migration validation results for the Architecture.Tests xUnit v3 migration, noting that no test failures were found.

Changes:

  • Appends Sprint 8 Wave 2 learnings and validation notes for Architecture.Tests xUnit v3 migration to Gimli’s history log.

1. For MyBlog test coverage, a `ConfigureAwait(false)` cleanup in a MediatR pipeline behavior is non-observable unless tests explicitly assert synchronization-context behavior.
2. Scope discipline matters here: do not churn nearby tests for unrelated convention gaps when the requested review is only about async continuation configuration. No newline at end of file
2. Scope discipline matters here: do not churn nearby tests for unrelated convention gaps when the requested review is only about async continuation configuration.
## 2025 — Sprint 8 Wave 2: Architecture.Tests xUnit v3 Migration (#178 / #179)

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

The new entry heading uses a different date format ("## 2025 — ...") than the rest of this history file (e.g., "## 2026-04-24 — ..." at line 274, and earlier entries at lines 149/161). It also appears out of chronological order since it comes after 2026-04-24. Consider updating the heading to the standard YYYY-MM-DD format and using the correct date/year so the timeline remains consistent.

Suggested change
## 2025 — Sprint 8 Wave 2: Architecture.Tests xUnit v3 Migration (#178 / #179)
## 2026-04-25 — Sprint 8 Wave 2: Architecture.Tests xUnit v3 Migration (#178 / #179)

Copilot uses AI. Check for mistakes.
@codecov

codecov Bot commented Apr 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (sprint/8-xunit-v3-pilot@5f1f102). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             sprint/8-xunit-v3-pilot     #185   +/-   ##
==========================================================
  Coverage                           ?   72.53%           
==========================================================
  Files                              ?       43           
  Lines                              ?      721           
  Branches                           ?      112           
==========================================================
  Hits                               ?      523           
  Misses                             ?      149           
  Partials                           ?       49           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

squad Squad triage inbox — Lead will assign to a member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants