Skip to content

fix: make ci checks pass#52

Merged
osmaczko merged 1 commit intomainfrom
fix/ci-checks
Feb 10, 2026
Merged

fix: make ci checks pass#52
osmaczko merged 1 commit intomainfrom
fix/ci-checks

Conversation

@osmaczko
Copy link
Contributor

No description provided.

@osmaczko osmaczko requested review from jazzz and kaichaosun February 10, 2026 16:37
@osmaczko osmaczko force-pushed the fix/ci-checks branch 2 times, most recently from 9babdf1 to f20f9f2 Compare February 10, 2026 16:47
Copy link
Collaborator

@jazzz jazzz left a comment

Choose a reason for hiding this comment

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

These are changes that have been bugging me. Thanks for taking care of them.

Pre-approving, but I'd like to see a plan for exposing conversation_ids() over FFI to make sure that work doesn't get lost.


impl Id for GroupTestConvo {
fn id(&self) -> ConversationId {
fn id(&self) -> ConversationId<'_> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This elided lifetime here is not necessary.

Is this a specific style choice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a style choice. The <'_> is actually required by the mismatched_lifetime_syntaxes lint (which is promoted to an error by -D warnings in CI). Without it, clippy fails.

Since ConversationId<'a> is a type alias for &'a str, using it without <'_> in fn id(&self) -> ConversationId hides the lifetime relationship with &self.

Comment on lines 57 to 59
pub fn conversation_ids(&self) -> Vec<ConversationIdOwned> {
self.conversations.keys().cloned().collect()
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function needs to be exposed via FFI. Rather than deleting it I would suggest creating a ticket to expose it - and resolve the warning that way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, added it back with #[allow(dead_code)] until it gets exposed via FFI.

@osmaczko osmaczko merged commit cd737ea into main Feb 10, 2026
3 checks passed
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