Skip to content
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

wait for trust to be initialized before prompting in tasks #158323

Merged
merged 1 commit into from Aug 19, 2022

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Aug 16, 2022

fix #156183

I find the workspace trust stuff to be a little confusing, so want to make sure this approach is expected/consistent.

In testing, I couldn't repro the bug.

@meganrogge meganrogge self-assigned this Aug 16, 2022
@meganrogge meganrogge added this to the August 2022 milestone Aug 16, 2022
@meganrogge meganrogge requested a review from Tyriar August 17, 2022 16:06
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have expected requestWorkspaceTrust to handle this already. Adding @lszomoru as @sbatten is out

@Tyriar Tyriar requested a review from lszomoru August 17, 2022 16:38
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as it looks fine, please let us know if this is wrong trusted workspace experts 🙂

@meganrogge meganrogge merged commit 3400ec4 into main Aug 19, 2022
@meganrogge meganrogge deleted the merogge/tasks-trust branch August 19, 2022 19:26
@lszomoru
Copy link
Member

@meganrogge, @Tyriar, apologies for not getting back to you on this. I agree with @Tyriar, consumers of workspace trust should not be calling await this._workspaceTrustManagementService.workspaceTrustInitialized;. I see that this change was made to fix a bug (#156183). Do we have a consistent repro of that?

@meganrogge
Copy link
Contributor Author

Just the repro in the issue that this PR intended to fix

@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2022
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.

tasks shouldn't prompt for trust when trust has been refused
3 participants