Skip to content

Conversation

Rahul-K-A
Copy link
Contributor

@Rahul-K-A Rahul-K-A commented Apr 3, 2025

🦟 Bug fix

Issue number: 349

Summary

Fixed an issue where the download utility returning a success, even if the actual download fails. Main causes appeared to be some seemingly unintended typecasting between int and gz::fuel_tools::Result, as well as not checking if the result value was actually a success or not.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Rahul K.A <karahul209@gmail.com>
Signed-off-by: Rahul K.A <karahul209@gmail.com>
Signed-off-by: Rahul K.A <karahul209@gmail.com>
Signed-off-by: Rahul K.A <karahul209@gmail.com>
Signed-off-by: Rahul K.A <karahul209@gmail.com>
@kscottz
Copy link

kscottz commented Apr 3, 2025

@ahcorde this is one of your requests. Submitter has questions on the issue ticket #349.

@kscottz kscottz requested review from ahcorde and removed request for nkoenig April 3, 2025 21:29
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (gz-fuel-tools10@e7ac6d4). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/gz.cc 60.00% 2 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##             gz-fuel-tools10     #459   +/-   ##
==================================================
  Coverage                   ?   75.82%           
==================================================
  Files                      ?       19           
  Lines                      ?     3144           
  Branches                   ?        0           
==================================================
  Hits                       ?     2384           
  Misses                     ?      760           
  Partials                   ?        0           

☔ 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.

@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Apr 8, 2025
ahcorde added 2 commits April 8, 2025 21:09
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde ahcorde merged commit 79347d5 into gazebosim:gz-fuel-tools10 Apr 8, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Apr 8, 2025
vermaete added a commit to vermaete/meta-ros that referenced this pull request Aug 3, 2025
Needed for gz-fuel-tools-vendor [master]{rolling}

1. Migrate bazel build setup to use bzlmod
    * [Pull request ros#466](gazebosim/gz-fuel-tools#466)
    * [Pull request ros#467](gazebosim/gz-fuel-tools#467)

1. ci: run cppcheck, cpplint, doxygen on noble
    * [Pull request ros#462](gazebosim/gz-fuel-tools#462)

1. Fix return value when download fails
    * [Pull request ros#459](gazebosim/gz-fuel-tools#459)

1. Fix code documentation spelling (ros#458)
    * [Pull request ros#460](gazebosim/gz-fuel-tools#460)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
vermaete added a commit to vermaete/meta-ros that referenced this pull request Aug 3, 2025
Needed for gz-fuel-tools-vendor [master]{rolling}

1. Migrate bazel build setup to use bzlmod
    * [Pull request ros#466](gazebosim/gz-fuel-tools#466)
    * [Pull request ros#467](gazebosim/gz-fuel-tools#467)

1. ci: run cppcheck, cpplint, doxygen on noble
    * [Pull request ros#462](gazebosim/gz-fuel-tools#462)

1. Fix return value when download fails
    * [Pull request ros#459](gazebosim/gz-fuel-tools#459)

1. Fix code documentation spelling (ros#458)
    * [Pull request ros#460](gazebosim/gz-fuel-tools#460)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants