Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Oct 31, 2025

Stack from ghstack (oldest at bottom):

Add enough information to Instance objects so they can produce a qualified name for themselves. Example:

"<root>.<tests.test_python_actors.Named the_name{'f': 0/2}>"

The name is the full path through their creators to the root actor, along with class names and given names for each actor.

Two follow ups:

  1. get this string into user logging loggers so any log they print includes what actor it is running under.

  2. Use this information when creating a supervision exceptions so that we producing a nicely formatted error message.

Differential Revision: D85988370

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

Add enough information to Instance objects so they can produce a qualified name for themselves. Example:

```
"<root>.<tests.test_python_actors.Named the_name{'f': 0/2}>"
```

The name is the full path through their creators to the root actor, along with class names and given names for each actor.

Two follow ups:

1. get this string into user logging loggers so any log they print includes what actor it is running under.

2. Use this information when creating a supervision exceptions so that we producing a nicely formatted error message.

Differential Revision: [D85988370](https://our.internmc.facebook.com/intern/diff/D85988370/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85988370/)!

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Oct 31, 2025
Add enough information to Instance objects so they can produce a qualified name for themselves. Example:

```
"<root>.<tests.test_python_actors.Named the_name{'f': 0/2}>"
```

The name is the full path through their creators to the root actor, along with class names and given names for each actor.

Two follow ups:

1. get this string into user logging loggers so any log they print includes what actor it is running under.

2. Use this information when creating a supervision exceptions so that we producing a nicely formatted error message.

Differential Revision: [D85988370](https://our.internmc.facebook.com/intern/diff/D85988370/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85988370/)!

ghstack-source-id: 320185124
Pull Request resolved: #1731
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants