chore(lefthook): run the full CI gate set on pre-push #218

Sammanfogat
supernaut sammanfogade 1 incheckning från chore/lefthook-pre-push in i main 2026-08-16 17:51:35 +00:00
Ägare

Runs the full CI gate set on pre-push.

pre-push ran build, test and e2e. CI also runs prettier, eslint, stylelint, markdownlint, the content-style lang-check, the astro type-check, a drizzle-kit migration check, gitleaks and a production dependency audit. None of those nine had a local gate.

skip_empty: false is load-bearing. Lefthook diffs against the branch's remote counterpart to decide which files a push touches; a brand-new branch has none, so every job is skipped with "no matching push files". That is the exact state a feature branch is in on its first push, which means build, test and e2e have never actually run on one.

Two deliberate notes:

  • e2e stays in the hook although CI does not run it yet. #176 tracks adding it to CI. Until then the hook is deliberately stricter than CI on that one point.
  • gitleaks is guarded. If it is not installed the job warns loudly that CI will still run the check, rather than blocking a push on a missing tool.

Verified: pushing this branch ran all twelve jobs and passed, in about 23 seconds.

Runs the full CI gate set on pre-push. pre-push ran build, test and e2e. CI also runs prettier, eslint, stylelint, markdownlint, the content-style lang-check, the astro type-check, a drizzle-kit migration check, gitleaks and a production dependency audit. **None of those nine had a local gate.** `skip_empty: false` is load-bearing. Lefthook diffs against the branch's remote counterpart to decide which files a push touches; a brand-new branch has none, so every job is skipped with "no matching push files". That is the exact state a feature branch is in on its first push, which means **build, test and e2e have never actually run on one**. Two deliberate notes: - **e2e stays in the hook although CI does not run it yet.** #176 tracks adding it to CI. Until then the hook is deliberately stricter than CI on that one point. - **`gitleaks` is guarded.** If it is not installed the job warns loudly that CI will still run the check, rather than blocking a push on a missing tool. Verified: pushing this branch ran all twelve jobs and passed, in about 23 seconds.
supernaut lade till 1 incheckning 2026-08-16 15:34:58 +00:00
chore(lefthook): run the full CI gate set on pre-push
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m14s
7df61018c1
pre-push ran build, test and e2e. CI also runs prettier, eslint, stylelint,
markdownlint, the content-style lang-check, the astro type-check, a drizzle-kit
migration check, gitleaks and a production dependency audit. None of those nine
had a local gate.

skip_empty: false is load-bearing. Lefthook diffs against the branch's remote
counterpart to decide which files a push touches; a brand-new branch has none,
so every job is skipped. That is the exact state a feature branch is in on its
first push, so build, test and e2e have never actually run on one.

e2e stays in the hook even though CI does not run it yet (#176 tracks adding
it), so the hook is deliberately stricter than CI on that one point.
supernaut sammanfogade incheckning 9a6924c68e till main 2026-08-16 17:51:35 +00:00
supernaut tog bort grenen chore/lefthook-pre-push 2026-08-16 17:51:35 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web!218
Ingen beskrivning angiven.