Skip to content

v3.48.0 now expects a task when vendoring taskfiles #2694

@ryanpodonnell1

Description

@ryanpodonnell1

Description

As part of our CI job we vendor remote taskfiles ahead of time and download them. Task now attempts to run a non existent (default) task

ls | grep -E "Taskfile.*.yaml" | xargs task --download -y -t

task -t .taskfiles/helm.yaml 
The task you are attempting to run depends on the remote Taskfile at "<redacted>".
--- Make sure you trust the source of this Taskfile before continuing ---
Continue? [y/N]: y
task: Available tasks for this project:
<tasks>
task: Task "default" does not exist

previously this worked fine on 3.42.1

user ➜  ./bin/task --version
Task version: v3.42.1 (h1:HOaFbZGLOrAy2V/dLsX2rGJZVG2Qx6268KUIAIXdNE4=)
user ➜ $ rm -rf .task/remote/ && ls  | grep -E "Taskfile.*.yaml" | xargs ./bin/task --download -y -t
The task you are attempting to run depends on the remote Taskfile at "<redacted>".
--- 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 "<redacted>".
--- Make sure you trust the source of this Taskfile before continuing ---
Continue? [assuming yes]

Version

3.48.0

Operating system

Linux

Experiments Enabled

Remote Taskfiles

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: remoteChanges related to remote taskfiles.state: awaiting responseWaiting for issue author to respond.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions