mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
9caaa6c95e3db3ba40e82595771ad664f2bdffc2
Adds .github/workflows/e2e.yml, which runs `pnpm run test:e2e` against the external DeepSeek API (https://api.deepseek.com) using a DEEPSEEK_API_KEY repo secret. ci.yml stays keyless/forkable; this is a separate, secret-consuming workflow that fills the gap of nothing in CI exercising the with-key suites. - Triggers: workflow_dispatch + push to main/master + nightly schedule + pull_request. A job-level `if:` skips untrusted PRs (forks + Dependabot, both keyless), keying the Dependabot test on the PR author (pull_request.user.login) not github.actor. A job-level skip reports as success, so this is safe as a required check. - Unconditional preflight hard-fails on a missing secret so the self-skipping suite can't report a false green when the key is misconfigured. - Secret scoped to the preflight + e2e steps only; permissions: contents: read; DEEPSEEK_BASE_URL pinned to the external API; single Node 24; timeout 45m; cancel-in-progress only for PR runs. Plan converged with Codex (gpt-5.5:xhigh) over 3 review rounds.
DeepSeek Harness
Monorepo for the DeepSeek Harness group.
Projects
- DeepSeek Code — DeepSeek's coding agent product.
Development
This monorepo is built on the Cordis framework (vendored as source under vendor/), microkernel-style: everything is a plugin.
pnpm install
pnpm run test # vitest
pnpm run demo:echo # runnable echo-agent example (no API key needed)
pnpm run demo:coding # the real DeepSeek coding agent (needs DEEPSEEK_API_KEY)
For humans, start with the development guide for local setup, hooks, environment variables, and quality gates, then read the architecture design before package work. Local context lives in packages/ and vendor/.
For agents, follow AGENTS.md.
Languages
TypeScript
97%
CSS
1.6%
Python
0.7%
JavaScript
0.6%