Skip to content

Conversation

@mgeplf
Copy link
Collaborator

@mgeplf mgeplf commented Mar 3, 2025

No description provided.

@mgeplf mgeplf requested a review from juanjosegarcan April 28, 2025 08:59
@mgeplf mgeplf marked this pull request as ready for review April 28, 2025 08:59
@mgeplf mgeplf requested review from WeinaJi and cattabiani April 28, 2025 08:59
@cattabiani
Copy link
Contributor

I feel I dunno enough (I do not know anything. it is the first time I see these snippets) and I cannot comment if we need still need this or not. @WeinaJi ?

@cattabiani
Copy link
Contributor

(also, a small description or pointing to an issue would be nice)

@juanjosegarcan
Copy link
Contributor

LGTM from code pov but as Catta I can not say much more.

@mgeplf
Copy link
Collaborator Author

mgeplf commented Apr 28, 2025

@cattabiani > (also, a small description or pointing to an issue would be nice)

What would you add to remove unused ConnectionManagerBase::reenable* functions?

@cattabiani
Copy link
Contributor

@mgeplf

Example of questions that may be explained

  • what was it use for?
  • why is it no more relevant?
  • why there were no tests about this?

@mgeplf
Copy link
Collaborator Author

mgeplf commented Apr 28, 2025

I can't answer any of those; as far as I can tell, it was unused since it's never referenced by anything else, which is also why it's not relevant and probably why there were no tests for it.

@WeinaJi
Copy link
Collaborator

WeinaJi commented Apr 28, 2025

I can't answer any of those; as far as I can tell, it was unused since it's never referenced by anything else, which is also why it's not relevant and probably why there were no tests for it.

I guess those functions were used by some scientists at the BBP time. There are also functions like disable_group, disable which seems not tested.
Is there an issue to track this change? We could discuss further in the ticket.

@mgeplf
Copy link
Collaborator Author

mgeplf commented Apr 28, 2025

Is there an issue to track this change? We could discuss further in the ticket.

There isn't an issue, I guess I could make one; is there an advantage to that compared to having the discussion here?

@cattabiani
Copy link
Contributor

because this discussion will be lost a little no?

@mgeplf
Copy link
Collaborator Author

mgeplf commented Apr 28, 2025

Not sure how it would get lost, but I have made a ticket: #225

mgeplf added 2 commits May 6, 2025 15:45
    ConnectionManagerBase::delete
    ConnectionManagerBase::disable
    ConnectionManagerBase::delete_group
    ConnectionManagerBase::disable_group
    ConnectionManagerBase::get_disabled
Copy link
Collaborator

@WeinaJi WeinaJi left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@mgeplf mgeplf merged commit ef3c742 into main May 7, 2025
18 checks passed
@mgeplf mgeplf deleted the remove-reenable branch May 7, 2025 09:01
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.

5 participants