Commit Graph

6 Commits

Author SHA1 Message Date
f2a9368e24 feat: improve failure reporting with commit summaries
- Change end message from "failed to build" to "failed compilation"
- List failed commits with short hash (7 chars) and commit message
- Distinguish between sequential (stopped early) and parallel modes
- Makes it easier to identify which commits need fixing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 19:24:22 +01:00
e98e6e0540 feat: make script project-agnostic with configurable directories
- Add --frontend and --backend flags for custom directory paths
- Auto-detect common frontend directory patterns if not specified
- Default backend to repository root if not specified
- Replace hardcoded 'rfc-edge-frontend' with dynamic variables
- Support any project structure with pnpm frontend and Rust backend

Examples:
  check-history.sh 2 4                              # auto-detect
  check-history.sh 2 4 --frontend web --backend .   # custom dirs
  check-history.sh 2 4 --backend server -j8         # no frontend

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 19:10:22 +01:00
e0f5075c48 fix: parallel execution continues on failure and improves reliability
- Parallel mode now checks all commits even if one fails (stops after all jobs complete)
- Sequential mode still stops on first failure for fast feedback
- Added failure detection by checking logs for error markers
- Added clearer comments explaining execution modes
- Achieved 2.29x speedup: 32m13s → 14m2s with -j 8

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 18:57:41 +01:00
ea466bc4e2 feat: add parallel execution with -j/--jobs flag
- Add -j/--jobs N flag to run N commits in parallel
- Use xargs -P for reliable parallel execution
- Refactor to use process_commit wrapper function
- Falls back to sequential when -j 1 or not specified
- Should provide 3-4x speedup when checking multiple commits
2026-01-16 18:38:34 +01:00
6b14131930 perf: add pnpm --prefer-offline and smart Rust checking
- Add --prefer-offline to pnpm install to avoid network calls
- Skip cargo check when no Rust files (.rs, .toml, Cargo.lock) changed
- Should provide modest speedup for commits without Rust changes
2026-01-16 18:28:04 +01:00
59f24388a4 Initial commit: working check-history script with verbose mode
- Fixed critical bug with pnpm build/check error handling
- Added verbose mode (-v/--verbose) with debug logging
- Added .env file copying from main repo to worktrees
- Added proper error handling with || true for debug statements
2026-01-16 18:22:32 +01:00