From 8c19ff7406dc5f3726d17c62e81afefc400c5e48 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 15 May 2026 09:56:38 +0100 Subject: [PATCH] Restructure commit hooks task draft --- ...ly-necessary-checks-depending-on-change.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 backlog/drafts/draft-3 - Restructure-pre-commit-hooks-to-run-only-necessary-checks-depending-on-change.md diff --git a/backlog/drafts/draft-3 - Restructure-pre-commit-hooks-to-run-only-necessary-checks-depending-on-change.md b/backlog/drafts/draft-3 - Restructure-pre-commit-hooks-to-run-only-necessary-checks-depending-on-change.md new file mode 100644 index 00000000..4febf42f --- /dev/null +++ b/backlog/drafts/draft-3 - Restructure-pre-commit-hooks-to-run-only-necessary-checks-depending-on-change.md @@ -0,0 +1,20 @@ +--- +id: DRAFT-3 +title: Restructure pre-commit hooks to run only necessary checks depending on change +status: Draft +assignee: [] +created_date: '2026-05-15 08:41' +labels: [] +dependencies: [] +--- + +## Description + + +Currently pre-commit hooks run the entire verification suite irrespectively of the change. This is inefficient and tedious. Some examples of annoyances. + +1. Changes to /backlog items only need the pretty linter. +2. Changes to documentation only need the pretty linter. +3. Changes to the presto application only need to run the (upcoming) presto test suite. +4. Possibly some other patterns, need to verify the complete repo structure. +