open-rmf / open-rmf/rmf_task

Fix uncrustify tests for humble

Open
#68 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
27
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Bug report

Looks like a minor uncrustify discrepancy:
https://github.com/open-rmf/rmf_task/runs/8285620339?check_suite_focus=true#step:5:1738

Required information:
  • Operating system and version:
    • jammy
  • OpenRMF installation type:
    • source
  • ROS distribution and version:
    • humble
  • ROS installation type:
    • ros-tooling/setup-ros@v0.4
Description of the bug

https://github.com/open-rmf/rmf_task/runs/8285620339?check_suite_focus=true#step:5:1738

  2: --- src/rmf_task/TaskPlanner.cpp
  2: +++ src/rmf_task/TaskPlanner.cpp.uncrustify
  2: @@ -541 +541,2 @@
  2: -        return {};
  2: +        return {}
  2: +      ;
Steps to reproduce the bug

Reproducible in CI runs. No tested in local.

Expected behavior

Tests pass.

Actual behavior

Test fails

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/rmf_task/TaskPlanner.cpp around line 541 and reproduce the uncrustify discrepancy from the linked CI run on humble. Check the formatting test and its configuration, then verify that the uncrustify tests pass without moving the semicolon onto a separate line.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.