Hi,
We were looking to follow this guide and turn on workfile version syncing
But it looks like it only works if you only make one publish at a time on a shot. If you publish multiple versions in parallel, it seems to take the version of the latest publish and applies it to the first one about to publish.
Here, versions 12, and 13 were dispatched separately, 12 finished publishing, then 13 was submitted. This worked ok, and version 12 workfile resulted in version 12 publish, and 13 to 13.
However, 14, 15, and 16, were dispatched one straight after the other, and as 14 goes to publish, it publishes as 16 instead. 15 and 16 then fail to publish because their version is already below or at the same as 16.
ayon_core.pipeline.publish.publish_plugins.PublishValidationError: Version ‘16’ from instance ‘renderCompositingMain’ that you are trying to publish is lower or equal to an existing version in the database. Version in database: ‘16’.Please version up your workfile to a higher version number than: ‘16’.
I think this is a bug? It doesn’t look like it does a live lookup of the workfile per job, each job has its workfile information in the deadline job parameters
But it seems like as soon as 16 goes on the farm it must be setting a version somewhere that the publish jobs lookup outside of the submission parameters.
Can this be updated to pull the version from somewhere more reliable for multiple dispatches, this is often needed for people to test a few changing values, without having to wait on each one to complete in turn.


