Skip to content

chore: initial import#25

Draft
lh-sag wants to merge 1 commit intoeclipse-opensovd:mainfrom
lh-sag:inc/liebherr
Draft

chore: initial import#25
lh-sag wants to merge 1 commit intoeclipse-opensovd:mainfrom
lh-sag:inc/liebherr

Conversation

@lh-sag
Copy link

@lh-sag lh-sag commented Feb 9, 2026

Summary

Incubator for OpenSOVD Core

Checklist

  • I have tested my changes locally
  • I have added or updated documentation
  • I have linked related issues or discussions
  • I have added or updated tests

Related

Notes for Reviewers

Copy link
Contributor

@IoanAndrasi IoanAndrasi left a comment

Choose a reason for hiding this comment

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

Great work for initial work, what I would also mention is that some files are very well documented with comments while others lack's comments.

id: claude-review
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Who is providing this secret key ?
If token usage is hit maybe we need another secret key as backup ?

Copy link
Author

Choose a reason for hiding this comment

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

We will get copilot support, not sure when.

}

struct TopologyInner {
state: RwLock<TopologyState>,
Copy link
Contributor

@IoanAndrasi IoanAndrasi Feb 11, 2026

Choose a reason for hiding this comment

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

Shouldn't we use tokio::sync::RwLock for all locks which is more ideal for async context ?
std::sync::RwLock blocks the threads which increase the risk of task starvation.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for your remark. As long as we do not hold the lock across async points we are safe, rust type system will catch this anyhow. The code is correct.
But you triggered some thoughts whether we can get rid of Arc since we hold a RW lock. Let me come back to you once the idea is settled to show you an alternative.

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.

2 participants