Repository navigation
Publish as AoT - #967
Merged
Merged
Publish as AoT#967
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #967 +/- ##
==========================================
+ Coverage 96.65% 96.72% +0.06%
==========================================
Files 23 45 +22
Lines 479 641 +162
Branches 54 71 +17
==========================================
+ Hits 463 620 +157
- Misses 5 7 +2
- Partials 11 14 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Owner
Author
|
/deploy |
Owner
Author
|
/deploy dev |
Owner
Author
|
/deploy dev |
martincostello
force-pushed
the
publish-aot
branch
from
November 25, 2023 16:35
32689c7 to
26f74e9
Compare
Owner
Author
|
/deploy dev |
1 similar comment
Owner
Author
|
/deploy dev |
Owner
Author
|
/deploy dev |
Owner
Author
|
/deploy dev |
Owner
Author
|
/deploy dev |
martincostello
force-pushed
the
publish-aot
branch
from
November 26, 2023 11:34
e8035e8 to
0d7989e
Compare
Owner
Author
|
/deploy dev |
Add verification tests of the output JSON.
Remove ApplicationInsights as it is not AoT-compatible (and I never look at the data anyway).
- Use System.Text.Json for serialization instead of Newtonsoft.Json to support AoT. - Remove unused/duplicate custom `JsonSerializerContext`. - Add more end-to-end tests.
Enable publishing the Lambda for AoT.
Harden `SkillRequestExtensions` against null properties on the request and make it easier to debug.
Add missing brace.
Increase code coverage for ending a session.
Sort the properties.
Save some lines.
Until there's a GitHub Actions Linux runner with arm64 support, need to switch back to x64 as it is not possible to compile AoT for arm64 on an x64 Linux image.
Include the ICU libraries for linux-x64.
Make the type non-abstract to see if it fixes `NotSupportedException` when attempting to deserialize the payload.
Remove polymorphism as it is not supported when the type discriminator is not the first property in the JSON document. See dotnet/runtime#72604.
Use invariant globalisation and remove Microsoft.ICU.ICU4C.Runtime to reduce the AoT deployment size.
martincostello
force-pushed
the
publish-aot
branch
from
November 26, 2023 16:52
a0309b3 to
fb45199
Compare
Owner
Author
|
/deploy dev |
Reduce memory required to 128MB (the minimum) to see if enabling AoT allows that to work.
Owner
Author
|
/deploy dev |
Increase TfL API timeout to 7.5 seconds.
Owner
Author
|
/deploy dev |
Compare the time to the same code with 128MB.
Owner
Author
|
/deploy dev |
Remove the verification tests now the JSON serialization migration is complete.
Owner
Author
|
Before AoT on arm64: Published size: 123MB; 240 files After AoT on x86_64: Published size: 39.1MB; 4 files TL;DR: Published size: -68%; -236 files |
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.
JsonSerializerContext.