task icon indicating copy to clipboard operation
task copied to clipboard

In GitHub Action, using version 3.40.0 of task to execute remote taskfile task reports vertex not found.

Open iarchean opened this issue 2 years ago • 5 comments

  • Task version: 3.40.0
  • Operating system: GitHub Action ubuntu-latest
  • Experiments enabled: REMOTE_TASK_FILE

In GitHub Action, using version 3.40.0 of task to execute remote taskfile task reports vertex not found.

Here are the logs:

Run task --yes cloudrun:deploy SVC="@all" ENV="dev" CANARY="0"
The task you are attempting to run depends on the remote Taskfile at "https://storage.googleapis.com/xxx/cloudrun/Taskfile.yml".
--- Make sure you trust the source of this Taskfile before continuing ---
Continue? [assuming yes]
The task you are attempting to run depends on the remote Taskfile at "https://storage.googleapis.com/xxx/docker/Taskfile.yml".
--- Make sure you trust the source of this Taskfile before continuing ---
source vertex https://storage.googleapis.com/xxx/cloudrun/Taskfile.yml: vertex not found
Continue? [assuming yes]

However, when using version 3.37.1 of the task, there was no error, and it was successfully completed. I haven't tried more versions yet, but I wanted to report this issue first.

iarchean avatar Nov 27 '24 06:11 iarchean

Do you have a reproducible example ? I am using remote taskfiles in github action at work and I have no issue. Therefore I am not able to reproduce.

vmaerten avatar Dec 07 '24 15:12 vmaerten

Hello, fellow error-haver. I have also experienced this issue with remote Taskfiles but found it only happened when I did not specify the full path to the Taskfile. I think this is a sensible assumption to make but, to be fair, the documentation for remote taskfiles only shows support for URIs with a full path

This doesn't work

version: "3"

includes:
  foobar: https://example.com/taskfiles/foobar/

This works

version: "3"

includes:
  foobar: https://example.com/taskfiles/foobar/Taskfile.yaml

ChrisPbb avatar Mar 03 '25 20:03 ChrisPbb

Hi, this is the fix that I submitted before and merged. https://github.com/go-task/task/pull/2007

jeongukjae avatar Mar 04 '25 14:03 jeongukjae

That change has been merged, but not released yet. It will be in the next release, which will hopefully be in the coming days.

pd93 avatar Mar 04 '25 14:03 pd93

@pd93 do you have brief eta for next release?

jeongukjae avatar Mar 04 '25 14:03 jeongukjae