feat: load USB VID overlay from boards protobuf#767
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe PR migrates the tier-2 USB VID online overlay from a JSON-based cache ( ChangesProto+zstd USB overlay migration
Possibly related PRs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Summary
Switches the USB VID/PID online overlay from the old fbuild JSON URL to the new FastLED/boards
usb-vids.proto.zstdartifact.Changes
fbuild-core::usb::datafor the boards sidecar schema.install_online_cache_proto_zstd()to inflate the zstd payload in memory, decode protobuf bytes, and retain the flattened map in the existing resolver cache.fbuild port scanlazy fetch to storeusb-vids.proto.zstdunder the fbuild cache root (~/.fbuild/{dev|prod}/cache/usb/by default, orFBUILD_CACHE_DIR/usb/).Depends on FastLED/boards#24, merged and dispatched via the boards site workflow.
Validation
python -m pytest tests/test_build_usb_ids.pyin FastLED/boardsuv run --no-project --with zstandard python -c "... build(...) ..."in FastLED/boardssoldr cargo test -p fbuild-core usb::data:: -- --nocapturesoldr cargo test -p fbuild-cli port_scan -- --nocaptureSummary by CodeRabbit
Improvements
Tests
Chores