Skip to content

Use unique ssh-agent socket path#105

Open
AgentGoose32 wants to merge 1 commit intodeployphp:masterfrom
AgentGoose32:polar-22-unique-ssh-agent-socket
Open

Use unique ssh-agent socket path#105
AgentGoose32 wants to merge 1 commit intodeployphp:masterfrom
AgentGoose32:polar-22-unique-ssh-agent-socket

Conversation

@AgentGoose32
Copy link
Copy Markdown

Summary

  • uses a per-run ssh-agent socket path under RUNNER_TEMP instead of the fixed /tmp/ssh-auth.sock
  • includes the current process id in the socket filename to avoid collisions on self-hosted runners
  • rebuilds the bundled action output

This prevents repeated or concurrent action runs on the same runner from failing with unix_listener: cannot bind to path /tmp/ssh-auth.sock: Address already in use.

Validation

  • npm run typecheck
  • npm run build
  • git diff --check

Fixes #22

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.

Error: Command failed with exit code 1: ssh-agent

1 participant