Skip to content

Avoid CloudTasks SSH setup hangs - #4

Open
lirazsiri wants to merge 1 commit into
masterfrom
fix/cloudtask-copy-id-eof
Open

Avoid CloudTasks SSH setup hangs#4
lirazsiri wants to merge 1 commit into
masterfrom
fix/cloudtask-copy-id-eof

Conversation

@lirazsiri

Copy link
Copy Markdown
Member

Summary

  • pass the temporary authorized key in the remote command instead of streaming it through SSH stdin
  • avoid inherited input descriptors keeping the remote cat process open until the setup timeout
  • preserve shell quoting for the temporary key

Verification

  • Python 2 compilation
  • live copy/remove cycle against the existing v19 converter
  • used successfully by the subsequent Core conversion task

Pass the temporary authorized key in the remote command instead of streaming
it through the SSH process standard input. Multiprocess workers can inherit
the input pipe and prevent EOF, leaving the remote cat process blocked until
the 120-second setup timeout.

This keeps key installation shell-quoted and removes the inherited-descriptor
dependency. Verified with Python 2 compilation and a live copy/remove cycle
against the existing v19 converter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant