Commit eed68d7
Restructure CI reviews: 4 composite actions with requirements gate (#11)
* Session work\n\nAuto-commit at session end to preserve work in progress.\n\nSession-ID: 667d5a5c-c36b-4543-bfec-65936b7a6417\nSession-Timestamp: 2026-01-03T18:33:59.266Z\nBranch: claude-upbeat-bandicoot-ul46xpp5\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Restructure CI to exactly 3 checks: Static Analysis, Tests, Reviews
- Delete old workflows (basic-ci.yml, ci.yml, e2e-tests.yml, deployment-ci.yml)
- Delete old fragmented composite actions
- Create 3 clean composite actions:
- static-analysis: Lint (ESLint) + Types (TypeScript)
- tests: Unit (Vitest) + E2E (Playwright, only if has_app)
- reviews: Requirements (gate), Code Quality, Context, UI
- Rewrite ci-pipeline.yml with only 3 jobs
- Context Review now only checks CLAUDE.md files that are parents of changed files
- Reviews post single consolidated comment
Dependency chain:
Static Analysis → Tests → Reviews
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Restructure CI with proper check naming
Checks now appear as:
- CI / Static Analysis / Lint (ESLint)
- CI / Static Analysis / Types (TypeScript)
- CI / Tests / Unit (Vitest)
- CI / Tests / E2E (Playwright) [disabled for non-app repos]
- CI / Reviews / Requirements
- CI / Reviews / Code Quality
- CI / Reviews / Context
- CI / Reviews / UI [disabled for non-app repos]
- CI / Reviews / Summary
Dependencies:
- Unit tests require Static Analysis to pass
- E2E requires Unit to pass
- Reviews require Unit to pass
- Code Quality & Context require Requirements to pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add dynamic app detection and update review dependencies
- Add app detection step to lint job (checks for next.config, vite.config, playwright.config, apps/, src/app/)
- E2E tests now only run when app is detected
- Requirements review now depends on both unit and e2e tests
- UI review now only runs when app is detected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* PR-only CI with auto package manager detection
- Remove push trigger to avoid duplicate checks
- Auto-detect package manager (bun/npm/pnpm/yarn) from lockfile
- Each review job incrementally builds a single PR comment
- Remove separate summary job
- Add minimal bun setup with typescript, eslint, vitest
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix bun lockfile detection for text format
Bun now generates bun.lock (text) instead of bun.lockb (binary).
Check for both formats.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Include root ts files in tsconfig
Fix ESLint error: vitest.config.ts was not in project
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Pass unit tests when no test files exist
Add --passWithNoTests flag to vitest
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 50b2419 commit eed68d7
16 files changed
Lines changed: 957 additions & 4035 deletions
File tree
- .github
- actions/consolidate-comment
- workflows
- src
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | | - | |
20 | 23 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
This file was deleted.
0 commit comments