appleboy / appleboy/scp-action

command_timeout doesn't work?

Open
#166 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

Hi! Thanks for your action.
We are using it for about two years. From time to time we face an unexpected behaviour: scp action lasts more than hour to copy files when it's normally takes for about 2-3 minutes to do it. Size of our files is stable, it's about 350-400 Mb. This problem is always solved by rerun of the github workflow.
But the question is about command_timeout parameter. If it doesn't interrupt action after specified time, what it's intended for?
Screenshot 2024-02-07 at 14 06 00

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the scp action's handling of the command_timeout parameter and reproducing the reported behavior in a GitHub workflow with a 350–400 MB copy. Compare a normal run with the runs that exceed an hour, then verify that the configured timeout interrupts the action as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.