Skip to content

feat: update OpenSOME/IP from v0.0.5 to v0.1.0 - #18

Merged
vtz merged 3 commits into
mainfrom
update-opensomeip-v0.1.0
May 30, 2026
Merged

feat: update OpenSOME/IP from v0.0.5 to v0.1.0#18
vtz merged 3 commits into
mainfrom
update-opensomeip-v0.1.0

Conversation

@vtz

@vtz vtz commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bump opensomeip dependency from v0.0.5 to v0.1.0 in west.yml, cmake/opensomeip.cmake, and .specs/prd.md
  • v0.1.0 brings spec-compliance fixes for SD wire formats, shared library packaging, MISRA-aligned static analysis, and 15 new regression tests
  • No source code changes needed — body-ecu's opensomeip API usage (confined to SomeIpSystem) is already compatible with all breaking changes (explicit constructors, type widenings, deleted copy/move)

Test plan

  • CI passes (unit tests, build matrix)
  • SOME/IP service discovery works between MCU and MPU (SD wire format changed)
  • Integration tests pass (tests/integration/test_two_process.py)

Fixes #17

Made with Cursor

Summary by CodeRabbit

Release Notes

  • Chores
    • Upgraded OpenSOME/IP dependency from version 0.0.5 to 0.1.0.

Review Change Stack

Bump opensomeip dependency to v0.1.0 which brings spec-compliance fixes
for SD wire formats, shared library packaging, and MISRA-aligned static
analysis. No source changes required — body-ecu's API usage is already
compatible with the new explicit constructors and type widenings.

Fixes #17

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented May 25, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The PR upgrades OpenSOME/IP from v0.0.5 to v0.1.0 across three manifest and configuration files. CMake adds a BUILD_SHARED_LIBS override mechanism to handle v0.1.0+'s library build behavior, temporarily forcing static builds during FetchContent resolution.

Changes

OpenSOME/IP v0.1.0 Upgrade

Layer / File(s) Summary
Dependency version pins
west.yml, .specs/prd.md
West manifest and product requirements documentation update OpenSOME/IP revision from v0.0.5 to v0.1.0.
CMake build configuration for v0.1.0
cmake/opensomeip.cmake
CMake adds temporary BUILD_SHARED_LIBS override logic (OFF) before FetchContent resolution to force static library builds, accommodates v0.1.0+ behavior, and restores the original flag afterward. FetchContent GIT_TAG updated to v0.1.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related issues

Poem

🐰 Hop along to v0.1.0 so fine,
Static builds now in perfect line,
Flags are saved and then restored,
CMake logic, skillfully poured!
OpenSOME/IP leaps ahead with pride. 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title accurately summarizes the main change: updating OpenSOME/IP from v0.0.5 to v0.1.0 across multiple files.
Linked Issues check ✅ Passed All coding requirements from issue #17 are met: west.yml, cmake/opensomeip.cmake, and .specs/prd.md versions updated from v0.0.5 to v0.1.0.
Out of Scope Changes check ✅ Passed All changes are within scope; the CMAKE logic adjustment for static library builds supports RPM/Fedora compatibility, directly related to the v0.1.0 upgrade objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-opensomeip-v0.1.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented May 25, 2026

Copy link
Copy Markdown

Test Results

172 tests  ±0   172 ✅ ±0   0s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit b4771a4. ± Comparison against base commit 5c447ae.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented May 25, 2026

Copy link
Copy Markdown

Integration Test Results

18 tests  ±0   17 ✅ ±0   17s ⏱️ ±0s
 4 suites ±0    1 💤 ±0 
 4 files   ±0    0 ❌ ±0 

Results for commit b4771a4. ± Comparison against base commit 5c447ae.

♻️ This comment has been updated with latest results.

opensomeip v0.1.0 uses add_library() without STATIC/SHARED, so it
follows BUILD_SHARED_LIBS. Fedora's %cmake macro sets this to ON,
causing unresolved symbol errors at link time. Save and restore the
variable around the opensomeip include to always build it statically.

Co-authored-by: Cursor <cursoragent@cursor.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@cmake/opensomeip.cmake`:
- Around line 22-23: The current save/restore of BUILD_SHARED_LIBS using
_SAVED_BUILD_SHARED_LIBS will restore an empty string if BUILD_SHARED_LIBS was
originally undefined; change the pattern to record whether BUILD_SHARED_LIBS was
defined (e.g., save a flag like _SAVED_BUILD_SHARED_LIBS_DEFINED in addition to
_SAVED_BUILD_SHARED_LIBS) when you set _SAVED_BUILD_SHARED_LIBS, and on restore
check that flag: if it was defined, set BUILD_SHARED_LIBS back to the saved
value, otherwise unset BUILD_SHARED_LIBS so it remains undefined; update the
code that references _SAVED_BUILD_SHARED_LIBS and BUILD_SHARED_LIBS accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5a9509fc-a3f5-4bba-8a26-0255bb82ca06

📥 Commits

Reviewing files that changed from the base of the PR and between 5c447ae and 99ebb0f.

📒 Files selected for processing (3)
  • .specs/prd.md
  • cmake/opensomeip.cmake
  • west.yml

Comment thread cmake/opensomeip.cmake Outdated
Use DEFINED check to distinguish between unset and empty-string when
restoring BUILD_SHARED_LIBS after opensomeip inclusion.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vtz
vtz merged commit 5cbd9e2 into main May 30, 2026
14 checks passed
@vtz
vtz deleted the update-opensomeip-v0.1.0 branch May 30, 2026 06:06
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.

Update OpenSOME/IP from v0.0.5 to v0.1.0

1 participant