Commit Graph

21477 Commits

Author SHA1 Message Date
ben marsh
c8939cf3af Horde: Fix dispose order for StreamResourceOwner, causing exceptions in server when downloading new agent bundles.
[CL 30157478 by ben marsh in ue5-main branch]
2023-12-06 11:32:36 -05:00
josh engebretson
8132f580c4 Horde: Address hardcoded horde server for env detection
#rnx
#skipci

[CL 30156448 by josh engebretson in ue5-main branch]
2023-12-06 10:58:10 -05:00
ben marsh
c62e4575f9 Horde: Fix static analysis warnings.
[CL 30156051 by ben marsh in ue5-main branch]
2023-12-06 10:42:58 -05:00
jeremie roy
0061482367 LiveLinkHub - Improve boot time by disabling shared DDC and autosdk
Add some cpu scopes
Add optional monolithic mode

#rb jason.walter

[CL 30155621 by jeremie roy in ue5-main branch]
2023-12-06 10:31:59 -05:00
brandon schaefer
3a200d0b65 Move the global GAutoRTFMRuntimeEnabled to only be exposed to functions
Move GAutoRTFMRuntimeEnabled to be an enum with 3 states:
  Disabled
  Enabled
  ForcedDisabled

ForcedDisabled will prevent this from ever being allowed to be turned on

#rb neil.henning
[FYI] Michael.Nicolella

[CL 30155356 by brandon schaefer in ue5-main branch]
2023-12-06 10:21:01 -05:00
carl bystrom
30dfb092fe Horde: Clean up namespaces and import after relay code move
[CL 30154090 by carl bystrom in ue5-main branch]
2023-12-06 09:43:01 -05:00
ben marsh
61025a1d47 Horde: Enable new bundle serialization format by default.
[CL 30154040 by ben marsh in ue5-main branch]
2023-12-06 09:41:27 -05:00
ben marsh
6be12c378e Horde: Improve error handling when exceptions are thrown on forked compute message channels.
* Cancellation token source shared by all channel tasks is cancelled whenever any channel throws an exception.
* Exception callstack is captured at source, logged, then put into a shared location as an atomic, first-writer-wins operation.
* Once all tasks have joined with the main task, the exception is re-thrown with the original callstack.

[FYI] Carl.Bystrom

[CL 30153735 by ben marsh in ue5-main branch]
2023-12-06 09:18:54 -05:00
josh engebretson
519f38ae0f Horde: Support editing agent comments from history and bulk edits
#rnx

[CL 30153438 by josh engebretson in ue5-main branch]
2023-12-06 09:07:29 -05:00
carl bystrom
7ffb25523c UBA: Add encryption parameter for Horde's compute client
[CL 30153206 by carl bystrom in ue5-main branch]
2023-12-06 08:51:21 -05:00
ben marsh
23147acb85 Horde: Use new bundle format for P4 replication.
#jira

[CL 30152759 by ben marsh in ue5-main branch]
2023-12-06 08:02:15 -05:00
joakim lindqvist
654738d1d2 OidcToken - Removed special case handling of chrome and edge as this causes issue when spawned from Visual Studio
#jira UE-201530

[CL 30152396 by joakim lindqvist in ue5-main branch]
2023-12-06 07:33:24 -05:00
carl bystrom
ccf05519ab Horde: Move remaining relay code from agent to server
[CL 30151410 by carl bystrom in ue5-main branch]
2023-12-06 06:29:20 -05:00
johan berg
5fcc0f8a97 Add sponsor mode setting.
Adds sponsor mode setting, and add functionality to print settings.

#rb ionut.matasaru

[CL 30150163 by johan berg in ue5-main branch]
2023-12-06 04:42:49 -05:00
johan berg
7f207485e4 Implement hooks for store service to shut down if there are no active connections.
#rb ionut.matasaru

[CL 30150148 by johan berg in ue5-main branch]
2023-12-06 04:41:52 -05:00
henrik karlsson
c82d4aac7a [Uba]
* Fixed race condition where NetorkClient can be disconnected at the exact same time a full proper message is received by client. If receive code manage to get passed check for m_error when disconnect happens but the disconnect code sets message size to 0 before setting binary reader size we get a situation where Send returns success but size is 0. Outside code might read some data and then use GetLeft() which will now be a wrapped number (negative position) and all kinds of weird things will happen

[CL 30149630 by henrik karlsson in ue5-main branch]
2023-12-06 03:12:17 -05:00
henrik karlsson
a78ea81afe [Uba]
* Fixed bug caused by populatecas changelist causing StoreCas to return true without populating out casKey

[CL 30149211 by henrik karlsson in ue5-main branch]
2023-12-06 01:37:11 -05:00
henrik karlsson
0e05059a5a [Uba]
* Brought back code where parent waits for children's m_hasExited because it can actually happen!! (Need to investigate)

[CL 30149195 by henrik karlsson in ue5-main branch]
2023-12-06 01:36:40 -05:00
henrik karlsson
3ff57acc5b [Uba]
* Changed error message for GetLastError to always be english since rest of text is english

[CL 30149150 by henrik karlsson in ue5-main branch]
2023-12-06 01:35:40 -05:00
henrik karlsson
e9238f52e0 [UBA]
* Fixed uba unit test compile error

[CL 30144731 by henrik karlsson in ue5-main branch]
2023-12-05 20:09:55 -05:00
henrik karlsson
e17a938d11 [Uba]
* Fixed so memory block takes alignment for allocations

[CL 30143636 by henrik karlsson in ue5-main branch]
2023-12-05 19:50:46 -05:00
henrik karlsson
247e634dcc [Uba]
* Don't write output file if process is cancelled

[CL 30141292 by henrik karlsson in ue5-main branch]
2023-12-05 19:10:55 -05:00
henrik karlsson
7f47a136b8 [Uba]
* Added disallowed path support. It is not possible to register paths that are disallowed for serving to clients

[CL 30140725 by henrik karlsson in ue5-main branch]
2023-12-05 19:02:30 -05:00
marc audy
98ad979791 Make macro for unreachable code disabling
Enable C4702 on xbox
Fix every more C4702 warnings

[CL 30136542 by marc audy in ue5-main branch]
2023-12-05 17:13:14 -05:00
henrik karlsson
6c82d63de5 [Uba]
* Added PrepopulateCas to StorageClient. This can be used to use local files as source for cas entries. It doesn't really matter where files are located as long as their cas key matches whatever files the client needs
* Added -populateCas=<dir> to UbaAgent. This can be used to add one or more directories for pre population

[CL 30134257 by henrik karlsson in ue5-main branch]
2023-12-05 16:21:36 -05:00