fix(bench): parse fbuild's real AVR resolved-package names (#1536) - #1592
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: FastLED/fbuild/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Arduino Uno benchmark parser now recognizes fbuild’s resolved AVR package names and maps them to toolchain and framework versions. A regression test uses real build-log output to verify the parsed versions and Uno package metadata. ChangesArduino Uno AVR package parsing
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The real-log fixture confirms the expected Uno package versions and complete metadata. No actionable merge-blocking risk is established; the change is ready to merge after normal checks. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 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 |
Fixes #1536.
parse_fbuild_build_packageslooked fortoolchain-atmelavr/framework-in theAVR resolved:line, but fbuild emitsavr-gcc@…andarduino-avr-core@…, so the identity map was empty and the Uno ratio was marked unverified. The parser now splits the line intoname@version (url)entries and mapsavr-gcc/toolchain-atmelavr*totoolchainandarduino-avr-core/framework-*toframework, the same comparison fields the PlatformIO side fills.RED→GREEN: the new
fbuild_avr_build_log_parses_real_resolved_package_namesuses the verbatim line from run 36381617967. It fails on the old parser (confirmed) and passes now; the whole crate is 35/35 and clippy-D warningsis clean. The verification gate is unchanged, so missing or mismatched versions still mark the stack unverified; the existing gate tests cover that.Summary by CodeRabbit