You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address PR review feedback for precompile check workflow
Changes based on CodeRabbit review comments:
1. Capture rake exit code with PIPESTATUS to detect silent failures
- Added set -o pipefail to propagate pipe failures
- Check PIPESTATUS[0] after tee to catch rake failures
2. Improved duplicate webpack compilation detection
- Changed pattern from generic "Compiled" to "Compiled successfully"
- Simplified logic to count successful compilations directly
- Added line numbers to matching output for debugging
3. Improved webpack error pattern detection
- Changed from overly broad "error in" to more specific patterns
- Now matches: webpack.*error, failed to compile, compilation failed, ERROR in
4. Better Ruby error detection
- Pattern now matches error class format with colon (e.g., "NameError:")
- Reduces false positives from log messages
5. Fixed asset pipeline error pattern
- Use proper casing for Sprockets::FileNotFound
6. Added sample output for all error patterns
- Each error now shows the first few matching lines for easier debugging
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments