Add pre-commit hooks to test-pipeline #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/test-pipeline#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Repository
test-pipelinedoes not have pre-commit hooks configured. Evaluate the repo's language/tooling and add appropriate hooks (.pre-commit-config.yamlfor Python,lefthook.ymlfor Node, or.githooks/pre-commitfor simpler repos).⏸ Needs Decision
What needs to be decided?
blocked:needs-decisionlabel to route back to triage.Blocking factors:
Scope: small Risk: low Spec: partial Type: chore
Summary: Add pre-commit hooks to standardize code quality checks in the test-pipeline repository.
Suggestion: This is already implemented — .pre-commit-config.yaml exists with hooks (trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, detect-private-key, check-merge-conflict), the git hook is installed, and test-precommit-hooks.sh validates everything. No action needed.
Rationale: Repo is a shell-based pipeline test bed (no AGENTS.md/CONTEXT.md, no source code beyond README.md and test script). The pre-commit setup is already in place — config file, installed hook, and test harness all exist. Issue scope is a single config file (~10 lines), purely additive with zero risk to existing paths. Partial spec alignment because no AGENTS.md exists to compare against, but it fits the project's testing theme.
To unblock: Remove the
blocked:needs-decisionlabel. The triage will apply the appropriate outcome based on your choice above.Closed by operator: pre-commit hooks are already shipped on
origin/main..pre-commit-config.yamladded in9ecf4d2("Add .pre-commit-config.yaml with standard hooks", 2026-06-06) — covers trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, detect-private-key, check-merge-conflict.test-precommit-hooks.shadded in55a3471("Add integration test for pre-commit hooks", 2026-06-06) — verifies the config exists, the.git/hooks/pre-commitsymlink is installed, andpre-commit run --all-filesexits 0.Verified locally on
origin/main:bash test-precommit-hooks.shpasses (PASS/PASS/PASS).§7 stale closure pattern: fix landed pre-claim, close step never fired.