Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

chatcops test: GitHub Actions reporter

Ouverte
#417 3 commentaires 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@mohithreddydonala37 y travaille déjà.

Depuis le 28/10/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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
Langage dominant
TypeScript
Étoiles
13
Forks
7
Merge moyen
3 h 39 min
PR mergées (30 j)
275

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de codercops/chatcops

Toutes les issues de codercops/chatcops

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.