-
Notifications
You must be signed in to change notification settings - Fork 141
Fix for incorrect delimiters in relative_input_file on Windows #745
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
Fix for incorrect delimiters in relative_input_file on Windows #745
Conversation
- Fix for ""// with input from rosbag2_storage_mcap_testdata/msg\\ComplexMsgDependsOnIdl.msg" - On Windows platform message generator messing up with the input file name ""/msg\\ComplexMsgDependsOnIdl.msg" by inserting double backslashes instead of one forward slash. - Partial backport from ros2#576 Signed-off-by: Michael Orlov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me... but I wonder if it should be considered a breaking change for any existing code depending on the contents of these IDL files within the release
|
@emersonknapp This is a good question. I've tried to search in regards changed
i.e. It will not break any API or ABI compatibility. |
|
Gist: https://gist.githubusercontent.com/MichaelOrlov/c5c8c547760e183e8f3fb587ac70472f/raw/afd26accee89750545fe9e56bc8256e161a4412b/ros2.repos |
|
Re-start CI with focal target |
|
Windows build failed due to the issue with the Connext_DDS which is exists in baseline and failing every other Windows job with error messages: Re-running Windows job one more time without |
|
Windows CI job fails in I've made some investigation and was able to reproduce this failure on my local machine with and without fixes from this PR. It means that this failure exists on the baseline even without my changes. The tests will pass without any errors with and without changes from this PR. |
|
@emersonknapp @clalancette Kindly ping for review and merge. |
|
Hey @MichaelOrlov @emersonknapp I can help with this, I'm in for getting things merged but I agree with Emerson, let's have CI sorted out atleast before merging this one. |
|
I don't think we should move forward with this change. There will only be one last release, and we don't want to change anything about code generation without having any future chance to fix unexpected consequences. Since this change was intended to fix a test case in a downstream package, I think we should just patch that test to go green for the current behavior, which while maybe odd should be considered correct and final for Foxy |
- Replaces ros2/rosidl#745 Signed-off-by: Michael Orlov <[email protected]>
- Replaces ros2/rosidl#745 Signed-off-by: Michael Orlov <[email protected]>
- Replaces ros2/rosidl#745 Signed-off-by: Michael Orlov <[email protected]>
|
@quarkytale CI still magically fails in
|
|
Ok folks.
|
|
@emersonknapp @quarkytale @clalancette Please see my comment ^^^^ (above). |
|
I don't understand why not option 3) Just merge ros2/rosbag2#1355 |
Because failure in |
|
I still don't get it - this change #745 doesn't fix |
- Replaces ros2/rosidl#745 Signed-off-by: Michael Orlov <[email protected]>
|
@emersonknapp Yes. failure in the The reason why I prefer #745 versus ros2/rosbag2#1355 is that #745 is really fixing the root cause of the failure in the |
|
I'm trying to argue that Foxy's codegen should be considered finalized, and since it doesn't affect behavior we can have a little kludge workaround downstream so that the test is not "overfit" to exact text output but instead just tests what matters, which is that things work correctly. |
|
As regards to the
I've spent some time trying to figure out why it fails and found that it fails only if sourcing |
|
Why consider Foxy's codegen as finalized if we know that there is obviously a bug in it and we have an adequate fix for it? |
If that fix actually passes CI and makes the final snapshot stable then that's all I care about. |
Though, it can't magically fix what was already broken before in the |
|
Uh oh!
There was an error while loading. Please reload this page.