Skip to content

Git remote taskfile timeout includes user prompt time #2668

@vmaerten

Description

@vmaerten

Description

When a local taskfile includes a git remote taskfile that itself includes another file from the same repo, the --timeout (default 10s) can expire during the trust prompt, causing the second read to fail even though the repo is already cloned.

Example

Git clone: 4s
Prompt: user takes 7s to respond "y"
Read include from same repo: fails (4+7 > 10s)

Expected

Timeout should only count network time, not user interaction time.

Workaround

task --timeout 60s

Version

4.48

Operating system

Linux

Experiments Enabled

Remote Taskfiles

Example Taskfile

Metadata

Metadata

Assignees

Labels

area: remoteChanges related to remote taskfiles.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions