chatcops test: --url to test a deployed server
维护者通常 1 天内回复
@srujankaleru2007 已经在做这个了。
开始于 2026年10月28日。
评估
这个 Issue 还没有评估数据。
描述
chatcops test runs the bot in process from the config. --url https://example.com/chat runs the same eval files against a deployed server instead, over the wire protocol, as a smoke test after a deploy.
What to add
- In
packages/cli/src/test/run.ts,runOnce(line 86) sends each turn withsendTurn(line 135), which calls the handler in process. Add a second way to send a turn: POST the same body to the URL withformat: 'v1'(seewebsite/src/content/docs/server/protocol.mdxfor the request and the stream), parse the stream into the sameTurnResult, and keep theconversationIdacross turns. - With
--url, theserverconfig isn't needed. A test withmockscan't run that way, so fail it with a reason that says so instead of skipping it quietly. --header "Authorization: Bearer ..."(repeatable) for servers that need it. Never print header values.- The server's rate limit will apply, so mention
--concurrency 1in the docs. Recording with--recordworks the same way, since replays happen at thefetchlevel (packages/cli/src/test/cassette.ts).
Acceptance criteria
- Tests against a real server started in the test with
createChatHandlerandnode:http(seepackages/server/testsfor examples), including multi-turn, an error part and a refused request - Documented in
website/src/content/docs/core/testing.mdx, with a changeset for@chatcops/cli(minor) -
pnpm test:coverageandpnpm lintpass
- 主要语言
- TypeScript
- 星标
- 13
- 派生
- 7
- 平均合并
- 3 小时 30 分钟
- 30 天内合并 PR
- 258
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/chatcops 的其他 Issue
-
Widget: `data-welcome-bubble-delay="3s"` becomes a 3 ms delay可能已有人在做 @prakashNalla 今天认领。 未关闭
codercops/chatcops#445 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Widget: a "New reply" button when the visitor has scrolled up可能已有人在做 @srujankaleru2007 今天认领。 未关闭enhancement hacktoberfest widget
codercops/chatcops#420 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
chatcops test: GitHub Actions reporter可能已有人在做 @mohithreddydonala37 今天认领。 未关闭enhancement hacktoberfest testing
codercops/chatcops#417 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
chatcops test: JUnit reporter and --output可能已有人在做 @kachamsiddarth 今天认领。 未关闭enhancement good first issue hacktoberfest testing
codercops/chatcops#416 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
chatcops test: calls-tool and no-tool-call assertions可能已有人在做 @bhushan4work 今天认领。 未关闭enhancement good first issue hacktoberfest testing
codercops/chatcops#412 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 codercops/chatcops 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
area:plugins area:security area:skills bug has repro
难度 2/5 1-3 小时 新手友好度 76/100
anthropics/claude-code#105911 ·
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 74/100
dev-five-git/devup-ui#879 ·
维护者通常 11 天内回复
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifacts未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Fission-AI/OpenSpec#2165 ·
维护者通常 1 天内回复
-
🐞 bug 🧐 unconfirmed
难度 2/5 1-3 小时 新手友好度 66/100
Tencent/tdesign-vue-next#7032 · 1 条评论 ·
维护者通常 1 天内回复