Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

chatcops test: GitHub Actions reporter

Aperta
#417 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mohithreddydonala37 ci sta già lavorando.

Dal 28/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
TypeScript
Stelle
13
Fork
7
Merge medio
3h 39m
PR unite (30g)
275

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/chatcops

Tutte le issue di codercops/chatcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.