Repository navigation
fix(shared): relay client install survives antivirus-slowed first launch #27426
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
Merged
+59
−12
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
08cddcf
test(shared): reproduce #27409 relay client install failing on slow f…
juliusmarminge 78f90eb
fix(shared): give relay client install validation time for antivirus …
juliusmarminge 57f9a6d
refactor(shared): keep the version probe a plain pipe
juliusmarminge 654df7e
fix(shared): keep the relay client version probe traced
juliusmarminge 21e0ac3
Merge remote-tracking branch 'origin/main' into fix/issue-27409
juliusmarminge 97b7b3d
Merge remote-tracking branch 'origin/main' into fix/issue-27409
juliusmarminge ef55a0f
test(shared): drop the TestClock import duplicated by the main merge
juliusmarminge c52e2b2
Merge origin/main into fix/issue-27409
juliusmarminge a719c3f
Merge remote-tracking branch 'origin/main' into fix/issue-27409
juliusmarminge f750604
Merge branch 'main' into fix/issue-27409
juliusmarminge 92e7d2b
Merge branch 'main' into fix/issue-27409
juliusmarminge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Web query:
Can Windows antivirus rescan and delay execution of an executable after it is renamed following a successful first execution?Result:
Script executed:
Repository: pingdotgg/t3code
Length of output: 19135
Script executed:
Repository: pingdotgg/t3code
Length of output: 18943
Web query:
Microsoft Defender real-time protection renamed executable scanned again on execution delay after rename official documentationResult:
Reuse the validation result after activation.
The install flow probes the temporary path with the two-minute timeout, then renames the file to
managedPath.ManagedEndpointRuntimeimmediately callsresolve, which uses a separate cache key and the ten-second timeout for the activated path.If antivirus rescans and delays execution after the rename, installation can succeed while activation is skipped or delayed. Preserve the validated result for the activated file revision.