Add more verifications in EventPipe rundownvalidation test. #89623
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.
Subtle changes done in:
#85558
like a change where one of the utf8->utf16 conversion routines changed behavior when passing in a string that is "" and len 0. In previous implementation it would return a new string "", but in new update change, it starts to return NULL. That in turn would cause some fields in some EventPipe events on Mono to fail serialize (using "" if value is not present), and that knocked out a couple of rundown events on Mono that was detected and fixed in #88634.
It would been ideal to catch this issue as part of CI, but turns out that our existing rundownvalidation test only tests a couple of rundown events, and not any of the module/assembly events that was affected by above change.
This commit adds validation that the following additional rundown events are included in the rundown event stream:
This would at least make sure the majority of important rundown events are present.