[PROF-11151] Fix test-memory-leaks flaky behavior #4434
Merged
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.
What does this PR do?
This PR will hopefully fix almost all of the the
flakiness we've seen from the test-memory-leaks GitHub workflow.
The previous "asan" builds we were using were built from ruby-head, which means that any instability or early breakage in ruby-head would make test-memory-leaks fail.
To fix this, I've worked with upstream to create these 3.4-asan builds: these are Ruby builds that are built from the latest 3.4 stable Ruby with asan. Thus any breakages we see in them, should also exist in regular 3.4 builds.
Motivation:
With this change, the test-memory-leaks workflow becomes a lot more valuable, since it's now never expected to fail.
Thus, any failures we see in it are worth investigating.
Change log entry
None.
Additional Notes:
For context, asan (or ASan) is the "AddressSanitizer" tool, see https://github.com/google/sanitizers/wiki/AddressSanitizer for more details.
How to test the change?
Validate that the updated workflow is running on ruby-3.4.2 and that it still has the diagnostic output from asan.