Perforce stream view change normally will affect changes visible on such stream. Horde seems not able to get correct changes after a stream’s view has updated, even the latest change is incorrect. For instance, if before a stream view change the latest change on that stream is 123 but becomes 133 afterwards, jobs started on Horde with “Latest Change” will still be 123.
Restarting Horde server seems can fix the issue.
Steps to Reproduce
1. Update the Perforce stream view of a project configured on Horde build
e.g. changing view from
import+ foo //foo/…@123
to
import+ foo //foo/…@456
2. Wait for new changes submitted on Perforce inside that stream view
3. Trigger a new build using “Latest Change”
4. Notice that the newly triggered job changelist is still up to 123 (before stream view update)
5. Wait a couple hours more and notice that jobs triggered by the scheduler are also up to old changelist numbers
After restarting Horde server the changes become correct.
Hi there,
I was able to reproduce this error only when the imported path CL was higher than that of the project stream’s latest commit.
Workarounds:
Restarting Horde OR creating a new blank/dummy commit on the project stream so that it gets a higher CL number that allows workspaces to pull the latest stream view change in.
I have created a bug ticket that should be available at this URL once the bug has become public: Unreal Engine Issues and Bug Tracker (UE\-357271)
Please let me know if there is any further assistance I can provide, or if the workaround does not work for you.
Kind Regards
Keegan Gibson
Hi there,
The bug tracking link is now live. And it has already been reviewed by the Epic/Horde team, which has provided a possible cause of the issue, and a possible fix (Untested); there may be enough information there for you to create and test a patch if critical.
The code referenced in the ticket is located in UpdateClusterCommitsAsync in PerforceServiceCache.cs:450
I’ll close out this support request for now, but feel free to open a new support request if we can be of further assistance.
Kind Regards
Keegan GIbson