The documentation for org-latex-pdf-process says that it can be a list of strings, or a lisp function.
In org-compile-file-commands, I think this line
((pred functionp) process)
should instead be
((pred functionp) (list process))
that seems to make it work for me.
Org mode version 9.7-pre (release_9.6.4-337-geaf274
--