appleboy / ssh-action

GitHub Actions for executing remote ssh commands.
https://github.com/marketplace/actions/ssh-remote-commands
MIT License
4.69k stars 570 forks source link

Running without stop #319

Closed datpmt closed 4 months ago

datpmt commented 5 months ago

Bug Description: Over the last three weeks, I've encountered consistent timeouts while running GitHub Actions, despite the successful execution of command lines. Upon investigation, it seems that the culprit might be the command:

bundle exec sidekiq -e production -C config/sidekiq.yml -d

Although I can't pinpoint the exact cause, it's likely related to the -d flag, instructing Sidekiq to operate in daemon mode. It's worth noting that this issue has not surfaced previously.

Steps to Reproduce:

  1. Execute the GitHub Actions workflow containing the command bundle exec sidekiq -e production -C config/sidekiq.yml -d.
  2. Observe the workflow execution for timeouts.

Expected Behavior: The GitHub Actions workflow should execute the Sidekiq command successfully without timing out.

Actual Behavior: The workflow consistently times out despite successful execution of the command lines.

Additional Information:

Note: I'm submitting this bug report to seek assistance in resolving the timeout issue encountered with GitHub Actions. Any insights or suggestions would be greatly appreciated.

datpmt commented 4 months ago

I have found the solution.