Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Flow Thread.CurrentPrincipal with ExecutionContext #34747

Merged
merged 14 commits into from
Jan 30, 2019
Merged

Flow Thread.CurrentPrincipal with ExecutionContext #34747

merged 14 commits into from
Jan 30, 2019

Conversation

MarcoRossignoli
Copy link
Member

@benaadams
Copy link
Member

Never actually reads from s_asyncLocalPrincipal?

@MarcoRossignoli
Copy link
Member Author

MarcoRossignoli commented Jan 22, 2019

I used similar style of CurrentCulture

s_currentThreadCulture = args.CurrentValue;

@benaadams
Copy link
Member

Ah, missed it was being set with the callback

@MarcoRossignoli
Copy link
Member Author

Ohhh first CI with Azure Pipeline for me ❗❗❗ 💥💥💥

@stephentoub
Copy link
Member

Ohhh first CI with Azure Pipeline for me

Before you get too excited, note that it's broken :)

@MarcoRossignoli
Copy link
Member Author

test this please

@jkotas
Copy link
Member

jkotas commented Jan 22, 2019

LGTM otherwise

@jkotas
Copy link
Member

jkotas commented Jan 23, 2019

CurrentPrincipalContextFlowTest_NotFlow test is failing on Linux.

@MarcoRossignoli
Copy link
Member Author

CurrentPrincipalContextFlowTest_NotFlow test is failing on Linux.

I'll verify...also on Windows.10.Amd64.ClientRS4.Open-x86-Release

@MarcoRossignoli
Copy link
Member Author

test Linux arm64 Release Build please
test corefx-ci please

@MarcoRossignoli
Copy link
Member Author

test Linux arm64 Release Build please

@MarcoRossignoli
Copy link
Member Author

MarcoRossignoli commented Jan 26, 2019

Thank's a lot for the info!Regarding this PR I don't know if needs to have green CI before merge, do we wait Linux CI fix?

@MarcoRossignoli
Copy link
Member Author

MarcoRossignoli commented Jan 28, 2019

@jkotas @stephentoub @danmosemsft PTAL

@safern
Copy link
Member

safern commented Jan 28, 2019

Before you get too excited, note that it's broken :)

😆 -- it is finally not broken anymore 🚀

@MarcoRossignoli
Copy link
Member Author

@safern Will Jenkins removed from CI?If so is there a date?

@stephentoub
Copy link
Member

I'll take another look today. Thanks.

@safern
Copy link
Member

safern commented Jan 29, 2019

@safern Will Jenkins removed from CI?If so is there a date?

Yes it will be. There is not a definite date, but should be removed soon as it seems like the azure devops leg is stabilized.

@danmoseley
Copy link
Member

@safern Azure CI failed due to "infrastructure issue". Can you remind me how to invoke it again?

@safern
Copy link
Member

safern commented Jan 30, 2019

Yeah. This was because of the DNS outtage.

/AzurePipelines run corefx-ci

However comment triggers are broken due to a github bug apparently. I spoke with azure people and they are aware, will let me know whenever fixed. I’ve retried the attempt in the build UI on the right top corner there are 3 dots, that open a submenu with the retry option.

Also, through comments there is no way to retry as of now, just to RUN ALL again. I’ve filed an issue for retry by comments.

@MarcoRossignoli
Copy link
Member Author

I’ve retried the attempt in the build UI on the right top corner there are 3 dots, that open a submenu with the retry option.

@safern I don't see that menù is only for "MS internals"? (I see "Download the log" or "View queue time.../Add tags"

@stephentoub
Copy link
Member

Thanks!

@stephentoub stephentoub merged commit bab35ec into dotnet:master Jan 30, 2019
@MarcoRossignoli MarcoRossignoli deleted the executioncontext branch January 30, 2019 13:04
@safern
Copy link
Member

safern commented Jan 30, 2019

@safern I don't see that menù is only for "MS internals"? (I see "Download the log" or "View queue time.../Add tags"

Unfortunately now only MS people can use the retry feature. We've given feedback to be able to retry through comments as that would allow externals to do so. I'll communicate it whenever it is ready 😄

@danmoseley
Copy link
Member

Thanks for doing this @MarcoRossignoli , it was a journey 😄

@MarcoRossignoli
Copy link
Member Author

Thanks for doing this @MarcoRossignoli , it was a journey 😄

A pleasure trip as always, I love your attention(maniacal) for code quality. Thank's for the opportunity.

@karelz karelz added this to the 3.0 milestone Mar 18, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* flow Thread.CurrentPrincipal with ExecutionContext

* fix netfx test

* address PR feedback

* address PR feedback

* try to make test more reliable using StartNew(), removed from NetFramework

* address PR feedback

* nit: extraline

* add null set test

* nit: extraline, again...

* rename test

* apply Stephen fix

* nit: typos

* address PR feedback

* nit: update comment


Commit migrated from dotnet/corefx@bab35ec
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread.CurrentPrincipal does not flow with ExecutionContext
7 participants