This behavior is a known issue on the Google Cloud Run functions' side, especially, if you are using the TEST FUNCTION feature. This prevents the function from being tested or deployed – even if triggered by Pub/Sub.
Suggested workaround is to test the function locally via functions framework or functions emulator (Preview).
If the issue persists, you can upvote/comment in this public issue tracker to monitor updates directly from the engineering team or keep an eye on the release notes. Note that there’s no specific timeline when the fix will be available.