Commit Graph

923 Commits

Author SHA1 Message Date
carl bystrom
6bf3b1f95a EpicGames.Perforce.Managed: Add tests for syncing without have-table and cache files
Also add stricter verification of digests after sync
#preflight 637b9365f514e1ded98f4921

[CL 23220725 by carl bystrom in ue5-main branch]
2022-11-21 10:07:07 -05:00
Ben Marsh
c6ac15444f Horde: Fix NamespaceId parameters no longer being validated correctly.
#preflight none
#fyi Joakim.Lindqvist

[CL 23220253 by Ben Marsh in ue5-main branch]
2022-11-21 09:21:32 -05:00
Ben Marsh
8f5942b1bf Horde: Support indexed searches for new log storage format. Persisted data is indexed using ngram tries, tail data is converted to plain text and searched directly.
#preflight none

[CL 23217803 by Ben Marsh in ue5-main branch]
2022-11-20 19:15:21 -05:00
Ben Marsh
08a5142fef Horde: Support for log tailing with new storage backend.
* Once a log is retrieved, server adds an entry with this log id to a sorted set in Redis, scored by expiry time and broadcasts it to any other server instances.
* If a log is being tailed, server keeps the total number of lines in a Redis key and appends chunks of log data to a sorted set for that log scored by index of the first line.
* Chunks are split on fixed boundaries, in order to allow older entries to be purged by score without having to count the number of lines they contain first.
* Agent polls for requests to provide tail data via LogRpcService.UpdateLogTail, which calls LogTailService.WaitForTailNext. WaitForTailNext returns the index of the total line count for this log if it is being tailed (indicating the index of the next line that the agent should send to the server), or blocks until the log is being tailed.
* Once data is flushed to persistent storage, the number of flushed lines is added to LogRpcService._trimQueue and the line data is removed from Redis after LogRpcService.TrimAfter.
* Log node contains a "complete" flag indicating whether it is necessary to check for tail data.

#preflight none

[CL 23215856 by Ben Marsh in ue5-main branch]
2022-11-19 14:15:32 -05:00
Ben Marsh
529b815b6d Horde: Add an option to return log data from the new log storage backend. Does not currently implement search.
#preflight none

[CL 23197938 by Ben Marsh in ue5-main branch]
2022-11-18 12:34:37 -05:00
Ben Marsh
fa1f956051 Horde: Add byte offsets and lengths to log chunks, for compatibility with legacy implementation.
#preflight none

[CL 23195850 by Ben Marsh in ue5-main branch]
2022-11-18 11:22:43 -05:00
Tim Smith
b10cfbfa7b Fixed issue where removed UAT plugins would not have their compile script state file deleted and thus cause future -NoCompile runs to load old plugins.
#rb ryan.hummer
#preflight 63779554815e4b9b754b0afc

[CL 23193965 by Tim Smith in ue5-main branch]
2022-11-18 09:31:16 -05:00
Ben Marsh
a1e8cb2a00 Horde: Abstract the construction of logger instances behind a factory, making it easier to adjust implementation details without having to modify all call sites.
#preflight none

[CL 23186525 by Ben Marsh in ue5-main branch]
2022-11-17 18:06:07 -05:00
Ben Marsh
ee5f6f2402 Horde: Allow any arbitrary base URL for storage. This allows using different endpoints other than the generic user-facing /api/v1/storage/{ns} route.
#preflight none

[CL 23182647 by Ben Marsh in ue5-main branch]
2022-11-17 15:31:01 -05:00
Ben Marsh
3f355c04d5 UAT: Revert changes to PDB generation on ARM64 until CI errors can be fixed.
#preflight none

[CL 23179836 by Ben Marsh in ue5-main branch]
2022-11-17 13:42:19 -05:00
Ben Marsh
c5ea9d7d29 UAT: Add support for Windows on ARM64 through RunUAT.bat.
#preflight none

[CL 23179353 by Ben Marsh in ue5-main branch]
2022-11-17 13:07:35 -05:00
Ben Marsh
39cea381f3 UAT: Disable PDB generation on win-arm64. This is a known issue in NET 6 (https://github.com/dotnet/roslyn/issues/59421).
#preflight none

[CL 23179342 by Ben Marsh in ue5-main branch]
2022-11-17 13:07:09 -05:00
Joakim Lindqvist
9f8a7dfb32 OidcToken - Added error page when there is a problem logging in, polished the look of the success page. Also updated the text in the popup prompt for login to read a bit better.
#preflight none

[CL 23174150 by Joakim Lindqvist in ue5-main branch]
2022-11-17 06:39:30 -05:00
tim smith
955687fe3a Fixed C# UHT to properly generate an error (as per C++ UHT) when TObjectPtr or TLazyObjectPtr is used as the value for a container in a function.
#rb self
#preflight 637542e31d25fe8b93411738

[CL 23164289 by tim smith in ue5-main branch]
2022-11-16 17:41:33 -05:00
tim smith
8dc34c973e Fixed issue where functions would report a conflict with a property when it shouldn't have.
#rb self
#preflight 63753f681d25fe8b93402d0f

[CL 23163718 by tim smith in ue5-main branch]
2022-11-16 17:03:49 -05:00
tim smith
cdf6a9550f Fixed C# UHT to properly generate an error when "const" is used inappropriately in a function or property declaration.
#rb self
#preflight 63753ad58f4cb2e4dc5b9fb3

[CL 23163109 by tim smith in ue5-main branch]
2022-11-16 16:35:26 -05:00
tim smith
0a2f2958b2 Fixed C# UHT to properly generate an error when a function's argument name shadows a property in the class or super classes.
Fixed C++ UHT to no longer check for parameter name shadowing for delegates.

#rb self
#preflight https://horde.devtools.epicgames.com/job/6375290d232e3d12cb4474dc

[CL 23160122 by tim smith in ue5-main branch]
2022-11-16 15:00:59 -05:00
carl bystrom
05388873ef EpicGames.Perforce: Add fixture data mirroring that of depot and streams
#preflight none

[CL 23153479 by carl bystrom in ue5-main branch]
2022-11-16 09:26:40 -05:00
carl bystrom
9a762c6425 EpicGames.Perforce: Run managed tests in parallel
#preflight none

[CL 23153404 by carl bystrom in ue5-main branch]
2022-11-16 09:19:08 -05:00
Helge Mathee
7190300031 UHT: Support for RigVM Lazy arguments
Ran local UHT compat checks

#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63737c08232e3d12cbaf448a

[CL 23151631 by Helge Mathee in ue5-main branch]
2022-11-16 03:45:03 -05:00
tim smith
78a392f9b7 Fixed C# UHT to now allow exponential notion in specifiers and meta data.
#rb self
#preflight 6373afc4b663683828bc9fb9

[CL 23148472 by tim smith in ue5-main branch]
2022-11-15 19:52:48 -05:00
Ben Marsh
aadef9cccd Fix static analyzer warning.
#preflight none

[CL 23145189 by Ben Marsh in ue5-main branch]
2022-11-15 17:53:00 -05:00
Ben Marsh
88e31bfdd4 UGS: Fix the informational version string not being used to configure the P4 connection.
#preflight none

[CL 23144315 by Ben Marsh in ue5-main branch]
2022-11-15 17:24:55 -05:00
Ben Marsh
e425682876 EpicGames.Core: Swallow exception on abandoned child process reads.
#preflight none

[CL 23143931 by Ben Marsh in ue5-main branch]
2022-11-15 17:12:07 -05:00
carl bystrom
b047fe599e EpicGames.Perforce: Add test fixture server with accompanying C# test runner
Includes a simple sync test for ManagedWorkspace as an example.
#preflight 6373ba51953c19d43585d0ee

[CL 23136795 by carl bystrom in ue5-main branch]
2022-11-15 11:14:20 -05:00