taskgraph: rebrand the Task fork and add MCP, --graph, --explain, --a… · XXXDelirious/taskgraph@ceb3ef7 · GitHub
Skip to content

Commit ceb3ef7

Browse files
authored
taskgraph: rebrand the Task fork and add MCP, --graph, --explain, --affected and tracing (#1)
Turn this fork of go-task/task v3.51.1 into taskgraph, a Task-compatible task runner for AI coding agents and large monorepos. Existing Taskfiles keep working unchanged. Rebrand: - Module github.com/XXXDelirious/taskgraph, binary `taskgraph`, shell completions for the new command. taskgraph has its own version (0.1.0); schema checks and TASK_VERSION use the compatible Task version (3.51.1). - LICENSE keeps the original MIT notice and adds a line for taskgraph. New README, CONTRIBUTING, install script and docs/. CHANGELOG keeps Task's history below a new taskgraph section. - Releases publish only to this repo's GitHub Releases and Linux packages. CI runs the tests with -race. Upstream's website is removed; the Taskfile and taskrc JSON schemas move to schema/. Features: - `--mcp`: serve documented tasks as tools for coding agents over the Model Context Protocol, plus read-only explain and graph tools and an optional `mcp:` task key (go-task#2324). - `--graph`: the task graph as a tree, Mermaid, DOT or JSON. - `--explain`: whether each task would run and why, down to changed files. - `--affected [--since <ref>]`: run or list only tasks affected by git changes. - `--profile` and OpenTelemetry tracing with TRACEPARENT propagation (go-task#2948). Fixes to upstream bugs: task call cycles (slow failure, watch-mode hang, run: once deadlock), dynamic variables cached across directories and evaluated serially, task dir templates resolved without Taskfile vars, watch-mode races and over-triggering, unlocked ast.Vars iteration and Merge, and --summary exiting 0 on compile errors. Dependencies: grpc v1.83.1 and x/text v0.39.0 fix known vulnerabilities.
1 parent 24a3ccd commit ceb3ef7

263 files changed

Lines changed: 7132 additions & 25736 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 5 additions & 5 deletions

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: '🔌 Task for Visual Studio Code'
4-
url: https://github.com/go-task/vscode-task
5-
about: 'Issues related to the Visual Studio Code extension should be opened here.'
6-
- name: '💬 Help forum on Discord'
7-
url: https://discord.com/channels/974121106208354339/1025054680289660989
8-
about: 'The #help channel on our Discord is the best way to get help from the community.'
93
- name: '❓ Questions, Ideas and General Discussions'
10-
url: https://github.com/go-task/task/discussions
11-
about: 'Ask questions and discuss general ideas with the community.'
4+
url: https://github.com/XXXDelirious/taskgraph/discussions
5+
about: 'Ask questions and discuss general ideas.'
6+
- name: '📚 Taskfile syntax reference (upstream Task docs)'
7+
url: https://taskfile.dev/docs/guide
8+
about: 'taskgraph reads the same Taskfile format as Task. Syntax questions are usually answered there.'

‎.github/ISSUE_TEMPLATE/feature_request.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
name: '✨ Feature Request'
2-
description: Suggest a new feature or enhancement for Task.
3-
labels: ['state: needs-triage']
2+
description: Suggest a new feature or enhancement for taskgraph.
3+
labels: ['needs-triage']
44
body:
55
- type: markdown
66
attributes:
77
value: |
88
Thanks for your feature request!
99
10-
Before submitting, please check the list of [existing issues](https://github.com/go-task/task/issues) and make sure the same change was not already requested by someone else.
11-
If your request is more of an idea than a feature request, consider opening a [discussion](https://github.com/go-task/task/discussions) instead.
10+
Before submitting, please check the list of [existing issues](https://github.com/XXXDelirious/taskgraph/issues) and make sure the same change was not already requested by someone else.
11+
If your request is more of an idea than a feature request, consider opening a [discussion](https://github.com/XXXDelirious/taskgraph/discussions) instead.
1212
1313
- type: textarea
1414
id: description
1515
attributes:
1616
label: Description
17-
description: Describe the feature/enhancement you want to see in Task.
17+
description: Describe the feature/enhancement you want to see in taskgraph.
1818
placeholder: |
1919
- Give a general overview of the feature/enhancement.
2020
- Explain problem is the change trying to solve.

‎.github/pull_request_template.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!--
22
3-
Thanks for your pull request, we really appreciate contributions!
3+
Thanks for your pull request!
44
5-
Please understand that it may take some time to be reviewed.
6-
7-
Also, make sure to follow the [Contribution Guide](https://taskfile.dev/contributing/).
5+
Please describe what the change does and how it was tested.
86
97
-->
108

11-
- [ ] I have read and followed the [Contribution Guide](https://taskfile.dev/contributing/)
9+
- [ ] I have read [CONTRIBUTING.md](../CONTRIBUTING.md)
10+
- [ ] I added or updated tests for this change
11+
- [ ] I added an entry to the `Unreleased` section of `CHANGELOG.md`

‎.github/workflows/issue-awaiting-response.yml‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎.github/workflows/issue-closed.yml‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎.github/workflows/issue-experiment.yml‎

Lines changed: 0 additions & 126 deletions
This file was deleted.

‎.github/workflows/issue-needs-triage.yml‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)