Skip to content

Remote Taskfiles experiment #1317

Closed
8 of 8 issues completed
Closed

Description

@pd93

Warning

All experimental features are subject to breaking changes and/or removal at any time. We strongly recommend that you do not use these features in a production environment. They are intended for testing and feedback only.

Note

You can view the Remote Taskfiles experiment documentation on our website, including instructions on how to enable/disable it.

Context

This experiment attempts to solve the problems originally described by #770.

Currently, Task only supports running Taskfiles located on the local filesystem. This makes it difficult to reuse Taskfiles across various repositories and systems without making copies of a file. It would be useful to have a way to run a Taskfile located on a remote system or run a local Taskfile that includes one on a remote system.

Proposal

This experiment would allow users to run a Taskfiles located elsewhere, such as via HTTP or in a remote Git repository. These remote Taskfiles can either be run directly from the CLI or included by another Taskfile.

We're looking to gather feedback on the current draft, so please feel free to leave your thoughts/comments here.

Decision log / TODOs:

Activity

  1. task-bot commented on Aug 29, 2023

    @task-bot
    Collaborator

    This issue has been marked as an experiment proposal! 🧪 It will now enter a period of consultation during which we encourage the community to provide feedback on the proposed design. Please see the experiment workflow documentation for more information on how we release experiments.

  2. moved this to Proposed in Task Experimentson Aug 29, 2023
  3. moved this from Proposed to Draft in Task Experimentson Sep 14, 2023
  4. task-bot commented on Sep 14, 2023

    @task-bot
    Collaborator

    This experiment has been marked as a draft! ✨ This means that an initial implementation has been added to the latest release of Task! You can find information about this experiment and how to enable it in our experiments documentation. Please see the experiment workflow documentation for more information on how we release experiments.

  5. wburningham commented on Sep 15, 2023

    @wburningham

    If one wants to use remote tasks in CI how does one bypass the prompt when running a task for the first time. Is there a flag or environment variable that can be set to “force yes” to the prompt on whether or not to include the remote task file?

    BTW thanks for a great experiment!

  6. wburningham commented on Sep 15, 2023

    @wburningham

    The documentation mentions the -y flag for tasks that require prompts, but the experimental documentation doesn't mention if that also applies to remote taskfile includes.

  7. pd93 commented on Sep 15, 2023

    @pd93
    MemberAuthor

    @wburningham Thanks for pointing this out. The --yes flag has not currently been set up to automatically accept the remote task prompts. This is definitely something we can consider in the next iteration. I think this is an acceptable change, but if anyone has any security concerns about being able to skip the remote taskfile warning prompts, please add a comment.

  8. oliver-helix commented on Sep 15, 2023

    @oliver-helix

    For Running root remote Taskfiles, consider specifying the remote taskfile via the --taskfile arg?
    task hello --taskfile https://raw.githubusercontent.com/go-task/task/main/Taskfile.yml

  9. 110 remaining items

  10. changed
    Experiment Status
    toon Aug 13, 2026
  11. github-actions commented on Aug 13, 2026

    @github-actions
    Contributor

    This experiment has been marked as stable! 🤘 This means that the implementation is now final and ready to be released. No more changes will be made and the experiment is safe to use in production! You can find information about this experiment and how to enable it in our experiments documentation. Please see the experiment workflow documentation for more information on how we release experiments.

  12. moved this from candidate to stable in Task Experimentson Aug 13, 2026
  13. pd93 commented on Aug 13, 2026

    @pd93
    MemberAuthor

    Just for clarity. This will be included in the next release.

    Soon™

  14. changed
    Experiment Status
    toon Aug 18, 2026
  15. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    This experiment has been released! 🚀 This means that it is no longer an experiment and is available in the latest version of Task. Please see the experiment workflow documentation for more information on how we release experiments.

  16. moved this from stable to released in Task Experimentson Aug 18, 2026
  17. pd93 commented on Aug 18, 2026

    @pd93
    MemberAuthor

    This is now generally available in Task v3.53.1+! Check out our blog post!

  18. unpinned this issue on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: remoteChanges related to remote taskfiles.

    Fields

    Experiment Status

    released

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions