Skip to content

Auto complete hangs with remote taskfiles #1406

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

Open
wburningham opened this issue Nov 21, 2023 · 1 comment
Open

Auto complete hangs with remote taskfiles #1406

wburningham opened this issue Nov 21, 2023 · 1 comment
Labels
area: remote Changes related to remote taskfiles.

Comments

@wburningham
Copy link

When including a remote taskfile the autocomplete hangs.

I can't publish my taskfile because of company policy, but my setup is including a single remote ~650 line taskfile with 5 tasks that takes 1.2s to download (timing wget).

Steps to reproduce:

  • Create a remote and local taskfile

  • Enable the remote taskfile experiment and include the remote taskfile

  • Setup autocompletion per the docs

  • Attempt to type task <foo prefix> and notice that it hangs

  • Task version: v3.30.1

  • Operating system: macOS 14.1.1

  • Experiments enabled: TASK_X_REMOTE_TASKFILES: 1

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Nov 21, 2023
@pd93 pd93 added type: performance area: remote Changes related to remote taskfiles. and removed state: needs triage Waiting to be triaged by a maintainer. labels Jan 18, 2024
@vmaerten
Copy link
Member

Hello !
With the latest refactor, we optimized the way remote files are fetched (#1713) so it should be better.
At work, I set TASK_OFFLINE so this way I always use the cached copy and the autocomplete is instant. If I need to download a fresh version, I use task --offline=false --download

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.
Projects
None yet
Development

No branches or pull requests

4 participants