Skip to content

task --slient --list-all with remote taskfiles stores cache in wrong directory #1514

@wburningham

Description

@wburningham

A simple repro case:

# Taskfile.yml version: "3" includes: scary: https://raw.githubusercontent.com/go-task/task/main/docs/Taskfile.yml 

Pull the latest version of task:

$ go install github.com/go-task/task/v3/cmd/task@latest 

Run the following

❯ task --version Task version: v3.34.2-0.20240222002527-65fdb618aa89 (h1:gWAxMeiLdF183unxVCiUwC8m3K78iQuNR3ivbcnioXw=) ❯ tree . └── Taskfile.yml ❯ task --silent --list-all --yes ❯ tree . ├── Taskfile.yml └── remote ├── 8e8360457464983a90a33addd8d6fc2989d9604125dbe4250e6d979d41e37937.checksum └── 8e8360457464983a90a33addd8d6fc2989d9604125dbe4250e6d979d41e37937.yaml 

I would expect the cache to use .task/remote instead of remote. I think this is a regression, but I'm not sure.

Task version: v3.34.2-0.20240222002527-65fdb618aa89
Operating system: macOS 14.2
Experiments enabled: TASK_X_REMOTE_TASKFILES=1

Metadata

Metadata

Assignees

No one assigned

    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