Commit Graph

20146 Commits

Author SHA1 Message Date
carl bystrom
68389a3677 Horde: Only shut down agent if it's a spot instance
[CL 27520066 by carl bystrom in ue5-main branch]
2023-08-31 09:18:07 -04:00
carl bystrom
691f6efdfe Horde: Check for AWS EC2 interruptions and terminate the agent appropriately
In case of a spot interruption, there's a hard deadline of 2 minutes that must be adhered.

[CL 27519909 by carl bystrom in ue5-main branch]
2023-08-31 09:12:29 -04:00
Ben Marsh
71ee593230 Horde: Fix warning in CI.
[CL 27518903 by Ben Marsh in ue5-main branch]
2023-08-31 08:27:10 -04:00
lorry li
8dfb049f4c Fix the warnings in WebTests project:
- Set http log level to error if the warning logs are expected for specified tests;
- There is a warning about failing to delete file downloaded, because the file is still in use, close the file reader which verifies the file;
- There is a warning about failing to delete file uploaded, because the file is still in use. Now http upload request closes the file reader when complete.

#jira UE-182678
[REVIEW] [at]michael.kirzinger [at]stephen.ma [at]rafa.lecina
#rb [at]rafa.lecina

[CL 27510921 by lorry li in ue5-main branch]
2023-08-30 21:20:37 -04:00
saam barati
7157db4ca9 Don't allocate tuples unnecessarily for calls with multiple arguments
#rb markus.breyer

This patch makes it so calls with multiple arguments don't require a tuple allocation. We just allow functions to have multiple arguments and be called normally. However, when such functions are invoked with a tuple, we'll unbox the tuple into the argument slots.

We also allow functions with single-param-as-tuple to be invoked with multiple arguments. And such functions will box the arguments into a tuple when being called.

A function with N arguments now take up the first N register slots in the frame.

This patch also fills out some more of the bytecode generator to make some tests I wrote work.

[CL 27510491 by saam barati in ue5-main branch]
2023-08-30 20:56:02 -04:00
lorry li
3fc1d2becf Make sure progress callback can be called on http thread;
Make sure HttpManagerRequestAdded and HttpManagerRequestCompleted callback can be called on http thread.

From now on the delegates bind to http manager through SetRequestAddedDelegate and SetRequestCompletedDelegate have to be changed to be thread-safe.

#jira UE-182677
[REVIEW] [at]michael.atchison [at]michael.kirzinger [at]rafa.lecina [at]justin.marcus

[CL 27506980 by lorry li in ue5-main branch]
2023-08-30 18:56:04 -04:00
lorry li
b756c03676 Make http retry system thread safe.
[REVIEW] [at]michael.kirzinger [at]michael.atchison

[CL 27501211 by lorry li in ue5-main branch]
2023-08-30 17:27:56 -04:00
Josh Engebretson
fbb5924b38 Horde: Remove inconsistent color from description
#jira none
#skipci
#rnx

[CL 27493425 by Josh Engebretson in ue5-main branch]
2023-08-30 14:48:02 -04:00
Josh Engebretson
9d46ae19b6 Horde: Add markdown description to new build dialog
#jira none
#skipci
#rnx

[CL 27491172 by Josh Engebretson in ue5-main branch]
2023-08-30 13:56:39 -04:00
ben marsh
2a57036237 IncludeTool: Fix parsing error when reading #error directives.
#jira

[CL 27490320 by ben marsh in ue5-main branch]
2023-08-30 13:33:28 -04:00
Jerome Delattre
c6a844877d Use Project Target to find editor even when -build point to a staged build
When -editordir is specified trim the editor path to be relative
Add support for -target command line argument to Gauntlet

#jira UE-193609
#rnx
#rb Chris.Constantinescu

[CL 27485635 by Jerome Delattre in ue5-main branch]
2023-08-30 11:27:14 -04:00
lorry li
8d3f25ce73 Upgrade pip package in python env to fix the pip outdated warning.
#jira UE-182678
[REVIEW] [at]stephen.ma [at]rafa.lecina
#rb [at]stephen.ma [at]rafa.lecina

[CL 27484161 by lorry li in ue5-main branch]
2023-08-30 10:31:43 -04:00
Ben Marsh
21baafafc4 EpicGames.Core: Add missing comments to ChunkedMemoryWriterBase.
[CL 27481677 by Ben Marsh in ue5-main branch]
2023-08-30 08:32:06 -04:00
carl bystrom
8ecd7a5b08 Horde: Support multiple SQS queues for receiving AWS lifecycle events
[CL 27480643 by carl bystrom in ue5-main branch]
2023-08-30 06:33:04 -04:00
Mikita Hauruk
e8d94b9535 Added C33281403 automated version of Unsigned Files test
#jira UEENGQA-85737
#rb Patrick.Finegan Mikalai.Sukhikh Ryan.Hummer

[CL 27477765 by Mikita Hauruk in ue5-main branch]
2023-08-30 01:40:31 -04:00
Ben Marsh
a5d4e81328 Horde: Fix bundle reader operation when caching is disabled.
[CL 27472449 by Ben Marsh in ue5-main branch]
2023-08-29 20:05:12 -04:00
yuriy odonnell
c9dc86cb37 unsync - Add dedicated login command and make output more machine-friendly
* Make TLS a mandatory required library
* Redirect human-readable log messages of login and query commands to stderr, while only directing machine-readable messages to stdout

#rb none

[CL 27471298 by yuriy odonnell in ue5-main branch]
2023-08-29 19:18:18 -04:00
yiliang siew
c6f6cb6bb2 Allow forcing WITH_VERSE_VM=1 so that when generating Clang compilation databases we get useful ones for clangd to actually work properly.
#rnx
[FYI] Saam.Barati
#rb Josh.Adams

[CL 27466494 by yiliang siew in ue5-main branch]
2023-08-29 17:11:31 -04:00
Ben Marsh
212f4ae67c Horde: Read bundle exports into separate buffers to reduce pressure on LOH.
[CL 27462074 by Ben Marsh in ue5-main branch]
2023-08-29 15:52:10 -04:00
Josh Engebretson
aac5508de8 Horde: Add support for tagging preflights without autosubmit selected (dashboard)
#jira none
#rnx
#skipci

[CL 27461053 by Josh Engebretson in ue5-main branch]
2023-08-29 15:33:04 -04:00
Ben Marsh
4dfe008bc1 Horde: Fix CI warning due to stream not being disposed.
[CL 27457285 by Ben Marsh in ue5-main branch]
2023-08-29 14:21:09 -04:00
Ben Marsh
5a95657ad0 Horde: Store items within bundle headers as elements in an array, rather than reading from flat blocks of memory, allowing us to read into separate blocks of memory and reduce LOH fragmentation.
[CL 27456431 by Ben Marsh in ue5-main branch]
2023-08-29 14:07:15 -04:00
Josh Engebretson
251bbb8356 Horde: Add some logging for preflight desc updating
#jira none
#rnx

[CL 27455878 by Josh Engebretson in ue5-main branch]
2023-08-29 13:57:42 -04:00
Ben Marsh
3baa91c812 Horde: Do not include machines in the agent report which are not online.
[CL 27455416 by Ben Marsh in ue5-main branch]
2023-08-29 13:49:12 -04:00
Josh Engebretson
76fc152a60 Horde: Support tagging user preflights without needing autosubmit set
#jira UE-121393
#rnx

[CL 27454147 by Josh Engebretson in ue5-main branch]
2023-08-29 13:19:36 -04:00