Skip to content

Conversation

@jpdurot
Copy link

@jpdurot jpdurot commented Nov 20, 2025

Resolves #430

Fix on UnavailableType.Equals method was not revealed by the automatic tests but from usage with my real assemblies(Equals calls itself leading to an infinite loop).

The assembly was the one in which the type was referenced
instead of the assembly containing the type.

Issue: TNG#430
Signed-off-by: Jean-Philippe Durot <[email protected]>
@jpdurot jpdurot force-pushed the unavailabletpye-assembly branch from 7f95040 to 5049968 Compare November 20, 2025 23:21
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.82%. Comparing base (4006980) to head (5049968).

Files with missing lines Patch % Lines
ArchUnitNET/Domain/UnavailableType.cs 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #431      +/-   ##
==========================================
- Coverage   74.84%   74.82%   -0.02%     
==========================================
  Files         257      257              
  Lines       17221    17225       +4     
  Branches     1575     1575              
==========================================
  Hits        12889    12889              
- Misses       3876     3880       +4     
  Partials      456      456              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexanderlinne
Copy link
Collaborator

Hi @jpdurot, thanks for the improvement here. As soon as you've fixed the formatting issue, I'll merge this for the next version.

@alexanderlinne alexanderlinne added kind/bug Categorizes issue or PR as related to a bug. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnavailableType does not provide the correct assembly

3 participants