Skip to content

Run provider routing tests in the portable suite - #823

Merged
Eli Pinkerton (wallstop) merged 2 commits into
masterfrom
work/497-portable-provider-routing
Nov 24, 2026
Merged

Eli Pinkerton (wallstop) merged 2 commits into
masterfrom
work/497-portable-provider-routing

Conversation

@wallstop

Copy link
Copy Markdown
Collaborator

Why

Editor-free contributors need test feedback on which bus receives an emitted message. The existing Unity fixture already exercises that behavior.

What changed

Run the existing provider routing fixture in the portable test project. Keep the destroyed ScriptableObject check in Unity.

How we know

All ten focused cases passed. Sending provider messages through the global bus failed six routing assertions and passed four controls. The complete behavior suite passed 31,152 cases, including all prior cases. The retention suite passed all 5,789 cases. Repository validation and commit hooks passed. Test evidence.

Related issue

Part of #497 and the 4.0.0 readiness audit in #575.

Type of change

Test coverage.

Checklist

  • Portable runtime checks and formatting
  • Hosted validation and maintainer review

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 128 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

No actionable comments were generated in the recent review.

Walkthrough

The .NET test project now compiles MessageExtensionsProviderTests.cs. The destroyed-provider fallback test and its helper are included only for Unity 2021.3 or newer. Null-provider fallback assertions remain unconditional.

Changes: Provider extension tests

Layer / File(s) Summary
Compile and version-gate provider tests
.net-tests/DxMessaging.Net.Tests.csproj, Tests/Runtime/Core/Extensions/MessageExtensionsProviderTests.cs
The .NET test project includes MessageExtensionsProviderTests.cs. The destroyed-provider fallback test and its helper are conditional on UNITY_2021_3_OR_NEWER.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: Minimal · previous review 82c6f

This change compiles the provider-routing tests into the portable test project and keeps the destroyed-provider check in Unity 2021.3 and newer. No actionable merge risk remains beyond the normal hosted validation and maintainer review.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the existing provider routing tests now run in the portable test suite. The raw summary shows the csproj adding MessageExtensionsProviderTests.cs to compilation, and t…
Description check Passed The description follows the template's main sections: Why, What changed, How we know, Related issue, Type of change, and Checklist. It is short and plain. It explains the purpose, the portable-suite c…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the existing provider routing tests now run in the portable test suite. The raw summary shows the csproj adding MessageExtensionsProviderTests.cs to compilation, and the test file gating the Unity-specific helper and destroyed-provider assertion by Unity version. The title is specific and matches the objectives, so it passes.

Full details: Description check

Explanation

The description follows the template's main sections: Why, What changed, How we know, Related issue, Type of change, and Checklist. It is short and plain. It explains the purpose, the portable-suite change, and the test evidence with counts. Gaps: the Related Issue section links #497 and #575 as 'Part of' rather than 'Closes #', and the Type of change section is free text rather than the template's checkbox list. The checklist is only partly checked, which is acceptable because hosted validation is still pending. The CHANGELOG item is absent. These are non-critical, so the check passes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review details

Context from checks skipped due to timeout: 1

  • GitHub Check: CodeRabbit
Additional comments: 1

Tests/Runtime/Core/Extensions/MessageExtensionsProviderTests.cs: 1

88-88: Maintainability & Code Quality

The UNITY_2021_3_OR_NEWER guard does not remove coverage on supported Unity versions.

The repository supports Unity 2021.3 and newer. The manifest, README, compatibility reference, and CI matrix all establish this floor. The guard removes the destroyed-provider check only from unsupported pre-2021.3 builds.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

DISCLOSURE: LLM-GENERATED TEXT

OpenAI review: 0 findings.

No defects found.

2722 in, 1003 out tokens. Comments only; this review never blocks a merge.

@cursor

cursor Bot commented Nov 24, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

DISCLOSURE: LLM-GENERATED TEXT

OpenAI review: 0 findings.

No defects found.

2722 in, 500 out tokens. Comments only; this review never blocks a merge.

@wallstop
Eli Pinkerton (wallstop) merged commit 62448aa into master Nov 24, 2026
29 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the work/497-portable-provider-routing branch November 24, 2026 04: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