In my own case, it was a extreme edge case of NEXT_SERVER_ACTIONS_ENCRYPTION_KEY causing the module to be omitted from the build.
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY
A simple regeneration of the the key with openssl rand -base64 32 resolved the issue.
openssl rand -base64 32