In our CI/CD, we use conduit in the following way to get branches from a commit hash. This is triggered when the commit is merged.
diffusion.commit.searchget commit PHID from commit hash.
Pass that commit PHID to
edge.searchto find related revisions.
differential.diff.searchto find diffs associated with the revision, and get “onto” branches from those.
However, we’re seeing an intermittent problem in step 2 where the “data” list of
commit.revisions comes back empty. Whenever I’ve then called the API manually with the same commit PHID that has come back as empty in the job, it has returned the correct list of revisions.
Are you able to advise on why this could be happening? Might it be a consequence of the
edge.search API being new and experimental?