ci: lint-gate bloqueante (prettier + typecheck + regras de projeto)#508
ci: lint-gate bloqueante (prettier + typecheck + regras de projeto)#508adm01-debug wants to merge 1 commit into
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Caution Review failedPull request was closed or merged during review WalkthroughNovo job ChangesReorganização do Pipeline CI
Possibly Related PRs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
This PR proposes restructuring the main CI workflow to introduce a new blocking “lint gate” stage (formatting, type checks, ESLint baseline, and project guard scripts) that runs before the heavier test/security job, aiming to fail fast on style/type/lint and enforce project rules earlier.
Changes:
- Adds a new
lint-gatejob that runs Prettierformat:check,typecheck, an ESLint run intended for PR-readable output, ESLint baseline gate, and critical guard scripts. - Refactors
quality(renamed to “Tests & Security”) to depend onlint-gate, and removes guard/baseline/typecheck steps fromquality.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: ESLint annotations (legível no PR) | ||
| run: npx eslint src --format=github --max-warnings=500 |
| - name: TypeScript type check (bloqueante) | ||
| run: npm run typecheck |
|
Fechando após análise de viabilidade. Motivo: branch criada sobre um O Decisão de engenharia: fechar em vez de "resolver conflito". Caso queira algum check específico daqui, recriar sobre o Generated by Claude Code |
Draft aberto durante limpeza de branches para resgatar trabalho não mergeado.
Conteúdo (1 commit)
lint-gatebloqueante (prettierformat:check, typecheck, ESLint annotations, baseline, guards de projeto) e reorganiza o jobqualityBranch ~1.400 commits atrás do
maine alternativa/concorrente ao PR de estágio rápido do CI. Oci.ymlatual já evoluiu com gates equivalentes, então provavelmente superada. Avaliar antes de descartar ou rebase.https://claude.ai/code/session_01QpLctApdgHrT7hBAS3dk71
Generated by Claude Code
Summary by cubic
Adds a blocking CI lint gate that runs Prettier, TypeScript typecheck, ESLint with PR annotations and baseline, plus critical project guard scripts. Tests now run only after this gate, giving fail-fast feedback and clearer PR signals.
Written for commit a170f04. Summary will update on new commits.
Summary by CodeRabbit
Release Notes