Commit 8d5d025
Add Zeitwerk eager loading check to CI
Adds a validation step that runs Zeitwerk::Loader.eager_load_all after
dependency installation to catch autoloading issues early in the CI pipeline.
This check helps prevent production crashes by detecting:
- Inflector configuration errors
- Constant definition issues
- Missing conditional checks for optional dependencies
The check runs quickly (~2 seconds) before the test matrix, providing
rapid feedback on structural issues.
Note: This check currently fails due to upstream ruby_llm ActiveRecord
dependency issues. See:
- crmne/ruby_llm#504
- crmne/ruby_llm#505
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3b08a4a commit 8d5d025
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments