{{ message }}
Repository navigation
Commit ceb3ef7
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
- .github
- ISSUE_TEMPLATE
- workflows
- .vscode
- args
- cmd
- release
- taskgraph
- task
- completion
- bash
- fish
- ps
- zsh
- docs
- errors
- experiments
- internal
- editors
- env
- execext
- fingerprint
- flags
- fsext
- hash
- input
- logger
- output
- summary
- templater
- tracing
- vcs
- version
- mcpserver
- testdata
- schema
- taskfile
- ast
- templates
- taskrc
- testdata
- affected
- apps
- api
- web
- cyclic_cmds
- cyclic_run_once
- dynamic_var_dir
- a
- b
- explain
- failfast/task
- graph
- testdata
- recursion_vars
- tracing
- website
- .vitepress
- components
- plugins
- theme
- icons
- src
- blog
- docs
- deprecations
- experiments
- reference
- security
- public
- img
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 3 | | |
10 | | - | |
11 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.

0 commit comments