Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

chatcops test: GitHub Actions reporter

Abierto
#417 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@mohithreddydonala37 ya está trabajando en esto.

Desde el 28/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement hacktoberfest testing

--reporter github prints workflow commands, so failed tests show up as annotations on the PR and in the job summary.

How reporters work
See REPORTERS in packages/cli/src/test/reporters/index.ts:32 and the Reporter interface above it. reporters/json.ts is the shortest example.

What to add (new reporters/github.ts)

  • For each failed test, an ::error file=<eval file>,line=<line>,title=<test name>::<reasons> line. The line is where the test starts in the YAML. The loader doesn't keep positions today, so get them from the yaml package's document API in loadFixture (packages/cli/src/test/load.ts:44) and keep them on the test without changing the schema for users.
  • Escape the message the way GitHub's toolkit does (%, \r, \n).
  • When GITHUB_STEP_SUMMARY is set, append a short Markdown table of the results to that file.

Acceptance criteria

  • Tests for the annotation lines with line numbers, escaping, and the summary file (point GITHUB_STEP_SUMMARY at a temp file)
  • Documented in website/src/content/docs/core/testing.mdx, with a changeset for @chatcops/cli (minor)
  • pnpm test:coverage and pnpm lint pass
Lenguaje dominante
TypeScript
Estrellas
13
Forks
7
Merge medio
3 h 30 min
PR fusionados (30 d)
258

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de codercops/chatcops

Todos los issues de codercops/chatcops

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.