Skip to content

Add CollectiveRTHPlanResult.minRTHAltitude field - #8

Merged
ntamas merged 1 commit into
mainfrom
feat/add-CollectiveRTHPlanResult-minRTHAltitude-attr
Sep 21, 2026
Merged

ntamas merged 1 commit into
mainfrom
feat/add-CollectiveRTHPlanResult-minRTHAltitude-attr

Conversation

@volfpeter

@volfpeter volfpeter commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Collective return-to-home plan results now optionally include the minimum return altitude in meters.
    • The value may be null when no plans involve horizontal movement and may be absent for results from older servers.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4549cad9-acc8-4736-9dc7-e52457a4cf37

📥 Commits

Reviewing files that changed from the base of the PR and between ed6857a and b9c4067.

📒 Files selected for processing (2)
  • src/flockwave/spec/definitions.json
  • types/index.d.ts

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The collective RTH plan result now includes an optional minRTHAltitude field in the JSON schema and TypeScript interface. The field accepts a number or null and represents the minimum arrival altitude of RTH plans with horizontal motion.

Changes

Collective RTH altitude contract

Layer / File(s) Summary
Add minimum RTH altitude field
src/flockwave/spec/definitions.json, types/index.d.ts
The schema and CollectiveRTHPlanResult interface define optional minRTHAltitude data as `number

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: adding the optional CollectiveRTHPlanResult.minRTHAltitude field.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.66%. Comparing base (ed6857a) to head (b9c4067).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   68.66%   68.66%           
=======================================
  Files           5        5           
  Lines         150      150           
  Branches       14       14           
=======================================
  Hits          103      103           
  Misses         37       37           
  Partials       10       10           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ntamas
ntamas merged commit 8cf20b3 into main Sep 21, 2026
12 checks passed
@ntamas
ntamas deleted the feat/add-CollectiveRTHPlanResult-minRTHAltitude-attr branch September 21, 2026 13:10
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.

2 participants