Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wburningham opened this issue Feb 23, 2024 · 2 comments · Fixed by #1520
Closed

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

wburningham opened this issue Feb 23, 2024 · 2 comments · Fixed by #1520
Labels
area: remote Changes related to remote taskfiles. type: bug Something not working as intended.

Comments

@wburningham
Copy link

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

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Feb 23, 2024
@pd93 pd93 added type: bug Something not working as intended. area: remote Changes related to remote taskfiles. and removed state: needs triage Waiting to be triaged by a maintainer. labels Feb 23, 2024
@pd93
Copy link
Member

pd93 commented Feb 23, 2024

Hi @wburningham, this is indeed a regression. I've got a fix on another branch, but I'll make a quick fix for just this issue shortly. Thanks for your continued testing of this functionality!

@wburningham
Copy link
Author

@pd93 thanks for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: remote Changes related to remote taskfiles. type: bug Something not working as intended.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants