Commit Graph

1992 Commits

Author SHA1 Message Date
ben marsh
79160df908 Horde: Fix static analysis warning.
[CL 31225550 by ben marsh in ue5-main branch]
2024-02-06 14:25:36 -05:00
ben marsh
4c403dd279 Horde: Include more information when an upload fails.
[CL 31218530 by ben marsh in ue5-main branch]
2024-02-06 12:11:20 -05:00
carl bystrom
d8b4c39b10 Horde: Fix compiler warnings
[CL 31185672 by carl bystrom in ue5-main branch]
2024-02-05 15:00:08 -05:00
ben marsh
4c565fec6e Horde: Fix test failure; side effect due to asynchronous continuations.
Also fix a few static analyzer warnings.

[CL 31184749 by ben marsh in ue5-main branch]
2024-02-05 14:36:48 -05:00
ben marsh
22e0d3df2d Horde: Add the Microsoft.VisualStudio.Threading.Analyzers package to EpicGames.Horde, and fix current warnings.
[CL 31183231 by ben marsh in ue5-main branch]
2024-02-05 14:06:41 -05:00
ben marsh
00bef38ea0 EpicGames.Core: Set the TaskCreationOptions.RunContinuationsAsynchronously flag by default for all task completion sources.
[CL 31180129 by ben marsh in ue5-main branch]
2024-02-05 13:12:31 -05:00
ben marsh
99c1094b4d Horde: Fix file modes for Mac/Linux when applying extracted file permissions.
[CL 31164134 by ben marsh in ue5-main branch]
2024-02-04 16:25:47 -05:00
ben marsh
7be75e9ac3 Horde: Pass cancellation token when extracting blobs.
[CL 31160455 by ben marsh in ue5-main branch]
2024-02-03 17:35:03 -05:00
ben marsh
9f6230c54b Horde: Fix race condition between multiple threads writing to a file and setting file attributes.
A shared counter for the number of remaining chunks of a file to be written is stored for each output file, and the attributes are only applied after the last write is complete.

[CL 31159905 by ben marsh in ue5-main branch]
2024-02-03 14:37:03 -05:00
ben marsh
a6a9952eb0 Horde: Include the root directory when logging info about managed workspace use.
[CL 31155560 by ben marsh in ue5-main branch]
2024-02-02 21:26:16 -05:00
ben marsh
ec8f351852 Horde: Fix partitioned workspace setting not being passed through to ManagedWorkspaceOptions when using the workspace materializer.
[CL 31135694 by ben marsh in ue5-main branch]
2024-02-02 14:43:10 -05:00
ben marsh
eb59cf2313 Horde: Fix some threading issues in JsonRpcLogSink.
- Removed unused lock object.
- Event for new log data being posted was not captured before querying the builder for tail state.
- Retrieving flushed line count was not performed under a lock. Now returned the clamped tail position along with tail data.
- Added retry after receiving exception on tailing thread; noticed some retryable network errors creeping in to logs which would stop tailing from functioning.

[CL 31131966 by ben marsh in ue5-main branch]
2024-02-02 13:13:29 -05:00
ben marsh
fc0a50341f Horde: Speculative fix for Linux error stating that size of memory mapped file is less than the size of the filestream (suspect caused by a symlink in the tree).
[CL 31115559 by ben marsh in ue5-main branch]
2024-02-01 20:42:01 -05:00
ben marsh
8b0ce8b90b Horde: Don't catch and re-throw cancellation exceptions when reading data from bundles; allow the cancellation exception to propagate to the caller.
[CL 31111243 by ben marsh in ue5-main branch]
2024-02-01 19:12:07 -05:00
ben marsh
749f07f17d Horde: Fix missing parameter from log message.
[CL 31092797 by ben marsh in ue5-main branch]
2024-02-01 12:49:20 -05:00
ben marsh
2038ba8440 Horde: Fix settings for partitioned workspaces not being sent through to agents correctly.
#jira UE-205532

[CL 31088582 by ben marsh in ue5-main branch]
2024-02-01 10:56:43 -05:00
ben marsh
85c89f5055 Horde: Increase Redis timeout when a debugger is attached.
[CL 31074510 by ben marsh in ue5-main branch]
2024-01-31 19:30:34 -05:00
ben marsh
9dc3afbdc3 Horde: Move functionality for extracting and updating directories into separate files.
[CL 31058427 by ben marsh in ue5-main branch]
2024-01-31 14:23:00 -05:00
ben marsh
311c2b8891 Horde: Fix handling of auth headers for Horde storage upload redirects.
* Since upload redirects are handled explicitly, unlike HTTP GET redirect responses, we need to create a new HTTP client which doesn't insert the standard Horde auth header to execute them.

[CL 31055118 by ben marsh in ue5-main branch]
2024-01-31 13:06:25 -05:00
ben marsh
743be6735f Horde: Move DirectoryNodeZipStream into a separate file, and allow creating it from a IBlobRef<DirectoryNode>.
[CL 31047048 by ben marsh in ue5-main branch]
2024-01-31 09:56:13 -05:00
ben marsh
e6bc867d67 Horde: Disable interactive auth prompt when requests already have an access token.
[CL 31047045 by ben marsh in ue5-main branch]
2024-01-31 09:56:08 -05:00
ben marsh
40759e9943 Horde: Allow auth prompt by default when connecting to Horde.
[CL 31044671 by ben marsh in ue5-main branch]
2024-01-31 08:48:00 -05:00
joshua shlemmer
69cf6ad6b3 Retry of requests for LibToolTelemetry
#rb Ben.Marsh, Eric.Knapik, gary.yuan

[CL 31012523 by joshua shlemmer in ue5-main branch]
2024-01-30 13:05:45 -05:00
ben marsh
ba5fc84dca Horde: Fix deadlock when discovering output chunks for bundle extraction if there are more than 128k individual leaf nodes in the queue.
[CL 31007392 by ben marsh in ue5-main branch]
2024-01-30 10:35:09 -05:00
ben marsh
3c38236ea4 Horde: Set the correct permissions on files extracted from bundles.
[CL 30978852 by ben marsh in ue5-main branch]
2024-01-29 17:12:45 -05:00