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
Test AsyncLocal diagnostics feasibility, again. #16778
base: main
Are you sure you want to change the base?
Conversation
❗ Release notes requiredCaution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository:
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request. You can open this PR in browser to add release notes: open in github.dev
|
@0101 from the call stacks it looks like some of the the failing tests here, for example in Build Linux leg, are running with Transparent Compiler? (I'm seeing AsyncMemoize.Get in the callstack). My question is, is there a way to tell which parts of the CI run with Transparent Compiler? |
@majocha this one: fsharp-ci (Build WindowsCompressedMetadata transparent_compiler_release) There's another env var used there, |
Thanks! Turns out I have a hard time telling which failed tests failed in which jobs. |
1e7bdd8
to
2e7e578
Compare
OK what's going on here, is Threadstatics leaking from one test to another. I guess threads get reused? This behavior, of threadstatics leaking to unrelated tests, is very much exacerbated by One thing makes me wonder, there were lots of weird strangely unrelated test failures right after merging Transparent Compiler. Is it possible it was related somehow? Apart from this one issue, it seems AsyncLocal follows the behavior of ThreadStatics quite well and it looks like the issue is on the ThreadStatics / NodeCodeBuilder side. |
As minimal as possible, just to see how it fares in CI, for now.
The goal is to get almost everything to pass apart from Transparent Compiler / AsyncMemoize tests.