Skip to content

Add edge branch support to community targets#195

Merged
igorpecovnik merged 1 commit intomainfrom
feat/add-edge-branch-to-community-targets
Jan 24, 2026
Merged

Add edge branch support to community targets#195
igorpecovnik merged 1 commit intomainfrom
feat/add-edge-branch-to-community-targets

Conversation

@igorpecovnik
Copy link
Member

Summary

  • Add edge branch categorization to generate_community_yaml() function
  • Edge branch boards are now included in generated YAML for community targets
  • Edge boards are filtered to exclude those that also have a current branch (prefer current over edge)

Test plan

  • Boards with only edge kernel (e.g., radxa-cubie-a5e) are now included in community targets
  • Boards with both current and edge kernels only use current branch (edge is excluded)

Fix corner case where community boards that only have the edge kernel
(e.g., radxa-cubie-a5e) were not being included in the generated YAML.

Changes:
- Add edge branch categorization (fast/slow/headless/riscv64/loongarch)
- Add edge branch YAML anchor sections
- Include edge branch in all target items lists
- Filter edge boards to exclude those that also have current branch
  (prefer current over edge when both are available)

Signed-off-by: Igor Pecovnik <[email protected]>
@github-actions github-actions bot added 02 Milestone: First quarter release size/medium PR with more then 50 and less then 250 lines Needs review Seeking for review labels Jan 24, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 24, 2026

Walkthrough

The change modifies the script to introduce edge-specific board filtering and YAML generation. It computes a set of boards already in the current branch and filters edge boards to exclude those already covered. New edge-specific sections are added to the community YAML (edge_fast-hdmi, edge_slow-hdmi, edge_headless, edge_riscv64, edge_loongarch) with sorted board entries. Target definitions are extended to reference these new sections, and conditional logic is updated to include edge variants in various community targets.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested labels

Needs review

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding edge branch support to community targets, which aligns with the changeset's core functionality.
Description check ✅ Passed The description clearly explains the changes including edge branch categorization, YAML generation, and filtering logic, with specific test cases demonstrating the implementation.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/add-edge-branch-to-community-targets

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@igorpecovnik igorpecovnik merged commit 8365712 into main Jan 24, 2026
7 checks passed
@igorpecovnik igorpecovnik deleted the feat/add-edge-branch-to-community-targets branch January 24, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

02 Milestone: First quarter release Needs review Seeking for review size/medium PR with more then 50 and less then 250 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant