Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)16k · #10828

ci-triage

Ce qu’il fait

Cette skill vous aide à comprendre une construction en échec ou un workflow raté dans GitHub Actions. Elle s'adresse aux développeurs qui veulent savoir si un échec vient de leur code, d'un test instable ou d'un problème d'infrastructure.

Quand l’utiliser

  • ✓Quand des vérifications sont au rouge sur une demande de fusion et que vous voulez en comprendre la raison.
  • ✓Quand un workflow a échoué et que vous devez trouver la première vraie erreur dans ses journaux.
  • ✓Quand vous soupçonnez un test instable et voulez le distinguer d'un vrai échec.

Lien du skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/ci-triage/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/ci-triage/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Les vérifications de ma demande de fusion sont au rouge. Peux-tu me dire quelle tâche a échoué et si c'est à cause de mon code ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent liste les tâches de l'exécution et trouve la première qui a échoué, puis la première erreur dans son journal. Il classe cette erreur en vrai échec, problème d'environnement, test instable ou problème déjà existant.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Diagnose a failing CI run

The goal is one sentence a human can act on: which job failed, on what, and whether it is this PR's fault. A screenshot of red checks is not a diagnosis.

1. Find the first failure, not the loudest one

List the run's jobs and take the earliest failing one. Later jobs usually fail because an earlier one did, and their logs are longer and more alarming — which is why people diagnose the wrong job.

Within that job, find the first error, not the last. Build tooling prints a summary at the end that names the last thing to fail; the first error is what actually broke.

Skip past the noise that always appears in failing logs: deprecation warnings, peer dependency notices, cache misses. None of them fail a build on their own.

2. Classify before investigating

Read the first error and put it in one of four buckets. They have different fixes and mixing them up wastes the most time.

Bucket Signal What to do
Real failure Assertion, type error, or compile error naming code this PR touched Report the file and line
Environment Network timeout, registry 5xx, disk full, runner image change Re-run; if it persists, it is infrastructure
Flake Timing, ordering, or concurrency; passes on re-run See step 4 — do not stop at "re-run passed"
Pre-existing Fails identically on the base branch Not this PR's problem; say so explicitly

Check pre-existing early. Fetch the most recent run on the base branch and compare the failing job. A PR blamed for a failure it inherited burns an afternoon.

3. Attribute it to a change

For a real failure, connect the error to a diff. Get the PR's changed files and check whether the failing test or module is among them, or imports something that is.

If the failing area is untouched by the PR, the likely causes in order are: a dependency that moved, a merge with a base that already broke, or a genuine action-at-a-distance bug — which is the most interesting outcome and worth saying out loud.

4. Do not launder a flake into a pass

A re-run that goes green proves the failure is intermittent. It does not prove the code is correct, and intermittent failures in CI are usually real race conditions that will also happen in production.

When you re-run and it passes, say that plainly, name the test, and check whether it has failed before on other PRs. A test that flakes on many PRs is a bug report about that test. Re-running until green and reporting success is how a real concurrency bug survives review.

5. Report

Give the requester, in this order: the job, the first error with its file and line, the bucket from step 2, and what you recommend. Link the specific failing step, not the run — the run page makes them hunt for what you already found.

If the fix is small and obvious, say what it is. If the failure is pre-existing or infrastructural, say who needs to know, since the PR author usually cannot fix it.

Anti-patterns

  • Pasting the whole log. If you could not find the relevant twenty lines, the diagnosis is not finished.
  • Reporting the last error in the file.
  • "CI is flaky" without naming the test.
  • Re-running more than twice without reading the log in between.
Questions fréquentes

Pourquoi ne pas regarder la dernière erreur ?

Les tâches suivantes échouent souvent à cause d'une tâche précédente, donc la première erreur montre généralement la vraie cause.

Qu'est-ce qu'un test instable ?

C'est un échec causé par le timing ou l'ordre d'exécution, qui peut réussir lors d'une autre exécution. La skill ne s'arrête pas à un simple relancement.

Corrige-t-il l'échec ?

La skill se concentre sur le diagnostic : nommer la tâche, la première erreur et le commit qui a causé le problème.

Détails

Description originale de l’auteur

Diagnose a failing GitHub Actions run — find the first real error in the logs, tell a flake apart from a genuine failure, and identify the commit that broke it. Use when checks are red on a PR, a workflow failed, the build is broken, CI is flaky, or the user asks why a run failed or whether a failure is real.

repo: ParadevAI/Paradev

Popularité

Étoiles GitHub
16k
Position au classement
#10828
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires