Skip to content

Conversation

@pmai
Copy link
Contributor

@pmai pmai commented Oct 16, 2025

Switches to osi-python bindings for transparent MCAP support

@pmai pmai self-assigned this Oct 16, 2025
@pmai pmai added the enhancement New feature or request label Oct 16, 2025
@pmai pmai force-pushed the feature/osi-python-mcap branch from a0de251 to 5fe03e2 Compare October 17, 2025 00:28
@asadekasam asadekasam added ReadyForCCBReview CCB will review it and change the status to ReadyForMerge if everything is ok ReadyForMerge An issue that has been reviewed by CCB and can be merged and removed ReadyForCCBReview CCB will review it and change the status to ReadyForMerge if everything is ok labels Nov 6, 2025
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
@pmai pmai force-pushed the feature/osi-python-mcap branch from 5fe03e2 to 5fe9385 Compare November 6, 2025 10:13
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
@pmai pmai force-pushed the feature/osi-python-mcap branch from 5fe9385 to 7af3060 Compare November 6, 2025 10:33
Copy link
Contributor

@TimmRuppert TimmRuppert left a comment

Choose a reason for hiding this comment

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

Except the two code suggestions looks good and works fine: I created some test files using the asam-osi-utilities/tree/main/examples and issues were found/not found as expected.

Thanks for all the contributions!

Comment on lines 71 to 74
config.get_config_param("InputFile"),
config.get_config_param("osiType"),
False,
config.get_config_param("osiTopic"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
config.get_config_param("InputFile"),
config.get_config_param("osiType"),
False,
config.get_config_param("osiTopic"),
path= config.get_config_param("InputFile"),
type_name = config.get_config_param("osiType"),
cache_messages = False,
topic = config.get_config_param("osiTopic"),

I know you wanted a review that it works but I could not resist to also look at the code ;)
As we just changed the interface and this priject also follows the latest osi python main I would recommend to change to keywords (to even fail a little bit earlier and more clear).

Comment on lines 473 to 476
config.get_config_param("InputFile"),
expected_type_name,
False,
config.get_config_param("osiTopic"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

Suggested change
config.get_config_param("InputFile"),
expected_type_name,
False,
config.get_config_param("osiTopic"),
path= config.get_config_param("InputFile"),
type_name = expected_type_name,
cache_messages = False,
topic = config.get_config_param("osiTopic"),

Add tests to ensure topic is correctly ignored for single trace files,
also fix formatting error in related_to code.

Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
@pmai pmai merged commit 8da7dfb into main Nov 7, 2025
16 checks passed
@pmai pmai deleted the feature/osi-python-mcap branch November 7, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ReadyForMerge An issue that has been reviewed by CCB and can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants