chatcops test: --url to test a deployed server
Los mantenedores suelen responder en 1 día
@srujankaleru2007 ya está trabajando en esto.
Desde el 28/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 13
- Forks
- 7
- Merge medio
- 3 h 30 min
- PR fusionados (30 d)
- 258
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codercops/chatcops
-
Widget: `data-welcome-bubble-delay="3s"` becomes a 3 ms delayPosiblemente ocupada @prakashNalla la tomó hoy. Abierto
codercops/chatcops#445 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Widget: a "New reply" button when the visitor has scrolled upPosiblemente ocupada @srujankaleru2007 la tomó hoy. Abiertoenhancement hacktoberfest widget
codercops/chatcops#420 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
chatcops test: GitHub Actions reporterPosiblemente ocupada @mohithreddydonala37 la tomó hoy. Abiertoenhancement hacktoberfest testing
codercops/chatcops#417 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
chatcops test: JUnit reporter and --outputPosiblemente ocupada @kachamsiddarth la tomó hoy. Abiertoenhancement good first issue hacktoberfest testing
codercops/chatcops#416 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
chatcops test: calls-tool and no-tool-call assertionsPosiblemente ocupada @bhushan4work la tomó hoy. Abiertoenhancement good first issue hacktoberfest testing
codercops/chatcops#412 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/chatcops
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gnosis/gnosis_vpn#661 ·
Los mantenedores suelen responder en 1 día
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Abiertotriage:bug-verified
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
fix: reject sourceStorage/packagedStorage bucket that differs from the stack default (fail loud)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Eyevinn/open-videocore#1300 ·
Los mantenedores suelen responder en 1 día
-
nextjs-tracking
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
cloudflare/vinext#4390 ·
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kubernetes-sigs/headlamp#8175 ·
Los mantenedores suelen responder en 2 días