Commit Graph

24090 Commits

Author SHA1 Message Date
carl bystrom
6bd271fcf2 Horde: Reduce how long ephemeral and deleted agents are kept in database
Heavy use of auto-scaling can lead to excessive history of ephemeral agents being kept. In the case of AWS, each new instance has a unique agent ID. Many of the queries for agents (and in turn indices) are not optimized for a large collection.

[CL 33319157 by carl bystrom in ue5-main branch]
2024-04-30 01:02:26 -04:00
henrik karlsson
3c9abe4b45 [BuildSettings]
* Added GetBuildUser, GetBuildUserDomain and GetBuildMachine to BuildSettings. These functions will return private information about the build if Target.bEnablePrivateBuildInformation is set to true. If set to false all functions will return empty strings

[CL 33319106 by henrik karlsson in ue5-main branch]
2024-04-30 01:02:04 -04:00
henrik karlsson
9e45c48869 [uba]
* Fixed bug where normalized file which didn't need to be normalized crashed the client

[CL 33314943 by henrik karlsson in ue5-main branch]
2024-04-29 17:15:36 -04:00
kevin macaulayvacher
bdc5b59de7 Fix two issues in ThreadSanitizerEventMatcher:
- We could match on irrelevant log line and then be forced to return a partial TSAN report depite not finding our report end delimiter
- We could potentially move the LogCursor one more line than available in the buffer if we end parsing on a line that matches our stack trace pattern since we would call MoveNext() on potentially a null line. This would result in exceptions being thrown while generating events.

[CL 33313709 by kevin macaulayvacher in ue5-main branch]
2024-04-29 16:47:38 -04:00
henrik karlsson
c48485ad64 [UBT]
* Made CppDependencyCache.ReadDependencyInfo "internal" instead of private to make it possible to shared code for parsing dep files produced by various compilers
* Removed implementation in UBAExecutor.cs and used this instead

[CL 33309801 by henrik karlsson in ue5-main branch]
2024-04-29 15:10:11 -04:00
ben hoffman
e6fe0e6947 Fix warning during project file generation: "Overriding FPSemantics requires a private PCH. Disabling PCH usage for AutoRTFMTests"
#rb Brandon.Schaefer
#jira none
#fyi Brandon.Schaefer

#ushell-cherrypick of 33301107 by kristof.morva1

[CL 33309021 by ben hoffman in ue5-main branch]
2024-04-29 14:43:28 -04:00
russell johnston
b6235b6f2e Task cancellation in VerseVM
`(task:)Cancel` is now `<suspends>`. If the target task, or one of its descendents, is on the native stack (e.g. because it is, started, or resumed the current task, or because it was resumed from an `Await` or `Cancel` alongside such a task), the canceling task yields.

When an individual canceled task has no more children, its call stack is unwound. Rather than change the calling convention for `<suspends>` functions, unwinding control flow edges are encoded as a table in `VProcedure`. Unwinding finds the innermost `defer` block or task boundary by walking the stack, and `defer` blocks entered this way end with a new `ResumeUnwind` instruction.

Because cancellation interacts with the task parent/child relation, this change includes `branch` as a simple way to write tests. The remaining structured concurrency constructs will come in a future change.

Native `<suspends>` functions now return a new `FVerseResult` object rather than a bare `ECoroutineResult`. Today, this simplifies the mechanism for transmitting the return value. It was also originally intended as a way for native functions to initiate cancellation; this turned out to be unnecessary in the current implementation, but enables a future `CancelIfRequested` API.

#rb saam.barati, Tim.Smith
#okforversepublic

[CL 33307997 by russell johnston in ue5-main branch]
2024-04-29 14:18:33 -04:00
josh engebretson
9920ea25d7 Horde: Remove need for separate job graph data
#rnx

[CL 33307380 by josh engebretson in ue5-main branch]
2024-04-29 13:58:41 -04:00
henrik karlsson
5e9beba633 [UBA]
* Fixed so .d files (clang dep files) are normalized in cache

[CL 33306644 by henrik karlsson in ue5-main branch]
2024-04-29 13:39:21 -04:00
jeanluc corenthin
a759e3f2c7 Remove Cloth from the Datasmith SDK sample
#jira UE-213502
#rb jeanluc.corenthin
#rnx

[CL 33301719 by jeanluc corenthin in ue5-main branch]
2024-04-29 11:21:04 -04:00
jerome delattre
753351ad01 [Gauntlet] Detect TVOS build
#jira UE-212917
#rnx

#rb sebastian.lewicki

[CL 33300653 by jerome delattre in ue5-main branch]
2024-04-29 10:46:26 -04:00
ben marsh
f748186435 Horde: Disable file modified errors in job executor.
[CL 33299290 by ben marsh in ue5-main branch]
2024-04-29 09:54:57 -04:00
ben marsh
9f0f802e08 Horde: Remove legacy job methods from horde_rpc interface.
[CL 33298904 by ben marsh in ue5-main branch]
2024-04-29 09:31:43 -04:00
balazs toereki
171856a3c9 [Interchange] Animation Interface optimisation.
#jira UE-210171
#rnx
#rb Alexis.Matte

[CL 33298744 by balazs toereki in ue5-main branch]
2024-04-29 09:21:38 -04:00
ben marsh
cb23ae948e Horde: Remove support for legacy artifact uploads.
[CL 33298598 by ben marsh in ue5-main branch]
2024-04-29 09:12:18 -04:00
ben marsh
a38e2cde37 Horde: Fix references to appsettings.json in docs.
#rnx

[CL 33297960 by ben marsh in ue5-main branch]
2024-04-29 08:33:40 -04:00
joakim lindqvist
af2dd352e0 Unreal Cloud DDC - Fixed issue were the multinamespace delete from s3 would fail to delete blobs if multiple namespaces used the same storage pool.
[CL 33297741 by joakim lindqvist in ue5-main branch]
2024-04-29 08:17:44 -04:00
joakim lindqvist
81c0caf920 OidcToken - Fixed static code analysis warning about not passing cancellation token
[CL 33294916 by joakim lindqvist in ue5-main branch]
2024-04-29 03:16:14 -04:00
joakim lindqvist
b98915e643 Unreal Cloud DDC - Attempt to fix intermittently failing test, the datetime format of the files line up but they likely differ on exact ns which doesn't really matter - so just comparing the formatted versions of the timestamps.
[CL 33294897 by joakim lindqvist in ue5-main branch]
2024-04-29 03:15:12 -04:00
joakim lindqvist
fc0de60d6c OidcToken - Added ability to provide some context to the error page which we will use to explain how to apply for access and get support.
Improved error message when we are not able to find wslview (spawning a browser in the windows session when using linux via WSL), also fixed slow startup in wsl when having a cwd that included a lot of files (due to filesystemwatcher being applied by default for all files called appsettings.json)
Lastly we will abort the task that is waiting for the browser invoke when the timeout occurs which should help resolve UE-211237

#jira UE-211237

[CL 33294842 by joakim lindqvist in ue5-main branch]
2024-04-29 02:54:05 -04:00
henrik karlsson
6d319bf5b2 [UBA]
* Minor fixes needed to be able to cache linux builds (nopch)

[CL 33294536 by henrik karlsson in ue5-main branch]
2024-04-29 01:40:34 -04:00
buildmachine
0488ac431f Horde: Updating schema documentation
#rnx

[CL 33294429 by buildmachine in ue5-main branch]
2024-04-29 01:05:12 -04:00
ben marsh
41b23b3ac1 Horde: Fix telemetry not being flushed from non-worker runmodes.
#rnx

[CL 33293545 by ben marsh in ue5-main branch]
2024-04-28 19:56:25 -04:00
ben marsh
5592353deb Horde: Additional logging for telemetry writing.
#rnx

[CL 33293206 by ben marsh in ue5-main branch]
2024-04-28 18:51:26 -04:00
ben marsh
e69b166ec8 Horde: Add missing agent id to telemetry events.
#rnx

[CL 33292957 by ben marsh in ue5-main branch]
2024-04-28 17:50:55 -04:00