Commit Graph

332 Commits

Author SHA1 Message Date
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
Devin Doucette
d131a233a1 DDC: Extended IBuildJob and IBuildScheduler to give the scheduler more control and more data
#rb Zousar.Shaker
#rnx

[CL 16678847 by Devin Doucette in ue5-main branch]
2021-06-15 16:33:05 -04:00
Devin Doucette
3627cfff79 DDC: Fixed the build job to create and destroy the build context only when necessary, and always reset the action and inputs
#rb Matt.Peters
#rnx

[CL 16669448 by Devin Doucette in ue5-main branch]
2021-06-15 00:20:07 -04:00
Devin Doucette
b0c757dd31 DDC: Switched to operator[] and AsView() on compact binary types
#rb Zousar.Shaker
#rnx

[CL 16553598 by Devin Doucette in ue5-main branch]
2021-06-03 17:28:08 -04:00
Devin Doucette
7e392be53b DDC: Fixed MeasureCacheRecord to only count payloads with data
#rb trivial
#rnx

[CL 16553211 by Devin Doucette in ue5-main branch]
2021-06-03 17:06:13 -04:00
Devin Doucette
8e3e3cc389 DDC: Fixed TryToPrefetch to work when there is only one backend
#rb Zousar.Shaker
#rnx

[CL 16549112 by Devin Doucette in ue5-main branch]
2021-06-03 12:57:44 -04:00
Devin Doucette
97be0c7aff DDC: Added CreateCacheBucket to FBuildConfigContext
#rb Zousar.Shaker
#rnx

[CL 16548191 by Devin Doucette in ue5-main branch]
2021-06-03 11:48:59 -04:00
Devin Doucette
eb2cda6fba Added conversions and constructors to/from 12-byte arrays for FCbObjectId and DerivedData::FPayloadId
#rb Zousar.Shaker
#rnx

[CL 16536271 by Devin Doucette in ue5-main branch]
2021-06-02 13:06:45 -04:00