Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-functional nondeterministic_system_order example #10719

Conversation

nfagerlund
Copy link
Contributor

Objective

The nondeterministic_system_order example doesn't actually detect and log its deliberate order ambiguities! It should, tho.

Solution

Update the schedule label, and explain in a comment that you can't turn it on for the whole Main schedule in one go (alas, that would be nice, but it makes sense that it doesn't work that way).

@nfagerlund
Copy link
Contributor Author

OK, that red mark looks like unrelated trailing whitespace in the cargo.toml. Happy to fix it in this PR, but only if someone asks me to, since I assume it's going to jump out at everyone else's PRs too.

@Kanabenki Kanabenki added C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples labels Nov 24, 2023
@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed C-Bug An unexpected or incorrect behavior labels Nov 25, 2023
@alice-i-cecile
Copy link
Member

alice-i-cecile commented Nov 25, 2023

Thanks for catching this :)

@alice-i-cecile alice-i-cecile removed the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Nov 25, 2023
@DasLixou
Copy link
Contributor

OK, that red mark looks like unrelated trailing whitespace in the cargo.toml. Happy to fix it in this PR, but only if someone asks me to, since I assume it's going to jump out at everyone else's PRs too.

There was already a fix (I don't know if that fixed all the issues), but you should be good to go when you rebase

This example wasn't reporting any ambiguities! Turns out that child schedules
don't inherit the ambiguity detection setting. (I think this must be because
that "child" relationship doesn't really exist at schedule build time, and is
just an emergent property of what happens during some exclusive system.)

Changing the modified schedule to be `Update` reports system ambiguities as
expected.
@nfagerlund nfagerlund force-pushed the nf/nov23-ambiguity-reporting-example branch from be67603 to ccfafb2 Compare November 25, 2023 19:24
@nfagerlund
Copy link
Contributor Author

Righto, rebased

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 25, 2023
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Nov 25, 2023
Merged via the queue into bevyengine:main with commit 91b64df Nov 25, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants