Skip to content

Conversation

@cart
Copy link
Member

@cart cart commented Oct 31, 2025

Objective

bevy_reflect tests are failing currently because they rely on type_name == type_path, which is not necessarily true (and could change at any time). TypePath exists to solve the type_name stability problem!

Fixes #21702.

Solution

Hard-code the expected TypePath string as a string literal.

@cart cart added C-Bug An unexpected or incorrect behavior C-Testing A change that impacts how we test Bevy or how users test their apps labels Oct 31, 2025
Copy link
Contributor

@MalekiRe MalekiRe left a comment

Choose a reason for hiding this comment

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

LGTM

@alice-i-cecile
Copy link
Member

Lgtm when you get CI green :)

@cart cart added this pull request to the merge queue Oct 31, 2025
Merged via the queue into bevyengine:main with commit 78e6f5d Nov 1, 2025
58 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Bug An unexpected or incorrect behavior C-Testing A change that impacts how we test Bevy or how users test their apps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reflect_type_info test fails in CI

4 participants