Forward targets to Arduino HybridCompile run#499
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
|
@coderabbitai Does the PR fix the issue that no target was provided in HybridCompile mode? Are there any side effects? |
|
Tip For best results, initiate chat on the files or code changes.
Does it fix the problem?Yes. The referenced comment identified that after the child_targets = [t for t in get_requested_cli_targets() if t != "checkprogsize"]
child_target_args = " ".join(f'-t "{target}"' for target in child_targets)
child_run_cmd = f'"{pio_exe_path}" run -e "{pio_cmd}" {child_target_args}'.strip()So Known side effects / limitations
SummaryThe fix is correct and well-scoped. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Fetch PR details and diff
gh pr view 499 --repo pioarduino/platform-espressif32 --json title,body,files,additions,deletions
echo "=== PR DIFF ==="
gh pr diff 499 --repo pioarduino/platform-espressif32
echo "=== RELATED ISSUE ==="
gh issue view 496 --repo pioarduino/platform-espressif32 --json title,body,commentsLength of output: 19133 |
Description:
Related issue (if applicable): fixes #496 (comment)
Checklist:
Summary by CodeRabbit
Bug Fixes
Chores