Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
PR Summary by QodoRestrict artifact consumers to the firmware CI workflow
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit be6fe1d |
|
/agentic_review The remaining path-guard finding is contradicted by executed workflow evidence: the guard is present on the fork default branch at ac6fbcd, and the pr-comment job completed artifact downloads and publication in https://github.com/Raffi1202/inav/actions/runs/34614556238 and https://github.com/Raffi1202/inav/actions/runs/34616048856. Those jobs would have been skipped if workflow_run.path were absent. The second consumer has the identical expression; its upstream-only repository guard means it was checked by inspection, not executed in the fork. Please reassess this finding against those runs. |
|
Code review by qodo was updated up to the latest commit be6fe1d |
|
RAM / Flash usage vs. base commit
See RAM/flash optimization guide for techniques to reduce usage. |
|
Test firmware build ready — commit Download firmware for PR #11930 245 targets built. Find your board's
|
Both
ci.ymlandnon-code-change.yamlare named "Build firmware". When the non-code stub succeeds,pr-test-builds.ymlstill runs and fails withArtifact not found for name: pr-number, because the stub uploads no artifacts. All 37 failed PR Test Builds runs among the last 100 (2026-09-21 to 2026-09-24) came from the stub, e.g. https://github.com/iNavFlight/inav/actions/runs/35958044484 after stub run https://github.com/iNavFlight/inav/actions/runs/35957880882.ci-size-report.ymlalready survives this through the step guard from #11878; there the new condition only skips the job earlier.Both consumer jobs now also require
github.event.workflow.path == '.github/workflows/ci.yml', next to the existing pull-request and success checks. A path rather than a workflow ID keeps forks working.workflow.pathis part of theworkflow_runpayload and holds the plain file path; pytorch/pytorch runs the same guard inclaude-issue-triage-run.yml(e.g. https://github.com/pytorch/pytorch/actions/runs/35978025124). A missing or different path skips the job.workflow_runworkflows execute from the default branch, currentlymaintenance-10.x, so the change takes effect once it reaches that branch.Validation:
node --test .github/scripts/artifact-workflow-filter.test.jspasses 11 tests, also on CRLF checkouts. They read the conditions from both YAML files and cover firmware runs, the same-name stub, a misleadingworkflow_run.path, unsuccessful and push runs, missing and unknown paths, and thatci.ymlexists. Artifact download and release publication with the final filter have not run end to end, since consumer changes only execute from the default branch.Firmware code and the baseline-publishing job are unchanged.