An unknown hides only the gates its job or trigger could run

Aberta
#587 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, python
Domínio
ci-cd, testing

Direção de pesquisa

Read core.py, then trace how runner.py uses known_only to propagate unknown results. Reproduce the labeller workflow case with the fixtures mentioned in the issue, and inspect tests/test_score.py:705. The rule needs agreement before implementation; done means unknowns stay with their jobs, hide only gates those jobs could run, and the labeller case leaves static-analysis judged on known results.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

question

Problem

One unreadable step makes every CI-dependent gate unknown, even when it's in an unrelated workflow (a PR labeller, an issue bot). #495 added a floor, so deleting the workflow no longer raises the score, but the gates still show ERROR: tests/test_score.py:705 asserts that a labeller workflow makes static-analysis ERROR.

Expected

  • A workflow triggered only by issues, pull_request_target: labeled, schedule or workflow_dispatch, with no build or test steps, can't hide tests-run.
  • An unknown stays with its job, and hides only the gates that job could run.

Decision needed

This is a design change to how unknowns spread (core.py, runner.py known_only). Agree the rule before building it.

Done when

The labeller fixture leaves static-analysis judged on what's known, and tests/test_score.py:705 changes accordingly.

Split from #478. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Linguagem predominante
Python
Estrelas
4
Forks
1
Merge médio
6h 31min
PRs com merge (30d)
238

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cpp-best-practices/project_validator

Todas as issues de cpp-best-practices/project_validator

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.