fix broken ui tests#6071
Draft
Icxolu wants to merge 1 commit into
Draft
Conversation
Contributor
|
Thank you! Aside: I opened #5913 going into this direction a while back but running all the tests and not only the UI tests. |
Member
|
Wouldnt switching to ui_test help with this? |
Member
I just updated #5863, let's see if that now builds green 👀 |
Member
Author
|
I think as long as we don't change the runs, it will have the same problem, no? A lot of these #5863 conditionally skips, but that condition is currently always true. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While working on #5741 I noticed that some of our ui tests are broken, indicating that they are not running in CI. Looking in more detail it seem we either run without any features, which means ui tests are not running since they require
macrosor we are runningfull. Basically all tests that require the absence of a feature is not running in CI.Quite a few of are gated on
#[cfg(not(feature = "experimental-inspect"))]as the output changes with the feature enabled. We could invert the cfg, but this would decrease the readability of the output quite a bit. And for some of them this would not work, as they specifically test errors that we emit when a feature is not enabled.Currently untested are (as far as I can tell):
I already fixed a few simple ones, but I'm not sure how to best handle the rest. We could remove
experimental-inspectandexperimental-asyncfrom full and have separate runs, but that would probably increase CI time significantly and also feels more like a band aid rather than a fix. Maybe we should have a separate job that just runstest_compile_errorwith more feature combinations? An additional run with justmacroswould fix quite a few of these, but not all I believe. Ideas welcome.