Skip to content

Minor fixes: warnings, CI, and test stability#14209

Open
HTRamsey wants to merge 1 commit intomavlink:masterfrom
HTRamsey:fix/minor-cleanups
Open

Minor fixes: warnings, CI, and test stability#14209
HTRamsey wants to merge 1 commit intomavlink:masterfrom
HTRamsey:fix/minor-cleanups

Conversation

@HTRamsey
Copy link
Collaborator

Summary

  • earcut_hpp: Use CPM SYSTEM YES instead of qgc_disable_dependency_warnings for INTERFACE library
  • Geoclue2 warning: Set setDesktopFileName using QGC_PACKAGE_NAME macro to silence qt.positioning.geoclue2 warning
  • Docs CI: Add checkout step in deploy jobs so local composite action (.github/actions/deploy-docs) is available
  • GStreamer test: Skip _testIsValidRtspUri under AddressSanitizer (times out at 300s)
  • macOS codesigning: Parallelize codesign invocations for faster bundle signing

Test plan

  • Verify CMake configure succeeds without earcut_hpp warning
  • Verify Geoclue2 warning no longer appears on Linux
  • Verify docs deploy workflow succeeds in CI
  • Verify GStreamer test suite passes with and without ASAN
  • Verify macOS codesigning completes successfully

Copilot AI review requested due to automatic review settings March 25, 2026 07:06
@github-actions github-actions bot added github_actions Pull requests that update GitHub Actions code CMake Tests size/XS labels Mar 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bundles a set of small build/CI/test fixes across the QGroundControl codebase, aiming to reduce warnings, improve CI reliability, stabilize sanitizer runs, and speed up macOS bundle signing.

Changes:

  • Skip a flaky GStreamer RTSP URI validation test under AddressSanitizer.
  • Add QGC_PACKAGE_NAME and use it for setDesktopFileName to silence Geoclue2 warnings.
  • Adjust CI doc deploy workflows to use the local .github/actions/deploy-docs action and parallelize macOS codesigning.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/VideoManager/GStreamer/GStreamerTest.cc Skips a specific RTSP URI validation test under ASan to avoid timeouts.
src/qgc_version.h.in Adds QGC_PACKAGE_NAME macro to the generated version header.
src/Viewer3D/Providers/Osm/CMakeLists.txt Uses CPM’s SYSTEM YES for earcut_hpp to suppress dependency warnings.
src/QGCApplication.cc Sets the desktop file name using QGC_PACKAGE_NAME to address Qt Positioning/Geoclue2 warnings.
cmake/install/SignMacBundle.cmake Introduces parallel codesign helper and adjusts framework signing flow.
.github/workflows/doxygen_deploy.yml Adds a checkout step intended to make the local deploy-docs action available.
.github/workflows/docs_deploy.yml Adds a checkout step intended to make the local deploy-docs action available.

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from fbb5341 to 02951b5 Compare March 25, 2026 07:22
@github-actions
Copy link
Contributor

github-actions bot commented Mar 25, 2026

Build Results

Platform Status

Platform Status Details
Linux Passed View
Windows Passed View
MacOS Passed View
Android Passed View

All builds passed.

Pre-commit

Check Status Details
pre-commit Failed (non-blocking) View

Pre-commit hooks: 4 passed, 32 failed, 7 skipped.

Test Results

linux-coverage: 67 passed, 0 skipped
linux-sanitizers: 67 passed, 0 skipped
Total: 134 passed, 0 skipped

Code Coverage

Coverage: 57.4%

No baseline available for comparison

Artifact Sizes

Artifact Size
QGroundControl 246.90 MB
QGroundControl 337.16 MB
QGroundControl-aarch64 176.80 MB
QGroundControl-installer-AMD64 134.88 MB
QGroundControl-installer-AMD64-ARM64 77.49 MB
QGroundControl-installer-ARM64 106.21 MB
QGroundControl-mac 188.15 MB
QGroundControl-windows 188.18 MB
QGroundControl-x86_64 171.97 MB
No baseline available for comparison---
Updated: 2026-03-25 16:46:09 UTC • Triggered by: Android

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch 4 times, most recently from b377291 to 8cd4978 Compare March 25, 2026 12:48
@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from 8cd4978 to 7a6752c Compare March 25, 2026 13:01
@codecov
Copy link

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@f95d415). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #14209   +/-   ##
=========================================
  Coverage          ?   25.47%           
=========================================
  Files             ?      740           
  Lines             ?    67710           
  Branches          ?    31505           
=========================================
  Hits              ?    17250           
  Misses            ?    37788           
  Partials          ?    12672           
Flag Coverage Δ
unittests 25.47% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f95d415...448f4fd. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from 7a6752c to 586044c Compare March 25, 2026 14:17
- Use CPM SYSTEM YES for earcut_hpp instead of qgc_disable_dependency_warnings
- Set desktop file name to silence Geoclue2 positioning warning
- Add checkout step in docs deploy workflows for local composite action
- Skip GStreamer RTSP URI test under AddressSanitizer (300s timeout)
- Parallelize macOS bundle codesigning
@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from 586044c to 448f4fd Compare March 25, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake github_actions Pull requests that update GitHub Actions code MAVLink size/M Tests translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants