Skip to content

feat: allow to include tasks from git repositories#7582

Merged
jdx merged 3 commits into
jdx:mainfrom
vmaleze:include-tasks-from-git
Jan 7, 2026
Merged

feat: allow to include tasks from git repositories#7582
jdx merged 3 commits into
jdx:mainfrom
vmaleze:include-tasks-from-git

Conversation

@vmaleze
Copy link
Copy Markdown
Contributor

@vmaleze vmaleze commented Jan 6, 2026

Like it is done for using a git file in a single task, this PR allows to include a whole git directory containing tasks


Note

Introduces remote Git task directory includes and updates loading pipeline accordingly.

  • task_config.includes now accepts git:: URLs; resolves and caches remote directories via new provider logic (resolve_git_url_to_path, TaskFileProvidersBuilder), with settings.task_remote_no_cache support
  • Adjusts task discovery (load_file_tasks, task_includes_for_dir, load_tasks_in_dir) to handle Git includes alongside local paths
  • Changes TaskConfig.includes type to Vec<String> and updates default include paths
  • Extends TaskFileProvider to be Send + Sync and wires remote providers (git/http)
  • Documents feature with examples and URL format; updates JSON schema descriptions; adds e2e test covering ref selection, caching toggle, and mixed local/remote includes

Written by Cursor Bugbot for commit 5e544d4. This will update automatically on new commits. Configure here.

@vmaleze vmaleze changed the title Allow to include tasks from git repositories feat: allow to include tasks from git repositories Jan 6, 2026
@jdx
Copy link
Copy Markdown
Owner

jdx commented Jan 7, 2026

bugbot run

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!

@jdx jdx merged commit 6e35152 into jdx:main Jan 7, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants