Commit Graph

65 Commits

Author SHA1 Message Date
justin marcus
20a55057e4 Install Bundle Manager Interface
- Allow Synchronous Init to Fail
- Allow requests stats to be reset


[at]Hongyi.Yu [at]Daniel.Lamb



#ROBOMERGE-SOURCE: CL 11311471 via CL 11311508 via CL 11311525
#ROBOMERGE-BOT: (v653-11302973)

[CL 11311533 by justin marcus in Main branch]
2020-02-10 16:13:00 -05:00
thomas ross
601797ab21 Improvements for PersistentStats.
- Added ensures to flag problems where you attempt to start stats on bundles that haven't yet been started.
- Adding ability to pass in an FInstallBundleCombinedContentState to StartPersistentStatTrackingSession on InstallBundleManager as this is a useful thing to react to when starting your session tracking.
- Removing bShouldSaveStatsOnUpdate as this is really a trap that noone should ever do. Instead should just set it to save to disk every tick by setting bShouldSaveDirtyStatsOnTick and DirtyStatSaveToDiskRate to 0.
- Changed LoadFromDisk code so that you can load stats from disk without calling StatsBegin. There was a need for stats to be loaded from disk, but not yet active for Sessions (which now call this code automatically when starting a Session PersistentStats for all of it's RequiredBundles).
#rb none
#tests iOS Client


#ROBOMERGE-SOURCE: CL 11221346 via CL 11221348 via CL 11221355
#ROBOMERGE-BOT: (v644-11213502)

[CL 11241252 by thomas ross in Main branch]
2020-02-04 22:24:15 -05:00
justin marcus
22e29392c5 Install Bundle Manager
- Allow "invalid" (empty, not generated for this build, etc.) bundles to be skipped.


[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 11206172 via CL 11206175 via CL 11206177
#ROBOMERGE-BOT: (v643-11205221)

[CL 11206179 by justin marcus in Main branch]
2020-02-03 10:24:11 -05:00
justin marcus
8abd375815 Install Bundle Source Interface
- Add GetBundleSkipReason() to allow bundle sources to reject bundles early.  This prevents attempting to wait on language chunks that don't match the current language mask.  Currently not tested because I need a new build.


[at]Hongyi.Yu [at]Daniel.Lamb



#ROBOMERGE-SOURCE: CL 11179620 via CL 11181074 via CL 11181324
#ROBOMERGE-BOT: (v640-11091645)

[CL 11181749 by justin marcus in Main branch]
2020-01-30 14:07:22 -05:00
justin marcus
cfcec74362 Add LexFromString for EInstallBundleSourceType.
#ROBOMERGE-SOURCE: CL 11121828 via CL 11121844 via CL 11121850
#ROBOMERGE-BOT: (v640-11091645)

[CL 11121853 by justin marcus in Main branch]
2020-01-27 16:47:32 -05:00
justin marcus
b434d4c28e Make InstallBundleConfig a hierarchical INI.
Fix FConfigCacheIni::GetSectionNames returning names in reverse order.
Make sure build scripts properly respect bundle order.

change 2/2 - everything not internal

[at]Daniel.Lamb [at]Hongyi.Yu




#ROBOMERGE-SOURCE: CL 11047646 via CL 11047649 via CL 11047656
#ROBOMERGE-BOT: (v637-11041722)

[CL 11047666 by justin marcus in Main branch]
2020-01-17 12:25:29 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
thomas ross
7df2c24bf2 Adding system to track persistent install stats between launches of the app. Re-submit of previous CL: 10784102 with fix for Editor build failures and some other improvements.
#tests iOS Client
#rb none


#ROBOMERGE-SOURCE: CL 10805576 via CL 10805577 via CL 10805580 via CL 10805581 via CL 10805582
#ROBOMERGE-BOT: (v610-10636431)

[CL 10805583 by thomas ross in Main branch]
2019-12-18 19:27:49 -05:00
justin marcus
3d602492ee Merging //Fortnite/Release-11.40 to Main (//Fortnite/Main)
Integrate CL 10801881 manually to try to resolve robomerge mess.




#ROBOMERGE-SOURCE: CL 10802431 via CL 10802432
#ROBOMERGE-BOT: (v610-10636431)

[CL 10802435 by justin marcus in Main branch]
2019-12-18 16:03:01 -05:00
bob tellez
f85cfa653f Merging CL#10787106
Back out changelist 10784102. CIS errors

[FYI] Thomas.Ross


#ROBOMERGE-SOURCE: CL 10787133 via CL 10787256
#ROBOMERGE-BOT: (v610-10636431)

[CL 10787261 by bob tellez in Main branch]
2019-12-18 03:27:19 -05:00
thomas ross
eee35d72d7 Adding system to track persistent install stats between launches of the app.
#tests iOS Client
#rb none


#ROBOMERGE-SOURCE: CL 10784102 via CL 10784117 via CL 10787065 via CL 10787096 via CL 10787127
#ROBOMERGE-BOT: (v610-10636431)

[CL 10787156 by thomas ross in Main branch]
2019-12-18 02:34:14 -05:00
justin marcus
abb86f5b4e Install Bundle Manger
- remove EInstallBundleContentState::InitializationError since it can never happen
- Remove FInstallBundleCombinedContentState::State - this has limited value because calling code may want to combine state in different ways
- Add utility functions to FInstallBundleCombinedContentState::GetAllBundlesHaveState and FInstallBundleCombinedContentState::GetAnyBundleHasState


[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10764371 via CL 10764381 via CL 10764388 via CL 10764391 via CL 10764397
#ROBOMERGE-BOT: (v610-10636431)

[CL 10764398 by justin marcus in Main branch]
2019-12-17 11:11:46 -05:00
justin marcus
76d903109a Install Bundle Manager Refactor
- Cleanup Interface
- Fix some failing asserts
- Fix engine sleeping during PSO caching
- Enable New Bundle Manager

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10708901 via CL 10714861 via CL 10714946
#ROBOMERGE-BOT: (v610-10636431)

[CL 10715183 by justin marcus in Main branch]
2019-12-13 14:44:37 -05:00
justin marcus
e230f015a1 Install Bundle Refactor
- Type renames

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10685506 via CL 10685521 via CL 10685532
#ROBOMERGE-BOT: (v610-10636431)

[CL 10685540 by justin marcus in Main branch]
2019-12-12 15:05:38 -05:00
justin marcus
5ae44b2b9e Install bundle manager refactor
- Refactor Progress
- Add logging for bundle versions
- Fix min/max bundle version logging not working when some bundles had no version

[at]Daniel.Lamb [at]Hongyi.Yu [at]Thomas.Ross



#ROBOMERGE-SOURCE: CL 10683000 via CL 10684147 via CL 10684258
#ROBOMERGE-BOT: (v610-10636431)

[CL 10684369 by justin marcus in Main branch]
2019-12-12 14:46:31 -05:00
justin marcus
935cd6a941 Install bundle manager refactor
- Replace HasBuildMetaData() with HasBundleSource().  A source won't exist in the case it falls back to another source so this is a drop in replacement if there is no build metadata.

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10614801 via CL 10614810 via CL 10614814
#ROBOMERGE-BOT: (v608-10590470)

[CL 10614816 by justin marcus in Main branch]
2019-12-09 14:45:45 -05:00
justin marcus
64a4c8cc9c Install bundle manager refactor
- Pause / Resume support
- Cancel support
- Make TArrayView usage const correct

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10612015 via CL 10612030 via CL 10613683
#ROBOMERGE-BOT: (v608-10590470)

[CL 10613781 by justin marcus in Main branch]
2019-12-09 13:52:45 -05:00
justin marcus
33b7a5c83b Install Bundle Manager Refactor
- Add AdditionalRootDirs to bundle source results
[at]Daniel.Lamb [at]Hongyi.Yu


#ROBOMERGE-SOURCE: CL 10484160 via CL 10485388 via CL 10485456 via CL 10486495
#ROBOMERGE-BOT: (v606-10482310)

[CL 10486596 by justin marcus in Main branch]
2019-12-02 14:24:59 -05:00
marc audy
24482662e0 Undo bad merge path resolve
#rb
#rnx


#ROBOMERGE-SOURCE: CL 10465666
#ROBOMERGE-BOT: (v595-10452236)

[CL 10465668 by marc audy in Main branch]
2019-11-27 07:18:33 -05:00
marc audy
ba51ba4fa9 Merge UE4/Main [at] 10460665 to Dev-EngineMerge
#rb
#rnx


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10462432
#ROBOMERGE-BOT: (v595-10452236)

[CL 10462558 by marc audy in Main branch]
2019-11-26 17:57:38 -05:00
justin marcus
c79fce8371 Install Bundle Manger Refactor Snapshot
- Implement content request handling

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10457871 via CL 10458912 via CL 10458923
#ROBOMERGE-BOT: (v595-10452236)

[CL 10458928 by justin marcus in Main branch]
2019-11-26 14:43:31 -05:00
justin marcus
4d113da352 Install Bundle Manger Refactor Snapshot
- Implement background downloading and pausing

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10336991 via CL 10336995 via CL 10336998
#ROBOMERGE-BOT: (v594-10333955)

[CL 10356521 by justin marcus in Main branch]
2019-11-21 15:07:07 -05:00
justin marcus
da80ec9cfb Install Bundle Manger Refactor - Another snapshot for Hongyi.
Move bundle stats into a shared utility.
Update bundle source interface.
Begin implementing content requests.

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10321705 via CL 10321731 via CL 10321739
#ROBOMERGE-BOT: (v593-10286020)

[CL 10321749 by justin marcus in Main branch]
2019-11-20 13:05:34 -05:00
justin marcus
7ebfab7866 Install Bundle Manger Refactor - Content Request Interface - Checking in what I have so far for Hongyi.
[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10310302 via CL 10310374 via CL 10310389
#ROBOMERGE-BOT: (v593-10286020)

[CL 10310404 by justin marcus in Main branch]
2019-11-19 14:02:49 -05:00
justin marcus
3764c69b3a Install Analytics
- Set a session ID which will be unique to a machine + content version.
- Make sure heartbeat analytics fires as soon as bundle manager starts doing work instead or a minute later.
- Make sure heartbeat watchdog stops ticking when there is no work.
- Fix background download watchdog not being set.

[REVIEW] [at]Thomas.Ross [at]Daniel.Lamb


#ROBOMERGE-SOURCE: CL 10102260 via CL 10102271 via CL 10102514 via CL 10102540
#ROBOMERGE-BOT: (v586-10095595)

[CL 10102580 by justin marcus in Main branch]
2019-11-11 15:27:39 -05:00