Skip to content

feat(DEN-2443): expose native tasks through current zed CLI - #229

Merged
ORESoftware merged 3 commits into
mainfrom
feat/den-2443-canonical-task-cli-current-main
Aug 8, 2026
Merged

feat(DEN-2443): expose native tasks through current zed CLI#229
ORESoftware merged 3 commits into
mainfrom
feat/den-2443-canonical-task-cli-current-main

Conversation

@ORESoftware

Copy link
Copy Markdown
Contributor

Scope

Reconstructs the canonical task dispatcher directly on current main 9b88ac2a1504b1571e045b57cb7efc5f315482f0, superseding the diverged 18-commit PR #211.

zed task [--plan zed-env.toml] [--json] list [--all]zed task [--plan zed-env.toml] [--json] info <task>zed task [--plan zed-env.toml] [--json] graph <task>zed task [--plan zed-env.toml] run <task> [--dry-run] [--yes] [--jobs N] [--no-cache] [-- <args>...]

One implementation

The already-merged schema-v2 task runtime remains unchanged. A shared zed_cli::task_cli layer owns list, info, graph, run, observer, positive-jobs, JSON/live-output, and human-format behavior. Both zed and zed-task map typed arguments into that single layer.

Five reusable files are byte-identical to the previously certified candidate. Five integrations were applied semantically to current main:

  • .cli-flags.toml
  • README.md
  • src/cli.rs
  • src/lib.rs
  • src/main.rs

Compatibility contract

The canonical route reuses exactly:

  • ZED_TASK_PLAN
  • ZED_TASK_JSON
  • ZED_TASK_ALL
  • ZED_TASK_DRY_RUN
  • ZED_TASK_YES
  • ZED_TASK_JOBS
  • ZED_TASK_NO_CACHE

zed-task remains a compatibility and focused certification binary. Zero concurrency is rejected during typed parsing; live child output cannot be mixed into JSON reports.

Focused validation completed

  • task-runtime unit tests;
  • shared task command tests;
  • staged and canonical compiled CLI tests;
  • byte-identical canonical/staged JSON and stderr parity;
  • real dependency ordering and scalar environment propagation;
  • Clap ↔ .cli-flags.toml parity;
  • README command coverage;
  • current asdf and global-profile compatibility tests;
  • cargo fmt --all --check; and
  • strict Clippy for zed, zed-task, and both task integration targets.

The permanent Ubuntu/macOS/Windows task workflow and ordinary exact-head repository matrix remain merge gates. Independent zed-pkg-test certification is pinned to exact candidate 4c708dcece916a81caace9d82083a523a297475c.

Linear: DEN-2443, DEN-1444, DEN-1435, DEN-2462

Superseded PR salvage

Supersedes: #211

  • Salvaged byte-identically: shared command layer, staged binary, parity tests, task documentation, and permanent workflow.
  • Reapplied semantically: typed dispatcher, main command routing, module export, flags registry, and README row.
  • Discarded: 18-commit divergent branch history and stale base integrations.

@linear-code

linear-codeBot commented Aug 8, 2026

Copy link
Copy Markdown

DEN-2443

DEN-2462

@ORESoftware
ORESoftware marked this pull request as ready for review August 8, 2026 04:49
@ORESoftware
ORESoftware merged commit 4403a9a into mainAug 8, 2026
56 checks passed
Sign up for freeto 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.

1 participant

@ORESoftware