chore(ci): pre-push-hook controleert het CI-testregister #272
No reviewers
Labels
No labels
severity/s2
severity/s3
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
janpeter/Ops-dashboard!272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/pre-push-test-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An unregistered test file makes Root app checks fail in its first minute, before any test runs, and the job log can't be read through the API. That's how #270 stayed red "for no reason". This adds
.githooks/pre-push, which runs the sameloadGroupscheck fromscripts/ci/test-groups.mjsbefore every push and says which file is missing and where to add it.git config core.hooksPath .githooks, once per clone (applies to all worktrees). It's already on for JP's Mac clone.git push --no-verify.test/pre-push-test-registry-hook.test.ts(base group) covers a pass, an unregistered test, a double owner, and the repo itself.docs/runbooks/ci-selection.mdrunbook has a short section on it.🤖 Generated with Claude Code
APPROVED
Geen findings met blocker- of error-severity.
De hook hergebruikt
loadGroupsuit de CI-validatie, faalt met een bruikbare herstelmelding bij ontbrekende/dubbele testregistratie, en de nieuwe tests dekken de geldige, ontbrekende, dubbele en repository-brede gevallen. De runbook documenteert installatie en nooduitzondering.Geen gekoppeld plan gevonden — beoordeeld op codekwaliteit + product-standaarden.