Skip to content

Conversation

@maciejmajek
Copy link
Member

@maciejmajek maciejmajek commented Dec 16, 2025

Purpose

#733

Proposed Changes

#733

Issues

#733

Testing

source setup_shell.sh
RAI_OBS_ENDPOINT="ws" python test_obs.py

@Juliaj
Copy link
Collaborator

Juliaj commented Dec 17, 2025

Since this is a WIP, I am holding off the review. A few reference implementations to illustrate the ideas given to your RFC: obs context, life cycle + heartbeat, here&here.

fn = getattr(cls, method_name, None)
handler = handler_map.get(method_name)
if not fn or not handler:
continue
Copy link
Collaborator

@Juliaj Juliaj Dec 17, 2025

Choose a reason for hiding this comment

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

When running unit test, this caused one of the tests to fail with timeout. This in turn revealed an issue of double-wrapping inherited methods. This can happen when a base class is created with this metaclass and a subclass is created with the same metaclass. See more details at here

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.

3 participants