Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not ignore 'rosdep install' failures/errors #957

Merged

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Feb 12, 2025

Closes #954

This || true after rosdep install has been in action-ros-ci since the very first implementation: https://github.com/ros-tooling/action-ros-ci/blame/b08ee66c5236c0e9df3b57a86f851e9ca66956af/src/action-ros2-ci.ts#L66-L72. The comment specifically says:

    // For "latest" builds, rosdep often misses some keys, adding "|| true", to
    // ignore those failures, as it is often non-critical.

This might not be a valid reason. After all, if some keys are missing, then some dependencies will be missing. Also, as laid out in #954, this hides actual errors reported by rosdep about dependencies declared in package.xml files.

@christophebedard christophebedard force-pushed the christophebedard/rosdep-install-remove-or-true branch from 7fcf4d2 to ac2a9a3 Compare February 12, 2025 16:27
@christophebedard
Copy link
Member Author

I think I'll bump from v0.3 to v0.4 to be louder about this change, just in case.

@christophebedard christophebedard merged commit 5549ca6 into master Feb 12, 2025
30 of 36 checks passed
@christophebedard christophebedard deleted the christophebedard/rosdep-install-remove-or-true branch February 12, 2025 17:53
@christophebedard
Copy link
Member Author

Released as 0.4.0/v0.4.

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.

Errors in package.xml doesn't stop action, failed dependency fullfilment revealed later at build
2 participants