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分
- マージ済み PR(30日)
- 258
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 が 1 日前に担当しました。 オープンenhancement hacktoberfest widget
codercops/chatcops#420 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chatcops test: GitHub Actions reporter対応中かも @mohithreddydonala37 が 1 日前に担当しました。 オープンenhancement hacktoberfest testing
codercops/chatcops#417 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chatcops test: JUnit reporter and --output対応中かも @kachamsiddarth が 1 日前に担当しました。 オープンenhancement good first issue hacktoberfest testing
codercops/chatcops#416 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chatcops test: calls-tool and no-tool-call assertions対応中かも @bhushan4work が 1 日前に担当しました。 オープンenhancement good first issue hacktoberfest testing
codercops/chatcops#412 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
codercops/chatcops の issue をすべて見る
似ている issue
-
Shell: serve the home app's Cookie Policy on a hard reload対応中かも @2001anshkaushik が今日担当しました。 オープンfeature module:ai
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
rocketride-org/rocketride-server#2899 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gofish-graphics/gofish-graphics#1252 ·
メンテナーはふだん 1 日以内に返信
-
optimization P3 size:XS
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
josephfung/curia#2366 ·
メンテナーはふだん 1 日以内に返信
-
type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightgauge/nightgauge#2688 ·
メンテナーはふだん 1 日以内に返信