CI lint, coverage floor and remaining hygiene gaps
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with tests/ci/test_workflow_policy.py, structural-worker.yml, ci.yml:98–103, tests/registries/npm_conformance.py, and prototypes/structural/driver/main_test.go, then review docs/CI.md and RELEASING.md for policy constraints. Done means the specified lint, coverage-floor, arm64, on-demand npm, and prototype-cleanup gaps are addressed while all workflows remain event-driven with no schedule: triggers.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
CI lint, coverage floor and remaining hygiene gaps
Background
Issue #92 re-structured CI into event-driven tiers. On main, the event-driven policy is enforced and all 11 workflows are schedule:-free. Several hygiene items from the issue's acceptance criteria are missing.
What 1.0 ships
- All 11 CI workflows are event-driven.
tests/ci/test_workflow_policy.pyenforces theschedule:prohibition. staticcheckv0.6.0 runs in CI (Linux only).cargo auditruns instructural-worker.yml.- SHA-pin check:
tests/ci/test_workflow_policy.py::test_external_actions_use_full_commit_hashespasses. - Coverage profiles uploaded as CI artifacts; summary printed to
$GITHUB_STEP_SUMMARY.
Remaining work (acceptance criteria from #92)
Lint:
golangci-lintwith a committed.golangci.ymlconfig. The issue specifies golangci-lint; staticcheck was substituted. Add golangci-lint (or document the substitution explicitly indocs/CI.md).cargo clippy -D warningsfor the structural worker, instructural-worker.yml.
Dependency automation:
- Out of scope by policy:
RELEASING.mdkeeps Dependabot/Renovate and scheduled automation off until the maintainer enables them. Dependency and action-pin updates stay manual.
Coverage floor:
- A CI step that reads the coverage artifact and fails if total coverage drops below the current floor. The current floor is approximately 82.6%; the exact number must be committed.
Test execution gaps:
- linux-arm64 test execution (currently cross-compiled only;
ci.yml:98–103notes this). - npm registry conformance (
tests/registries/npm_conformance.py) as an on-demandworkflow_dispatchjob, since it uses the network and ordinary CI does not.
Prototype cleanup:
- Remove
time.Sleep(time.Minute)fromprototypes/structural/driver/main_test.go:20.
All CI additions must remain event-driven. No schedule: triggers.
Links
- #92 (1.0.0 issue being closed)
docs/CI.mdtests/ci/test_workflow_policy.pystructural-worker.yml
- Lingua principale
- Go
- Stelle
- 0
- Fork
- 0
- Merge medio
- 5h 8m
- PR unite (30g)
- 54
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 war-and-code/dircue
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
war-and-code/dircue#200 ·
I maintainer di solito rispondono entro 1 giorno
-
follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
war-and-code/dircue#179 ·
I maintainer di solito rispondono entro 1 giorno
-
follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
war-and-code/dircue#178 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement follow-up
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
war-and-code/dircue#172 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
war-and-code/dircue#171 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di war-and-code/dircue
Issue simili
-
duplication
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openvibely/openvibely#1443 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
keyxmakerx/Chronicle#1179 ·
I maintainer di solito rispondono entro 1 giorno
-
raised-by:worker
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
medici-finance/assay#2486 ·
I maintainer di solito rispondono entro 1 giorno
-
area/testing kind/bug triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cozystack/cozystack#4841 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openimsdk/openim-sdk-core#1127 ·