Commit Graph

684 Commits

Author SHA1 Message Date
Tim Smith
8480a2d1a1 CoreNet.h will now be automatically included when needed.
#rb self
#jira UE-160243
#preflight 62fcee9787319bacfb0bc705

[CL 21424404 by Tim Smith in ue5-main branch]
2022-08-17 09:50:12 -04:00
Ben Marsh
dc2c7eb1d1 Fix missing documentation comment.
#preflight none

[CL 21424171 by Ben Marsh in ue5-main branch]
2022-08-17 09:29:32 -04:00
Ben Marsh
72c3b099a8 Horde: Add a command to synthesize a Git repo from data stored in a repository snapshot.
#preflight none

[CL 21417977 by Ben Marsh in ue5-main branch]
2022-08-16 20:13:16 -04:00
Ben Marsh
fec7e64ea7 Horde: Replication performance improvements.
* Rewritten BuzHash inner loop as unsafe code to avoid bounds checks.
* Multiple paths can now be synced in a single command.
* Added stats for P4 output buffer being stalled, and throughput of replication service.
* Fixed OOB array access when serializing files with SHA1 hashes.
#preflight 62fc058ccf7afa018bb64459

[CL 21414959 by Ben Marsh in ue5-main branch]
2022-08-16 17:26:13 -04:00
Ryan Durand
a5c717fe00 Add "host is down" I/O exception to systemic errors.
#rnx
#jira UE-160064
#rb ryan.hummer
#preflight

[CL 21404052 by Ryan Durand in ue5-main branch]
2022-08-16 09:24:33 -04:00
bryan sefcik
55ded5e984 Fixed an issue where the generated cpp files weren't including all the needed headers. It relied on the original header that generated the cpp to include all the headers which is a problem because the header could forward declare the types.
#JIRA
#preflight 62fa903bae3edb54c9a08b6e

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21392760 via CL 21396083 via CL 21396090
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21399837 by bryan sefcik in ue5-main branch]
2022-08-15 21:49:10 -04:00
henrik karlsson
37301aef2c [UBT/EpicGames.Build]
* Removed debug code accidentally submitted (submitted from active change than shelf and ended up submitting these lines)

#rb Devin.Doucette
#preflight trivial

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21362243 via CL 21387021 via CL 21389408 via CL 21389788
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21392503 by henrik karlsson in ue5-main branch]
2022-08-15 15:48:11 -04:00
Ben Marsh
0f2b2ddc31 Horde: Missing file.
#preflight none

[CL 21380880 by Ben Marsh in ue5-main branch]
2022-08-13 19:32:42 -04:00
Ben Marsh
a95ed5f2e6 Horde: Missing files.
#preflight none

[CL 21380783 by Ben Marsh in ue5-main branch]
2022-08-13 18:52:15 -04:00
Ben Marsh
aed254296a Horde: Support for generating Git-compatible SHA1 hashes for file and directory objects in bundles.
#preflight none

[CL 21380765 by Ben Marsh in ue5-main branch]
2022-08-13 18:39:18 -04:00
henrik karlsson
9b603cee85 [UnrealBuildTool]
* Added support for ".ubtignore" files that can be put in a folder to make ubt ignore the folder and its subfolder
* Fixed bug where project's plugin and source folder were visited multiple times (look in FileMetadataPreftch.cs)
* Changed so Lazy<File/DirectoryItem> is resolved directly on windows platform and only do the extra refresh on mac/linux (there seems to be some bugs on those platforms and we don't want to pay extra cost on windows)
* Added runtimeconfig.template.json and changed UnrealBuildTool to use server gc and a few more settings that improve performance
* Added so all file traversing paths is aware of .uplugin
* Added debug code to be able to write out which files that have been touched during UBT execution. This can serve as a way to identify places to add .ubtignore files

#rb Joe.Kirchoff
#preflight 62f685f8cf7afa018ba0a4a5

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21360427 via CL 21371108 via CL 21371121 via CL 21371139
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21371637 by henrik karlsson in ue5-main branch]
2022-08-13 02:43:13 -04:00
Ben Marsh
e76aa468b5 Horde: Attempts to reduce memory usage for bundle stores.
* Add configurable size for bundle cache, and disable it by default.
* Sum up sizes of directories to sync without duplicating paths of every file.
* Use ByteArrayBuilder to create segments for bundles rather than concatenating to one large array.

#preflight none

[CL 21357732 by Ben Marsh in ue5-main branch]
2022-08-12 12:57:28 -04:00
Ben Marsh
60a8dc0b5e Horde: Fix OOM exceptions on server due to unbounded cache growth. Allocate a custom cache for building bundles.
#preflight none

[CL 21349863 by Ben Marsh in ue5-main branch]
2022-08-11 21:48:38 -04:00
Martin Sevigny
0055c8c0ac Initialize UseShellExecute to the default of the .NetFramework to avoid issues.
The default used to be true in the Framework but was changed to false since Core.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.useshellexecute?view=net-6.0

Reported on UDN case 453862

#rb Joe.kirchoff
#fyi david.harvey
#preflight 62f3f8f7e60c9215b986435e

[CL 21322975 by Martin Sevigny in ue5-main branch]
2022-08-10 14:37:48 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Joakim Lindqvist
3ba91dbc59 OIdcToken - Option to control if claims are loaded from user profile, disabled by default as this option does not work for Azure AD and we do not need it for the epic deployments
#preflight none

[CL 21316084 by Joakim Lindqvist in ue5-main branch]
2022-08-10 06:21:36 -04:00
Ben Marsh
689fbf269b Horde: Perforce replication improvements.
* Sync state is periodically flushed, and stored with an optimized list of paths to conform a workspace back to the same state.
* Writes are automatically queued to run asynchrnously once a bundle of data is ready to be stored, rather than clients having to trigger a write.
* BundleStore supports different contexts for different reads, to prevent hashed blobs being merged together when reading from different sources.

#rb none
#preflight none

[CL 21293876 by Ben Marsh in ue5-main branch]
2022-08-09 14:07:21 -04:00
Tim Smith
d488521f18 Fixed output issues with the Json exporter in C# UHT.
#rb self
#rnx
#preflight 62f270f93b773d041628a1e4

[CL 21288218 by Tim Smith in ue5-main branch]
2022-08-09 10:53:13 -04:00
carl bystrom
86d53262a2 Horde: Use a connection pool for all Redis commands
Only expose ConnectionPool from RedisService to avoid using Database or ConnectionMultiplexer directly.
#preflight 62f2661d3b773d041627aad0

[CL 21286130 by carl bystrom in ue5-main branch]
2022-08-09 09:55:46 -04:00
Tim Smith
606751b264 Improved support for contextual logging in UHT
#rb Ben.Marsh
#preflight 62f2497ae60c9215b9302f87

[CL 21283273 by Tim Smith in ue5-main branch]
2022-08-09 08:04:26 -04:00
Tim Smith
85b6fe8042 Fixed comment to read TEnumAsByte instead of TByteAsEnum
#rb self
#rnx
#preflight 62f16916b2073af17a47ec87

[CL 21274785 by Tim Smith in ue5-main branch]
2022-08-08 16:20:35 -04:00
Joe Kirchoff
3f1de0e66c Update bundled dotnet to 6.0.302
#rb Ryan.Hummer
#rnx
#jira UE-159980
#preflight 62f152ba0264595302c59855

[CL 21273202 by Joe Kirchoff in ue5-main branch]
2022-08-08 15:06:11 -04:00
Tim Smith
662401650d Removed the use of "this." where possible in EpicGames.UHT.
#rb trivial
#preflight 62f138bb185da2495f7c4daa

[CL 21270531 by Tim Smith in ue5-main branch]
2022-08-08 12:41:15 -04:00
Ben Marsh
f297439e86 BuildGraph: Missing project file for tests.
#preflight none

[CL 21250960 by Ben Marsh in ue5-main branch]
2022-08-01 18:06:52 -04:00
Ben Marsh
5689db1605 Horde: Make BundleStore writes thread safe, improving replication performance.
#preflight none

[CL 21235612 by Ben Marsh in ue5-main branch]
2022-07-25 08:11:39 -04:00