docs/ci.md examples pin v0.2.2 but use features that are only on main
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 84/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- go
- Domínio
- documentation
Direção de pesquisa
Leia os exemplos fixados em docs/ci.md e as orientações relacionadas sobre configuração e pre-commit em docs/config.md e README.md, comparando os recursos com CHANGELOG.md. Adicione uma nota “na main” sempre que um exemplo ou uma instrução para v0.2.2 depender de um comportamento ainda não lançado; considere a verificação em tools/readme/main.go como uma tarefa de acompanhamento. O trabalho estará concluído quando cada exemplo e instrução mencionados funcionar na versão fixada ou indicar claramente que o recurso está disponível somente na main.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
Two copy-paste examples in docs/ci.md pin the v0.2.2 release and use a feature that the changelog lists under "Unreleased". One fails every run; the other silently does less than it says.
Where
docs/ci.md:204-207(Action example withscanners:at@v0.2.2)docs/ci.md:265-273(GitLab CI job withSPACKLE_VERSION: "0.2.2"and--format gitlab-sast)docs/ci.md:36,docs/ci.md:68CHANGELOG.md:13-14(both features under "Unreleased")docs/config.md:95,docs/config.md:434([scan.semgrep] configand[[scope.auth]], also absent from v0.2.2)
Details
git show v0.2.2:action.yml has no scanners input and git show v0.2.2:internal/report/run.go has no GitLab renderer, while the v0.2.2 CLI already rejects an unknown report format. docs/ci.md tells readers to set uses: and version to the same tag, and marks other features with "new in v0.2.0", but says nothing for these two. README.md and docs/ci.md also recommend the pre-commit hook at rev: v0.2.2, while the fix for scans started from a git hook and the read-from-index behavior the page describes are only on main (not verified by running the hook at that tag).
Impact
The GitLab CI job as written fails every run with exit code 2 (unknown report format), so no SAST report is produced. The Action example at @v0.2.2 installs no scanner, because the input does not exist at that tag, so the scan runs the built-in rules alone while the reader believes three external scanners ran.
Suggested fix
Until a release contains them, mark both sections "on main, not in v0.2.2 yet" (as the page already does with "new in v0.2.0"), or cut the release and bump the pins. Consider extending the tools/readme version check so an example that pins a release cannot use an input or flag listed under "Unreleased".
Acceptance criteria
- Each example that pins a release works at that release, or carries an "on main" note
- The same note is on
[[scope.auth]],[scan.semgrep] configand the pre-commit hook text until they are released
Related: #118
Getting started
- Relevant files: docs/ci.md, docs/config.md, README.md, CHANGELOG.md, tools/readme/main.go
- How to run tests:
make test-short(Unix) or.\make.ps1 test-short(Windows PowerShell);make lintbefore you call it done - Related docs: CONTRIBUTING.md (release checklist)
Filed by repo-audit/full-audit at 50e92ec. Severity: medium. Effort: S. audit-key: documentation|docs/ci.md|unreleased-features-pinned-to-v0.2.2
- Linguagem predominante
- Go
- Estrelas
- 0
- Forks
- 1
- Merge médio
- 8h 14min
- PRs com merge (30d)
- 3
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/Spackle
-
ci good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
TMHSDigital/Spackle#206 ·
Mantenedores costumam responder em até 1 dia
-
ci severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
TMHSDigital/Spackle#205 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
TMHSDigital/Spackle#199 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 87/100
TMHSDigital/Spackle#195 ·
Mantenedores costumam responder em até 1 dia
-
documentation good first issue severity: medium
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
TMHSDigital/Spackle#188 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de TMHSDigital/Spackle
Issues semelhantes
-
bug effort:s impact:med raised-by:worker risk:low to:worker
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
medici-finance/assay#8120 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
factory:subtask
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
agent-substrate/substrate#4308 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
celestiaorg/celestia-app#8877 ·
Mantenedores costumam responder em até 1 dia
-
sweep
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
bketelsen/truenas-mcp#112 ·
Mantenedores costumam responder em até 1 dia