feat(fallback): enable fallback by default and align async chart states#208
feat(fallback): enable fallback by default and align async chart states#208SantiagoDePolonia merged 3 commits intomainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughDefault fallback mode is changed from "off" to "auto" across config, loader, and resolver. Admin dashboard enables fallback by default, adds dynamic class plumbing for async usage/audit nodes, removes related CSS accents, and updates tests and docs; several resolver and config helpers were added/adjusted. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@config/config.go`:
- Around line 870-872: Update the blank-mode handling and comment so the new
default "auto" is applied consistently: change
internal/fallback/resolver.NewResolver to treat an empty DefaultMode the same
way config.buildDefaultConfig() does (interpret "" as FallbackModeAuto instead
of FallbackModeOff) and update config.FallbackConfig.DefaultMode's doc comment
to state the default is "auto"; also ensure config.loadFallbackConfig() and
resolver.NewResolver use the same canonicalization logic for "" ->
FallbackModeAuto so environment-backed settings like fallback.default_mode:
${FEATURE_FALLBACK_MODE:-} do not silently become "off".
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 0c12918f-f5b0-4989-8f18-de88ca0a413b
📒 Files selected for processing (8)
config/config.example.yamlconfig/config.goconfig/config_test.gointernal/admin/dashboard/static/css/dashboard.cssinternal/admin/dashboard/static/js/modules/execution-plans-layout.test.jsinternal/admin/dashboard/static/js/modules/execution-plans.jsinternal/admin/dashboard/static/js/modules/execution-plans.test.jsinternal/admin/dashboard/templates/execution-plan-chart.html
💤 Files with no reviewable changes (1)
- internal/admin/dashboard/static/css/dashboard.css
Summary
Testing
Summary by CodeRabbit
New Features
Configuration
Style