Commit Graph

19967 Commits

Author SHA1 Message Date
paul chipchase
68689e57c5 Add an option to generate a P4CONFIG to UGS when opening a project.
#rb Ben.Marsh, Randy.Jones
#jira UE-86097
#rnx

*** UGS
- Add a checkbox "GenerateP4ConfigCheckbox" to the OpenProjectWindow, which is visible if the host environment has P4CONFIG set. By default the box will be checked.
- Opening a project with this new option checked will result in UGS attempting to create a p4config file at the root of the project being opened, unless the user already has a file there in which case UGS will do nothing.
- When creating the file the three values we are interested in setting are P4PORT, P4USER and P4CLIENT. With these values we are able to make reasonable assumptions in our tools when it comes to using perforce.
- If the user has enabled P4CONFIG then it is assumed that they know what they are doing with the file. We do not validate that the existing file has sensible settings or offer to replace it.

[CL 27266575 by paul chipchase in ue5-main branch]
2023-08-22 07:31:08 -04:00
Ben Marsh
b66b39572b Horde: Send keepalive messages to the remote machine every 5s. This should allow us to time out the remote more aggressively.
[CL 27256004 by Ben Marsh in ue5-main branch]
2023-08-21 18:16:30 -04:00
Ben Marsh
a84987ddad Horde: Only flush packets for remote execution sockets when writing the last chunk of data.
[CL 27255943 by Ben Marsh in ue5-main branch]
2023-08-21 18:13:33 -04:00
arciel rekman
cb5b870cfc UBT: Add AVX arch support to Linux toolchains.
#rb Brandon.Schaefer, Joe.Kirchoff
[REVIEW] [at]Brandon.Schaefer, [at]Joe.Kirchoff
#rnx

[CL 27251505 by arciel rekman in ue5-main branch]
2023-08-21 15:58:31 -04:00
Ben Marsh
3e6a4e1d60 Horde: Allow specifying an explicit pool to use for compute jobs, rather than writing a condition. This is easier to specify on the client side and easier to optimize on the server side.
[CL 27250153 by Ben Marsh in ue5-main branch]
2023-08-21 15:30:22 -04:00
lorry li
bef5d6a181 Remove unnecessary place holder files for webtests server.
[REVIEW] [at]stephen.ma [at]chuck.zhu
#rb [at]stephen.ma [at]chuck.zhu

[CL 27249333 by lorry li in ue5-main branch]
2023-08-21 15:06:06 -04:00
Ben Marsh
4d8cd83a73 Horde: Automatically insert the CLIENT/REMOTE prefix to log messages output by the local compute client, and have the agent channel output use the same logger.
[CL 27248101 by Ben Marsh in ue5-main branch]
2023-08-21 14:38:59 -04:00
joe kirchoff
94452e2f5d UnrealBuildTool: Update BuildSettingVersion for temp generated projects
#rnx

[CL 27247806 by joe kirchoff in ue5-main branch]
2023-08-21 14:31:25 -04:00
robert srinivasiah
3e991908f7 UBT: Generate RulesFileCache for temporary targets created for hybrid projects
When we have hybrid projects, we add temporary target and build files in Intermediate/Source. We need to regenerate the RulesFileCache for that temporary folder.
If we don't, our 'initial' attempt to BuildCookRun a project will fail because we won't discover any target files because of an invalid cache entry.

#jira UE-190114 UE-193398
#rb Kriss.Gossart Jeff.Fisher

[CL 27246945 by robert srinivasiah in ue5-main branch]
2023-08-21 14:09:10 -04:00
Matt Peters
536a85d297 CookedEditor Staging: AdditionalPluginDirectories: Handle paths from the staged RemappedPlugins in DeploymentContext.UnmakeRelativeStagedReference.
#rb Zousar.Shaker
#rnx
#jira UE-193368

[CL 27238763 by Matt Peters in ue5-main branch]
2023-08-21 10:33:48 -04:00
Ben Marsh
65addcd9d9 Horde: Fix null value assigned to parent lease id in compute tasks.
[CL 27237346 by Ben Marsh in ue5-main branch]
2023-08-21 09:33:21 -04:00
matt peters
f6fc4928d4 IoStoreUtilities: Add TargetPlatform module to UnrealPak so that GenerateZenFileSystemManifest and other commands needing TargetPlatform will work.
#rb PJ.Kack
#rnx

[CL 27237093 by matt peters in ue5-main branch]
2023-08-21 09:20:06 -04:00
Ben Marsh
9a09ce3abc Horde: Missing files.
[CL 27237036 by Ben Marsh in ue5-main branch]
2023-08-21 09:14:55 -04:00
carl bystrom
64595f4a1e Horde: Mark ephemeral and expired agents as deleted
But delay actual deletion from database for 7 days for easier debugging.

[CL 27236833 by carl bystrom in ue5-main branch]
2023-08-21 09:05:20 -04:00
Ben Marsh
51a9392b02 Horde: Allow overriding the minimum output level for server-side logging. Increase verbosity of remote execution logging to "trace" verbosity.
[CL 27236773 by Ben Marsh in ue5-main branch]
2023-08-21 09:00:04 -04:00
carl bystrom
8efecb76f6 Horde: Optimize JobQueueStrategy by assuming queue size is zero during maintenance windows
#fyi Bryan.Johnson

[CL 27235081 by carl bystrom in ue5-main branch]
2023-08-21 05:57:05 -04:00
Joakim Lindqvist
c83c4fc3d9 Unreal Cloud DDC - Fixed issue when finalizing refs were we could get a old stale version of a ref when attempting to verify it. This could only happen when you had one version of a ref submitted and then replaced it with a different version - a case we have mostly seen when iterating on oplogs locally.
This fix simply bypasses the caches when attempting to finalize.

[CL 27234350 by Joakim Lindqvist in ue5-main branch]
2023-08-21 04:22:27 -04:00
Joakim Lindqvist
fe4e30db12 OidcToken - Bug fixes
* Create output directory for temp file if its missing
* Corrected logic for tokens that do not expire (they are set to expire at 0 which we didn't treat correctly)
* Make sure to save the new refresh token we get after using a old one, resolves issues for horde.exe that had to prompt users for logins more often then it should need to.

#jira UE-191887

[CL 27234199 by Joakim Lindqvist in ue5-main branch]
2023-08-21 04:02:20 -04:00
yuriy odonnell
0cb9903591 unsync - Automatically refresh access token only when it's close to expiration
- Add FHttpRequest::BearerToken field
- Validate credentials using login endpoint

#jira UE-192913
#rb none

[CL 27233166 by yuriy odonnell in ue5-main branch]
2023-08-20 19:45:21 -04:00
yuriy odonnell
37b1da7fde unsync - Groundwork for user authentication
#jira UE-192913
#rb none

[CL 27227985 by yuriy odonnell in ue5-main branch]
2023-08-18 21:41:29 -04:00
joe kirchoff
96b61db330 UnrealBuildTool: Add support for /PDBSTRIPPED msvc symbols with -StripPrivateSymbols
#jira UE-192420

[CL 27224732 by joe kirchoff in ue5-main branch]
2023-08-18 19:35:13 -04:00
chuck zhu
f7d4f8e505 - add webtests on horde
- add server output and server error logs
- link webtests to dashboard

[REVIEW] [at]stephen.ma [at]lorry.li

[CL 27219875 by chuck zhu in ue5-main branch]
2023-08-18 16:48:57 -04:00
Josh Engebretson
158bf8ccf6 Horde: Add clickable agent id and lease id in log renders
#jira none
#skipci
#rnx

[CL 27218828 by Josh Engebretson in ue5-main branch]
2023-08-18 16:15:57 -04:00
Josh Engebretson
2547ba2505 Horde: Add redirect for lease id to log data
#jira none
#rnx

[CL 27214568 by Josh Engebretson in ue5-main branch]
2023-08-18 14:55:34 -04:00
Ben Marsh
71deff300e Horde: Add a JSON converter for AgentId types.
[CL 27209649 by Ben Marsh in ue5-main branch]
2023-08-18 13:17:51 -04:00