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

Disable reject_irp_prior_to_transact0 option for WinFSP #1210

Merged
merged 2 commits into from Jun 18, 2020

Conversation

touilleMan
Copy link
Member

fix #1207 the proper way (not like #1208 :trollface: )

Enabling reject_irp_prior_to_transact0 is a fix to correct an incompatibily with
Avast when using a folder as mountpoint.
However this fix also prevents from knowing with precision when the mountpoint
is ready which lead to flaky errors in the CI.

Since Parsec have switched to drive based mountpoint (given doing folder-based
is basically a dumpster fire full of nonsenses like the Avast craziness we got
in the first place...) this fix is no longer required.
@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #1210 into master will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1210      +/-   ##
==========================================
+ Coverage   80.21%   80.26%   +0.05%     
==========================================
  Files         280      280              
  Lines       23769    23809      +40     
==========================================
+ Hits        19066    19110      +44     
+ Misses       4703     4699       -4     
Impacted Files Coverage Δ
parsec/core/mountpoint/winfsp_runner.py 88.37% <ø> (-2.33%) ⬇️
parsec/service_nursery.py 79.48% <0.00%> (-1.29%) ⬇️
parsec/core/fs/userfs/userfs.py 84.12% <0.00%> (+0.21%) ⬆️
parsec/core/gui/workspaces_widget.py 68.17% <0.00%> (+0.25%) ⬆️
parsec/api/protocol/types.py 96.26% <0.00%> (+0.31%) ⬆️
parsec/backend/postgresql/invite.py 94.25% <0.00%> (+0.47%) ⬆️
parsec/core/fs/workspacefs/workspacefs.py 96.83% <0.00%> (+1.26%) ⬆️
parsec/core/cli/apiv1_claim_user.py 92.68% <0.00%> (+4.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b7afec...5d7ec31. Read the comment docs.

@vxgmichel vxgmichel self-requested a review June 18, 2020 13:06
Copy link
Contributor

@vxgmichel vxgmichel left a comment

Choose a reason for hiding this comment

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

With reject_irp_prior_to_transact0 disabled, we should be able to get rid of the _wait_for_winfsp_ready logic right?

@touilleMan
Copy link
Member Author

touilleMan commented Jun 18, 2020

@vxgmichel this is also done for fuse so I'm not sure... but let's try this with e4ed5c4 ! ^^

EDIT: The wait is still required :'( https://dev.azure.com/Scille/parsec/_build/results?buildId=1135&view=logs&j=bfccef3f-45d4-504d-9a7f-a8a74922e6bf&t=1b8d0bba-f11a-562f-077c-1aaa5fdf35ee&l=584

@touilleMan touilleMan force-pushed the disable-winfsp-reject_irp_prior_to_transact0 branch from e4ed5c4 to 5d7ec31 Compare June 18, 2020 13:57
@vxgmichel vxgmichel self-requested a review June 18, 2020 14:42
@touilleMan touilleMan merged commit 302010c into master Jun 18, 2020
@touilleMan touilleMan deleted the disable-winfsp-reject_irp_prior_to_transact0 branch June 18, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent test: test_file_operations with WinFSP
2 participants