Commit Graph

339 Commits

Author SHA1 Message Date
sebastien lussier
e16a51bf54 DDC backends - removed speed class tests in implementations of TryToPrefetch()
#rb danny.couture, devin.doucette


#ROBOMERGE-SOURCE: CL 16900182
#ROBOMERGE-BOT: (v836-16769935)

[CL 16917763 by sebastien lussier in ue5-main branch]
2021-07-21 19:08:29 -04:00
Devin Doucette
bea14d56ce DDC: Changed TRequest to cast to IRequest before invoking its functions
This allows the request type to make its functions on IRequest protected or private, or allows use with a request type that hides its IRequest behind an implicit conversion.

Also disabled operator-> and operator* for the base IRequest because it is preferred to use the functions on TRequest to the IRequest interface.

#rb Matt.Peters
#rnx

[CL 16911217 by Devin Doucette in ue5-main branch]
2021-07-21 12:42:51 -04:00
danny couture
989c3cb117 Fix behavior of CachedDataProbablyExists so it can reach the slow cache to avoid always recompiling stuff that exists in Jupiter but not locally
#rnx
#rb Devin.Doucette, Sebastien.Lussier

[CL 16893978 by danny couture in ue5-main branch]
2021-07-20 05:56:37 -04:00
Zousar Shaker
1571c9f36e Fix linux compile error and bug with my last submits related to function version iteration for build functions.
#rb none

[CL 16889472 by Zousar Shaker in ue5-main branch]
2021-07-19 17:40:45 -04:00
Devin Doucette
ca1582337c DDC: Switched to XXH3 for FPayloadId::FromName
#rb Zousar.Shaker
#rnx

[CL 16889028 by Devin Doucette in ue5-main branch]
2021-07-19 17:05:40 -04:00
Zousar Shaker
3f35355cc1 Add methods for iterating through build functions in the function registry.
#rb devin.doucette

[CL 16888770 by Zousar Shaker in ue5-main branch]
2021-07-19 16:47:17 -04:00
Devin Doucette
0748494fc6 DDC: Exposed the cache key and build status in the build complete callback params
#rb Zousar.Shaker
#rnx
#preflight 60f5c7a78da1560001c68086

[CL 16888763 by Devin Doucette in ue5-main branch]
2021-07-19 16:46:58 -04:00
Zousar Shaker
bd3886b31f Fix bug where queued batch request failure in HttpDerivedDataBackend would cause incorrect DDC output (erroneous cache misses).
Adding basic unit test for HttpDerivedDataBackend.

#rb devin.doucette

[CL 16885295 by Zousar Shaker in ue5-main branch]
2021-07-19 13:09:40 -04:00
Devin Doucette
672da1da55 DDC: Fixed a crash when creating the build context fails
#rb Zousar.Shaker
#rnx

[CL 16883576 by Devin Doucette in ue5-main branch]
2021-07-19 10:51:21 -04:00
Devin Doucette
431dab26ea DDC: Added EPutStatus::Skipped to avoid slow retry when simulating cache misses
#rb Zousar.Shaker
#preflight 60f12443a34bf50001654df1

[CL 16883247 by Devin Doucette in ue5-main branch]
2021-07-19 10:11:49 -04:00
Devin Doucette
090bdb178e DDC: Fixed a missing include in DerivedDataBuildVersion.h
#rb trivial
#rnx

[CL 16883233 by Devin Doucette in ue5-main branch]
2021-07-19 10:10:26 -04:00
Devin Doucette
c9ef86c7d2 DDC: Schedule non-blocking builds using tasks
#rb Zousar.Shaker
#rnx

[CL 16870688 by Devin Doucette in ue5-main branch]
2021-07-16 01:23:29 -04:00
Devin Doucette
f64bc61bb7 DDC: Fixed race conditions in the build job
#rb Zousar.Shaker
#rnx

[CL 16870676 by Devin Doucette in ue5-main branch]
2021-07-16 01:11:20 -04:00
zousar shaker
51fda0ed0b Avoid indexing into a requests output datas array before we have established if we have output, as this can contribute to an out-of-bounds array lookup.
#rb devin.doucette
[FYI] francis.hurteau


#ROBOMERGE-SOURCE: CL 16867872
#ROBOMERGE-BOT: (v836-16769935)

[CL 16867881 by zousar shaker in ue5-main branch]
2021-07-15 17:30:45 -04:00
Devin Doucette
649bf8e820 DDC: Added FOptionalBuildSession
#rb Zousar.Shaker
#rnx

[CL 16864041 by Devin Doucette in ue5-main branch]
2021-07-15 12:56:52 -04:00
Devin Doucette
349df85a37 DDC: Added cpu trace scopes to the build job
#rb Zousar.Shaker
#rnx

[CL 16864034 by Devin Doucette in ue5-main branch]
2021-07-15 12:56:39 -04:00
Devin Doucette
d46da81ac1 DDC: Fixed errors with NO_LOGGING
#rb trivial
#rnx

[CL 16863666 by Devin Doucette in ue5-main branch]
2021-07-15 12:29:04 -04:00
Devin Doucette
a282ee100c DDC: Added FBuildVersionBuilder as a standard way to create build versions
#rb Zousar.Shaker
#rnx

[CL 16855837 by Devin Doucette in ue5-main branch]
2021-07-14 17:35:03 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Devin Doucette
b732c133fe DDC: Exposed the name of the build job to the build function
#rb Zousar.Shaker
#rnx

[CL 16743715 by Devin Doucette in ue5-main branch]
2021-06-22 11:26:45 -04:00
Devin Doucette
b4b1ad3457 DDC: Removed a few temporary strings from the build job logging
#rb trivial
#rnx

[CL 16743192 by Devin Doucette in ue5-main branch]
2021-06-22 10:50:08 -04:00
Devin Doucette
75fdc290a9 DDC: Added -ExportBuilds[=Type1+Type2] to export actions and inputs for builds that miss or skip the cache
#rb Zousar.Shaker
#rnx

[CL 16733522 by Devin Doucette in ue5-main branch]
2021-06-21 16:41:42 -04:00
danny couture
63738f4cb0 Fix DDC prefetch logic error causing useless data loads from disk
- 46GB to 10GB data loads from disk during map load of special project

#rnx
#rb Devin.Doucette

[CL 16704710 by danny couture in ue5-main branch]
2021-06-17 10:49:40 -04:00
Zousar Shaker
cf116088ae Integrating //UE5/Dev-Cooker @ 16678003 to //UE5/Main (Zousar.Shaker-YEG-0943-Quaternary)
Non-DevIteration_ShooterGame

[CL 16678907 by Zousar Shaker in ue5-main branch]
2021-06-15 16:36:57 -04:00
Devin Doucette
42849095b3 DDC: Revert temporary workaround for static analysis issue with Get<T> on 2-tuples
#rb trivial
#rnx

[CL 16678856 by Devin Doucette in ue5-main branch]
2021-06-15 16:34:07 -04:00