Audit the repository rulesets on a schedule
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github, github-actions, rust
- Ambito
- devops, infrastructure
Direzione di ricerca
Read docs/issues/open/2639-scheduled-ruleset-audit/ISSUE.md and docs/github-rulesets.md first; the plan leaves the audit location and token ownership as a decision. The proposed Rust tool belongs under contrib/dev-tools/, with an expected-state file, JSON report, and unit tests. Done means the chosen audit path reports simulated drift and has been verified against live rulesets; linked pull request #2642 is already open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Goal
Detect drift between the live GitHub rulesets of torrust/torrust-tracker and the rulesets documented in docs/github-rulesets.md, on a schedule, so that a ruleset that is disabled, deleted, or changed without a record is noticed soon.
Background
Issue #2507 found that the only required-checks ruleset had been effectively disabled since 2026-05-05 and nobody noticed. The decision of 2026-10-22 in #2525 keeps CI checks advisory and relies on the force-push ban, the signed-commit rule, and the other rulesets, which are now separate rulesets. docs/github-rulesets.md says to compare it with the live state, but nothing does that comparison unless a person remembers to. Reading the rulesets needs a token with repository administration read access, which the default GITHUB_TOKEN of a workflow does not have, so where the audit runs is a decision.
Plan
- T1: decide where the audit runs (a scheduled workflow with a dedicated read-only token, or a maintainer-run command and a skill step), and record the token, its permissions, and its owner.
- T2: a Rust tool under
contrib/dev-tools/that compares the live rulesets with an expected-state file kept in the repository and prints a JSON report, with unit tests. - T3: the expected-state file, and how to update it together with a ruleset change in
docs/github-rulesets.md. - T4: the thin workflow or the documented command; drift is reported as a failure or an issue.
- T5: verification against the live rulesets and against a simulated drift.
Priority is low: the maintainer decided on 2026-10-24 that it is not needed now. This is a follow-up of #2525. The specification is docs/issues/open/2639-scheduled-ruleset-audit/ISSUE.md, added with the #2525 close-out pull request.
- Lingua principale
- Rust
- Stelle
- 532
- Fork
- 56
- Merge medio
- 11h 20m
- PR unite (30g)
- 282
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di torrust/torrust-tracker
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
torrust/torrust-tracker#3080 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
torrust/torrust-tracker#3069 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
torrust/torrust-tracker#3058 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
torrust/torrust-tracker#2978 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
torrust/torrust-tracker#2332 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di torrust/torrust-tracker
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
difficulty: easy docs help wanted tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
-
bug help wanted ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
userFRM/egui-charts#4386 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
eliasstravik/herdr-projects#1605 · 1 commento ·