-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Libraries trimming test are missing a lot of configurations #39274
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @safern, @ViktorHofer |
Cc: @joperezr |
Although we do plan to enable a few extra platforms, with the trimming tests we are manually changing the way we invoke the linker in order to force aggressive trimming so we do have coverage for now. That said, I do want to restate that we do plan to add at least wasm platform as well |
@joperezr could you add the right milestone on when you're going to be adding these? At least browser seems important for 5.0.0 |
yup, wasm will be done before 5.0 definitely. |
@joperezr it's unclear to me what the remaining work is. Is someone actively working on this? Thanks |
We still haven't added a wasm leg for the linker tests, today we only have these 3: runtime/eng/pipelines/runtime-linker-tests.yml Lines 61 to 64 in afa4b2f
Ideally we would want to add wasm in there as well to build that vertical and run linker tests for that runtime, so that would be the remaining work. @eerhardt do we still want to do that for 5.0? |
It would be good to get the wasm leg in, but I don't think it is required for 5.0 at this point. It can be done early in 6.0. |
Added to story #43078 |
I think this is ready from our side. Running the linker against listed RIDs should be possible a long time ago and we now have AndroidAppBuilderTask, AppleAppBuilderTask and WasmBuildApp to produce the executable and Helix integration to run it. |
@eerhardt could you summarize the current thinking here -- I believe you talked to @marek-safar -- what are the right next actions here do you see? |
We will start off by adding a wasm leg, and then ios and android legs to the trimming tests. |
sounds good. To summarize my understanding,
|
That summary looks good except:
Technically (a) happens during the build, and not during the tests. The tests verify "(b) libraries functionality doesn't break under trimming". |
Ah, saw warningsaserrors on the test project build and assumed it was for that purpose. Fine! |
Moving to 7.0. We added a browser-wasm leg, which covers the basic mono scenarios. We should enable android and ios in 7.0. |
This is something my team can help out on. These tests seem similar to our functional tests and I don't think would take too much effort to enable. |
@joperezr @steveisok should we move this to 8.0? |
I'll defer to @steveisok on this. Ideally we would want to have these tests running on all different runtimes that we cross-target, but the most important thing here is to decide when do we want to do that work. |
ping @steveisok for the above question |
Let's leave it in 7. I could end up being wrong, but I believe the work is hooking up to our mobile testing targets the same way the functional tests (src/tests/FunctionalTests) do. If I'm correct, then I think it's less than a few days of work at worst. |
@steveisok - should we keep this in 7.0 or move it out at this point? |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsNewly added trimming libraries tests run only for configurations which are not by default trimmed aggressively. All the ones which are and are used to customers are missing so we have no test coverage. Mandatory RIDs to be added to the existing matrix
|
Are we good on this for wasm, i.e. was #48429 everything needed? If so, I can duplicate that PR's changes for iOS, tvOS and Android |
As far as I know. The wiring up of these tests for mobile should be the same as the functional tests. |
Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos Issue DetailsNewly added trimming libraries tests run only for configurations which are not by default trimmed aggressively. All the ones which are and are used to customers are missing so we have no test coverage. Mandatory RIDs to be added to the existing matrix
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsNewly added trimming libraries tests run only for configurations which are not by default trimmed aggressively. All the ones which are and are used to customers are missing so we have no test coverage. Mandatory RIDs to be added to the existing matrix
|
Newly added trimming libraries tests run only for configurations which are not by default trimmed aggressively. All the ones which are and are used to customers are missing so we have no test coverage.
Mandatory RIDs to be added to the existing matrix
The text was updated successfully, but these errors were encountered: