imccyu f5dc990da8 ci: split coverage across two file shards and merge on a small report job (#8868)
* ci: split coverage across two file shards and merge on a small report job

Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.

* ci: run the coverage heavy suites on the first shard and split shards by file size

The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.

* ci: give the coverage merge a 4 GB heap on the small report runner

Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).

* ci: merge coverage shards on an 8-vCPU runner

The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).

* ci: address review on the coverage shards

- Shards record their checkout root, and the merge rewrites that prefix in
  blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
  lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.

* ci: address the second coverage-shard review and leftover lane cleanup

- The cross-checkout blob rewrite spec builds roots and paths with join(),
  so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
  snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
  gates read.
2026-11-20 13:03:57 +08:00
…
…
…
…

DeepSeek Harness

English | 中文

DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.

It is built on an everything-is-a-plugin architecture and powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.

Documentation: https://deepseek-harness.github.io/deepseek-harness/

Developer preview

DeepSeek Harness is in developer preview and iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.

Review the safety notice before running the project.

Run

Run from npm

Install Node.js, then run:

npx @deepseek-ai/dsh web

The command starts the Web UI at http://127.0.0.1:3080 by default and opens it in the default browser for a local launch. An SSH launch only prints the host URL because the SSH client or editor owns the local forwarded address. Pass --no-open to run the server without opening a browser. See Web UI guide.

Run from source

To run from a repository checkout:

git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web

pnpm run build prepares the repository artifacts. pnpm dsh web uses those built artifacts without rebuilding.

Community and support

Contributing

See CONTRIBUTING.md.

Development

Start with the development guide and architecture documentation.

pnpm run dev:web builds, serves, and rebuilds client bundles on source edits in one terminal, and make help lists the matching Make targets for Web and Desktop; the guide's application commands section owns the full table.

For agents, follow AGENTS.md.

Citation

@misc{deepseek-harness2026,
  title={DeepSeek Harness: Everything is a Plugin},
  author={DeepSeek-AI},
  year={2026},
  publisher={GitHub},
  howpublished={\url{https://github.com/deepseek-ai/deepseek-harness}},
}

License

MIT

Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.

S
Description
Trusted, immutable container builds of DeepSeek Harness (dsh) from the official npm release. Upstream mirror + scheduled CI.
https://github.com/deepseek-ai/deepseek-harness Readme MIT
668 MiB
0 Stars 1 Watchers 0 Forks
v0.2.2-rc.5
Latest
2026-11-23 02:27:44 -05:00
Languages
JavaScript 60.4%
Shell 27.4%
Dockerfile 12.2%