DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Flakefinder — DSH Plugin for DeepSeek Harness
← Plugins

dsh-flakefinder

Flakefinder

DSH test stability plugin: five tools—flaky_detect/history/quarantine/clear/report—supporting vitest/jest/pytest/node:test, repeated test runs to identify flaky cases, complete JUnit/TAP parsing, JSON history and quarantine lists, and zero runtime dependencies.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:STARDUSTLC666/dsh-flakefinder#0063a07f9ca31251dc69e5b8e91c6cba761351bc
READMECompatibilityVersions

Compatibility and provenance

Flakefinder is published as dsh-flakefinder and currently resolves to version 0.3.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/20/2026

Versions

0.3.3stable
9/12/2026
0.3.2stable
9/5/2026
0.3.1stable
9/2/2026
Show 5 more versionsCollapse versions
0.3.0stable
8/26/2026
0.2.2stable
8/16/2026
0.2.1stable
8/16/2026
0.2.0stable
8/16/2026
0.1.0stable
8/16/2026

Related plugins

Loading related plugins…

Latest
0.3.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
335
Last push
9/18/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

dsh-flakefinder

让 agent 分清「代码坏了」还是「测试在抽风」。

DeepSeek Harness 测试稳定性插件:支持 vitest / jest / pytest / node:test,重复运行测试并识别 flaky 用例,历史留档、隔离清单、写操作审批门。零运行时依赖。

工具

工具作用写操作
flaky_detect重复运行测试 N 次,判定 stable-pass / stable-fail / flaky否(写历史)
flaky_history查询检测历史,按目标过滤否
flaky_report汇总隔离清单 + 历史,输出稳定性报告否
flaky_quarantine把 flaky 用例写入 .flakefinder.json 隔离清单是(审批门)
flaky_clear从隔离清单移除已恢复的用例是(审批门)

支持框架:

  • vitest:读取 node_modules/vitest/vitest.mjs,使用 JSON reporter
  • jest:读取 node_modules/jest/bin/jest.js,使用 --json --outputFile
  • pytest:python -m pytest --junitxml,解析 JUnit XML(支持 setup.cfg / pyproject / pytest.ini / tox.ini 探测与 XML 实体解码)
  • node:test:node --test --test-reporter=tap,解析 TAP(含 SKIP 指令归类)
  • framework: auto 按 vitest → jest → pytest → node:test 自动探测

兼容性

已在官方 @deepseek-ai/dsh@0.1.5-rc.1、Node 24.16.0 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 cordis.patch.yml + dsh.bundle.patch 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。

安装

dsh plugin --profile web add dsh-flakefinder

或手动安装后在 profile 的 cordis.patch.yml 插入:

- id: flakefinder
  name: 'dsh-flakefinder'
  config:
    defaultRuns: 5
    writeApproval: true

卸载

dsh plugin --profile web remove dsh-flakefinder

卸载后重启 Web 服务。如需彻底清理,可再手动删除自己 profile cordis.patch.yml 中覆盖的插件行。

使用示例

用户:src/checkout.test.ts 最近老失败,帮我判断一下
Agent:
  flaky_detect(target="src/checkout.test.ts", runs=5)
  → 判定:flaky;3/5 通过,失败集中在 useFakeTimers 用例
  → flaky_quarantine(tests=["src/checkout.test.ts > 定时器恢复"], reason="定时器竞态")

配置

字段默认说明
defaultRuns5flaky_detect 默认重复次数(3-20)
maxRuns20单次允许的最大重复次数(3-50)
timeoutMs120000单轮测试运行超时
graceMs10000超时后宽限
writeApprovaltrue隔离清单写操作是否走审批门
dataDirDSH_HOME/.dsh-flakefinder历史存储目录
quarantineFile<cwd>/.flakefinder.json隔离清单路径
pythonPathDSH_FLAKEFINDER_PYTHON 或 python/python3pytest 使用的 Python 解释器

隔离清单格式

{
  "version": 1,
  "quarantined": [
    {
      "file": "src/checkout.test.ts",
      "name": "使用假定时器后恢复真实定时器",
      "reason": "定时器竞态,见 issue #12",
      "since": "2026-08-16T00:00:00.000Z"
    }
  ]
}

隔离清单只记录,不修改测试源码;agent 跑测试前应先查阅 flaky_report。

工程

  • Node >= 22.13,TypeScript,零运行时依赖
  • 测试进程走 DSH 官方 subprocess 服务,argv 数组、无 shell
  • 全量单测 40+:解析、判定、存储、审批门、pytest 计划、subprocess 超时、注册与 manifest
  • pnpm test:构建 + node --test

发布门禁

  1. pnpm test 全绿
  2. pnpm typecheck
  3. 危险模式扫描(eval / child_process / 密钥零容忍)
  4. 真实 profile 冒烟:全新临时 profile 安装插件 → 真 boot → stderr 零报错
  5. manifest 自检(bundle patch / exports / files 白名单)

License

MIT