Skip to content

Release/9.1 to maintenance-10.x - #12005

Open
sensei-hacker wants to merge 7 commits into
maintenance-10.xfrom
release/9.1
Open

sensei-hacker wants to merge 7 commits into
maintenance-10.xfrom
release/9.1

Conversation

@sensei-hacker

Copy link
Copy Markdown
Member

No description provided.

maintenance-9.x -> maintenance-10.x (now the compatible/current choice)
maintenance-10.x -> maintenance-11.x (now the breaking/next-major choice)

maintenance-11.x was just created off maintenance-10.x's tip, per the
release process's "create the next major's branch at first RC" rule.
Merging to master means the change never ends up in any release, rather
than implying that's an acceptable default.
…ion-release91

Update PR branch-suggestion workflow for maintenance-11.x
…ion-release91

docs: update pr-branch-suggestion README entry for 10.x/11.x cycle
@qodo-code-review

Copy link
Copy Markdown
Contributor

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Advance branch guidance to 10.x/11.x and refresh README

⚙️ Configuration changes 📝 Documentation 🕐 Less than 10 minutes

Grey Divider

AI Description

• Routes compatible and breaking changes toward maintenance-10.x and maintenance-11.x.
• Warns that master-targeted changes will not enter a release.
• Links the documentation site and removes outdated release guidance from the README.
Diagram

graph TD
  PR["Master PR"] --> WF["Branch workflow"] --> MSG["Target suggestion"] --> COMPAT{"Compatibility?"}
  COMPAT -->|Compatible| M10["maintenance-10.x"]
  COMPAT -->|Breaking| M11["maintenance-11.x"]
Loading
High-Level Assessment

The current approach is appropriate: directly updating the workflow comment and its documentation keeps branch guidance explicit and easy to maintain. Deriving branch versions dynamically or introducing shared configuration would add complexity for infrequently changing release-cycle text.

Files changed (3) +9 / -31

Documentation (2) +6 / -28
README.mdDocument 10.x and 11.x branch suggestions +2/-1

Document 10.x and 11.x branch suggestions

• Updates the workflow catalog to identify maintenance-10.x as the backward-compatible target and maintenance-11.x as the breaking-change target.

.github/workflows/README.md

readme.mdLink the documentation site and remove obsolete guidance +4/-27

Link the documentation site and remove obsolete guidance

• Adds a prominent link to the INAV documentation site, updates the UBLOX GPS requirement wording, and removes the outdated INAV 7.1 compass PSA.

readme.md

Other (1) +3 / -3
pr-branch-suggestion.ymlAdvance automated branch guidance to the next release cycle +3/-3

Advance automated branch guidance to the next release cycle

• Replaces the 9.x/10.x recommendations with 10.x/11.x guidance. It also clarifies that changes merged only to master will not enter a release.

.github/workflows/pr-branch-suggestion.yml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Master changes can miss every release 🐞 Bug ≡ Correctness
Description
The branch-suggestion comment now tells contributors that merging to master means their change
never reaches a release. The documented release workflow merges the current maintenance branch into
master and then propagates master into the next version branch, so contributors may incorrectly
retarget valid changes away from the repository’s intended integration path.
Code

.github/workflows/pr-branch-suggestion.yml[27]

+            Merging to \`master\` would mean your change never ends up in any release.
Evidence
The changed workflow comment says changes merged to master never enter any release, while the
repository's release documentation says changes flow from the current maintenance branch through
master into the next major maintenance branch.

.github/workflows/pr-branch-suggestion.yml[27-27]
docs/development/Development.md[170-179]
docs/development/Development.md[187-198]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The branch-suggestion comment claims that changes merged to `master` never reach a release, but the repository's documented release workflow explicitly propagates changes from `master` into the next maintenance branch. This can cause contributors to target the wrong branch.

## Fix Focus Areas
- .github/workflows/pr-branch-suggestion.yml[27-27]
- docs/development/Development.md[170-198]

## Recommended Fix
Replace the absolute statement with wording that explains the intended role of `master` and directs contributors to the appropriate maintenance branch when they want a change included in a specific release. Keep the guidance consistent with the documented `maintenance-9.x -> master -> maintenance-10.x` propagation flow.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Suggested 11.x changes lack nightly builds 🐞 Bug ☼ Reliability
Description
The updated suggestion directs breaking changes to maintenance-11.x, but the nightly build
workflow has no maintenance-11.x push trigger. Contributors following the new instruction can
therefore merge changes to that branch without the repository’s nightly firmware build running for
it.
Code

.github/workflows/pr-branch-suggestion.yml[25]

+            - **\`maintenance-11.x\`** - If your change introduces compatibility requirements between firmware and configurator that would break 10.x compatibility. This is for PRs which will be included in INAV 11.x
Evidence
The changed comment explicitly recommends maintenance-11.x, while the nightly build workflow's
configured push branches stop at maintenance-10.x and do not include maintenance-11.x.

.github/workflows/pr-branch-suggestion.yml[25-25]
.github/workflows/nightly-build.yml[5-13]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The branch suggestion introduces `maintenance-11.x` as the destination for breaking changes, but the nightly build workflow does not run on pushes to that branch. This leaves the newly recommended release branch without nightly build coverage.

## Fix Focus Areas
- .github/workflows/pr-branch-suggestion.yml[25-25]
- .github/workflows/nightly-build.yml[5-13]

## Recommended Fix
Add `maintenance-11.x` to the nightly build workflow's branch trigger list, or update the branch suggestion to target only branches that are currently covered by the release validation workflows.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
Review mode: 🚀 Fast: The PR contains localized documentation and workflow-message updates with minimal behavioral impact and no security-sensitive or broad logic changes.

Grey Divider

Tip of the day
💡 Did you know, you can route each action level your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

- **\`maintenance-11.x\`** - If your change introduces compatibility requirements between firmware and configurator that would break 10.x compatibility. This is for PRs which will be included in INAV 11.x

If \`master\` is the correct target for this change, no action is needed.
Merging to \`master\` would mean your change never ends up in any release.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

1. Master changes can miss every release 🐞 Bug ≡ Correctness

The branch-suggestion comment now tells contributors that merging to master means their change
never reaches a release. The documented release workflow merges the current maintenance branch into
master and then propagates master into the next version branch, so contributors may incorrectly
retarget valid changes away from the repository’s intended integration path.
Agent Prompt
## Issue description
The branch-suggestion comment claims that changes merged to `master` never reach a release, but the repository's documented release workflow explicitly propagates changes from `master` into the next maintenance branch. This can cause contributors to target the wrong branch.

## Fix Focus Areas
- .github/workflows/pr-branch-suggestion.yml[27-27]
- docs/development/Development.md[170-198]

## Recommended Fix
Replace the absolute statement with wording that explains the intended role of `master` and directs contributors to the appropriate maintenance branch when they want a change included in a specific release. Keep the guidance consistent with the documented `maintenance-9.x -> master -> maintenance-10.x` propagation flow.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

- **\`maintenance-10.x\`** - If your change is backward-compatible and won't create compatibility issues between INAV firmware and Configurator 10.x versions. This will allow your PR to be included in the next 10.x release.

- **\`maintenance-10.x\`** - If your change introduces compatibility requirements between firmware and configurator that would break 9.x compatibility. This is for PRs which will be included in INAV 10.x
- **\`maintenance-11.x\`** - If your change introduces compatibility requirements between firmware and configurator that would break 10.x compatibility. This is for PRs which will be included in INAV 11.x

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

2. Suggested 11.x changes lack nightly builds 🐞 Bug ☼ Reliability

The updated suggestion directs breaking changes to maintenance-11.x, but the nightly build
workflow has no maintenance-11.x push trigger. Contributors following the new instruction can
therefore merge changes to that branch without the repository’s nightly firmware build running for
it.
Agent Prompt
## Issue description
The branch suggestion introduces `maintenance-11.x` as the destination for breaking changes, but the nightly build workflow does not run on pushes to that branch. This leaves the newly recommended release branch without nightly build coverage.

## Fix Focus Areas
- .github/workflows/pr-branch-suggestion.yml[25-25]
- .github/workflows/nightly-build.yml[5-13]

## Recommended Fix
Add `maintenance-11.x` to the nightly build workflow's branch trigger list, or update the branch suggestion to target only branches that are currently covered by the release validation workflows.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@github-actions

Copy link
Copy Markdown

RAM / Flash usage vs. base commit 967ca95 — commit 7cb12ea

Target Flash Δ RAM Δ
MATEKF405 ⚠️ +96980 B (+15.51%) CCM: +3204 B (+12.69%)
RAM: +2424 B (+2.24%)
MATEKF722 ⚠️ +11932 B (+2.55%) ITCM_RAM: +560 B (+4.71%)
RAM: -9296 B (-9.48%)
TCM: +68 B (+0.27%)
MATEKF765 ⚠️ +108792 B (+16.84%) DTCM_RAM: +3348 B (+13.26%)
SRAM1: +13992 B (+12.33%)
MATEKH743 ⚠️ +133296 B (+20.06%) D2_RAM: -11520 B (-77.92%)
DTCM_RAM: +144 B (+1.13%)
ITCM_RAM: +1776 B (+12.21%)
RAM: +32272 B (+28.76%)

See RAM/flash optimization guide for techniques to reduce usage.

@github-actions

Copy link
Copy Markdown

Test firmware build ready — commit 7cb12ea

Download firmware for PR #12005

250 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant