Skip to content

Propagate (atespace/actor_id) to atelet.#373

Merged
Haven Xia (HavenXia) merged 1 commit into
agent-substrate:mainfrom
juli4n:atelet_api
Jul 6, 2026
Merged

Propagate (atespace/actor_id) to atelet.#373
Haven Xia (HavenXia) merged 1 commit into
agent-substrate:mainfrom
juli4n:atelet_api

Conversation

@juli4n

Copy link
Copy Markdown
Collaborator

This fixes an issue where atelet/ateom will clash the state of actors with same ID within different atespaces.

Once substrate resources get UIDs, we should revisit the way atelet / ateom does the bookkeeping and check in which cases it should use UID instead of (atespace,actor_id).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Adding actor_atespace to log labels LGTM — logs are the right layer for per-atespace attribution.

But could we keep actor_template_name (actor_template_namespace can be removed) on the log labels in addition, rather than replacing them?

"Show my logs from all actors of template X" is a real debugging workflow IMO, and since one atespace can run actors from many templates, atespace itself can't answer it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Comment thread docs/observability.md

#### 2. Template-Centric View
To monitor or debug all actor instances created from a specific template (e.g., analyzing the collective behavior or error rates of all counter actors):
#### 2. Atespace-Centric View

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same to my another comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@juli4n Julian Gutierrez Oschmann (juli4n) force-pushed the atelet_api branch 2 times, most recently from c891dfe to fa5b164 Compare July 6, 2026 13:47
This fixes an issue where atelet/ateom will clash the state
of actors with same ID within different atespaces.

Once substrate resources get UIDs, we should revisit the way
atelet / ateom does the bookkeeping and check in which cases it
should use UID instead of (atespace,actor_id).
@HavenXia Haven Xia (HavenXia) merged commit dce688a into agent-substrate:main Jul 6, 2026
11 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