Skip to content

chore(ci): add pre-push typecheck gate and runner-crash retry - #26

Merged
simonhagger merged 1 commit into
mainfrom
chore/prepush-typecheck-gate
Aug 24, 2026
Merged

chore(ci): add pre-push typecheck gate and runner-crash retry#26
simonhagger merged 1 commit into
mainfrom
chore/prepush-typecheck-gate

Conversation

@simonhagger

Copy link
Copy Markdown
Owner

Summary

  • New .husky/pre-push\ hook runs \pnpm typecheck\ (
    x run-many -t build --all) — the exact command behind the CI \ ypecheck\ quality gate — so divergences surface on the developer machine before the remote ever sees them
  • CI \ ypecheck\ job now retries once, only when the nx process is killed by a runner-level crash (SIGSEGV / 'Command was killed'), as observed in run 32710783857; genuine type errors still fail fast without retry

Validation

  • \pnpm typecheck\ green locally across all 12 projects
  • Push of this very branch executed the new pre-push hook end-to-end (gate ran, then remote accepted)

Security Checklist

  • Security review completed
  • Threat model updated or N/A explained
  • Confirmed no secrets/sensitive data present in committed files

- New .husky/pre-push runs 'pnpm typecheck' (nx build --all), mirroring
  the CI quality gate so failures surface before push, not after
- CI typecheck job retries once when the nx process is killed by a
  runner crash (SIGSEGV-class), without retrying real type errors
@simonhagger
simonhagger merged commit c4ef82a into main Aug 24, 2026
17 checks passed
@simonhagger
simonhagger deleted the chore/prepush-typecheck-gate branch August 24, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant