Commit Graph

21296 Commits

Author SHA1 Message Date
sebastian arleryd
cce19caaab Add low-level unit test project for ToolMenus
Includes a few tests to verify that the tests themselves work.

#jira UE-201151
#rb aditya.ravichandran, Rex.Hill

[CL 29935603 by sebastian arleryd in ue5-main branch]
2023-11-27 11:23:23 -05:00
eric knapik
9312fdc180 Use the ZenProject from the export source rather than the autogenerated value when available.
[REVIEW] [at]Zousar.Shaker [at]Dan.Engelbrecht

[CL 29935509 by eric knapik in ue5-main branch]
2023-11-27 11:20:30 -05:00
ben marsh
4021414faf Horde: Do not dispose of storage clients until all data has been read from streams that use them.
- Adds a new StreamWrapper class to EpicGames.Core which wraps another stream and forwards all overridable methods to it.
- Adds an extension method to create a StreamWrapper that overrides Dispose/DisposeAsync methods to dispose of other owned resources.

[CL 29935350 by ben marsh in ue5-main branch]
2023-11-27 11:14:39 -05:00
ben marsh
1b892fe03b Horde: Fix static analysis warning.
[CL 29935191 by ben marsh in ue5-main branch]
2023-11-27 11:09:03 -05:00
carl bystrom
55fd1c38b5 Horde: Resolve external IP when using relay connection mode
Provides necessary info to server to properly scope access to client's IP only.

[CL 29934272 by carl bystrom in ue5-main branch]
2023-11-27 10:24:39 -05:00
joakim lindqvist
5641ae22ec OidcToken - Allow for allocating of an access token without a identity token, we never actually used the IdentityToken and allowing to get a access token without it allows us to sidestep issues with some IdPs only providing thin tokens when you request both identity and access tokens at the same time.
[CL 29933141 by joakim lindqvist in ue5-main branch]
2023-11-27 09:20:25 -05:00
carl bystrom
16d9baba55 Horde: Cache externally resolved IP
[CL 29933128 by carl bystrom in ue5-main branch]
2023-11-27 09:19:48 -05:00
paul chipchase
1ecf629377 [UVT] Further reduce the size of the tool
#rb PJ.Kack
#rnx

- Minimal increase in compile time (+1.5s for full rebuild) but a significant reduction in exe/pdb size.

[CL 29929818 by paul chipchase in ue5-main branch]
2023-11-27 02:25:44 -05:00
ben marsh
286f25e0fd UnrealVS: Fix an exception when editing command line arguments for C# projects without a Properties folder.
[CL 29928522 by ben marsh in ue5-main branch]
2023-11-26 18:31:21 -05:00
ben marsh
8c848d9395 Horde: Downgrade warning to information.
#jira

[CL 29926440 by ben marsh in ue5-main branch]
2023-11-25 16:41:56 -05:00
marc audy
ecd9a5e7aa Fix up HordeStorageArtifactCache in light of CL# 29926074
[CODEREVIEW] Ben.Marsh
#rnx

[CL 29926349 by marc audy in ue5-main branch]
2023-11-25 15:43:26 -05:00
ben marsh
c390c49f99 Horde: Remove unused functionality for tracking modified nodes.
#jira

[CL 29926082 by ben marsh in ue5-main branch]
2023-11-25 08:40:25 -05:00
ben marsh
8b8ce422bc Horde: Fix static analysis warning.
#jira

[CL 29924884 by ben marsh in ue5-main branch]
2023-11-24 19:12:07 -05:00
ben woodhouse
b365599507 PerfReportTool 4.221.0 : Add support for metadata queries and metadata variables (ie {$meta.NAME} ) in derived metadata mappings. This makes these declarations more powerful and reduces duplication
Metadata queries can also be blank if necessary if we want the values to always be set.
SourceName/DestName are still supported for back-compat if no query is provided
Note: There is no globalvariable support here. Solving this is not worth the complexity, performance hit and potential ordering and correctness implications
#tests Passes Test cases with identical results
[FYI] tyler.staples

[CL 29922595 by ben woodhouse in ue5-main branch]
2023-11-24 13:49:43 -05:00
carl bystrom
69d4bc0931 Horde: Add external IP resolver for use by compute resource allocation
[CL 29922137 by carl bystrom in ue5-main branch]
2023-11-24 13:03:21 -05:00
ben marsh
6953da12d9 Fix static analyzer warnings.
#jira

[CL 29921893 by ben marsh in ue5-main branch]
2023-11-24 12:43:14 -05:00
ben marsh
de0ad7e1c0 Horde: Missing preprocessor settings for building RemoteWorkerCpp through standalone project.
#jira

[CL 29921646 by ben marsh in ue5-main branch]
2023-11-24 12:26:09 -05:00
ben marsh
c3cbfd31dd Horde: Change blobs to serialize GUIDs in UE-style (4 x 32-bit LE values) rather than Windows/NET-style (1 x 32-bit LE, 2 x 16-bit LE, 8 x 8-bit values), to ease interop with the engine.
In order to prevent invalidating existing data, strings for GUIDs for all existing blob types have been updated to deserialize to the same value in UE format.

[CL 29921591 by ben marsh in ue5-main branch]
2023-11-24 12:24:42 -05:00
ben marsh
0fd23ae2ee Horde: Add missing files to the mock-UE library.
#jira

[CL 29921451 by ben marsh in ue5-main branch]
2023-11-24 12:15:27 -05:00
ben marsh
62a32b6cd4 Horde: Static analyzer fix.
[CL 29921437 by ben marsh in ue5-main branch]
2023-11-24 12:15:06 -05:00
joakim lindqvist
2f67e580ad Unreal Cloud DDC - Fixed threading issues with the metrics service calculations and improved behavior when no blobs were found (making it clearer that data is default value and not valid).
[CL 29921400 by joakim lindqvist in ue5-main branch]
2023-11-24 12:12:04 -05:00
ben marsh
c4fa676cdc Fix static analysis warnings on newer NET builds.
[CL 29920306 by ben marsh in ue5-main branch]
2023-11-24 10:48:26 -05:00
ben marsh
a833c98218 Horde: Update remote worker sample to match changes to UE Horde module.
#jira

[CL 29919504 by ben marsh in ue5-main branch]
2023-11-24 09:53:52 -05:00
ben marsh
f1e588128b Horde: Move ComputePlatform.h out of public API.
[CL 29919237 by ben marsh in ue5-main branch]
2023-11-24 09:24:22 -05:00
carl bystrom
7cf12af392 Horde: Add source IP filtering in nftables used by agent relay
And ensure only Horde related nftables rules are cleared.

[CL 29918454 by carl bystrom in ue5-main branch]
2023-11-24 08:02:14 -05:00