Skip to content

refactor(autoware_universe): use autoware_ament_auto_package in system packages#12263

Open
vish0012 wants to merge 2 commits intoautowarefoundation:mainfrom
vish0012:refactor/system-use-autoware-ament-auto-package
Open

refactor(autoware_universe): use autoware_ament_auto_package in system packages#12263
vish0012 wants to merge 2 commits intoautowarefoundation:mainfrom
vish0012:refactor/system-use-autoware-ament-auto-package

Conversation

@vish0012
Copy link
Copy Markdown
Contributor

Description

This PR replaces ament_auto_package() with autoware_ament_auto_package() for warned system packages in autoware_universe that emitted scoped header installation warnings during the clean build investigation.

Updated packages:

  • autoware_bluetooth_monitor
  • autoware_command_mode_decider
  • autoware_command_mode_switcher
  • autoware_diagnostic_graph_aggregator
  • autoware_diagnostic_graph_utils
  • autoware_dummy_diag_publisher
  • autoware_dummy_infrastructure
  • autoware_duplicated_node_checker
  • autoware_mrm_comfortable_stop_operator
  • autoware_mrm_emergency_stop_operator
  • autoware_mrm_handler
  • autoware_system_monitor
  • autoware_velodyne_monitor

How was this PR tested?

Tested with:

colcon build --base-paths ~/autoware_scoped_headers/autoware/src --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to \
autoware_dummy_diag_publisher \
autoware_duplicated_node_checker \
autoware_diagnostic_graph_utils \
autoware_diagnostic_graph_aggregator \
autoware_bluetooth_monitor \
autoware_mrm_comfortable_stop_operator \
autoware_mrm_emergency_stop_operator \
autoware_mrm_handler \
autoware_system_monitor \
autoware_velodyne_monitor \
autoware_command_mode_decider \
autoware_command_mode_switcher \
autoware_dummy_infrastructure

The target packages built successfully.

Notes for reviewers

This is part of the follow-up work after adding USE_SCOPED_HEADER_INSTALL_DIR support to autoware_cmake.

Effects on system behavior

No functional behavior change is intended. This updates the package macro to the Autoware wrapper for the scoped header migration work.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@vish0012 vish0012 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 10, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.27%. Comparing base (327726a) to head (6cd81e8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12263      +/-   ##
==========================================
+ Coverage   18.48%   19.27%   +0.78%     
==========================================
  Files        1858     1895      +37     
  Lines      129162   130790    +1628     
  Branches    45965    48428    +2463     
==========================================
+ Hits        23872    25206    +1334     
- Misses      85485    86814    +1329     
+ Partials    19805    18770    -1035     
Flag Coverage Δ *Carryforward flag
daily 21.00% <ø> (ø) Carriedforward from f1eb2d7
daily-cuda 18.56% <ø> (ø) Carriedforward from f1eb2d7
daily-humble-amd64-cuda 18.44% <ø> (+<0.01%) ⬆️ Carriedforward from f1eb2d7
daily-humble-amd64-nocuda 20.96% <ø> (-0.01%) ⬇️ Carriedforward from f1eb2d7
differential 4.47% <ø> (?)
total-cuda 18.56% <ø> (ø) Carriedforward from f1eb2d7
total-humble-cuda 18.43% <ø> (-0.01%) ⬇️ Carriedforward from f1eb2d7

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Contributor

@nishikawa-masaki nishikawa-masaki left a comment

Choose a reason for hiding this comment

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

Looks Good To Me.

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

Labels

component:system System design and integration. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

5 participants