Skip to content

ateom/atelet: Remove actor template name/namespace from directories#262

Open
Taahir Ahmed (ahmedtd) wants to merge 1 commit into
agent-substrate:mainfrom
ahmedtd:ateom-dirs
Open

ateom/atelet: Remove actor template name/namespace from directories#262
Taahir Ahmed (ahmedtd) wants to merge 1 commit into
agent-substrate:mainfrom
ahmedtd:ateom-dirs

Conversation

@ahmedtd

Copy link
Copy Markdown
Collaborator

Earlier in development, the actor ID was namespaced under its corresponding ActorTemplate. This is no longer the case --- Actor IDs are now unique within the substrate database, and we want to support migration of actors between ActorTemplates (for upgrade scenarios).

This means that some of the the things atelet/ateom do no longer make sense:

  • The actor state directory no longer needs to be qualified with ActorTemplate information.
  • The actor logs should not be qualified with the ActorTemplate information
  • The ActorTemplate information no longer needs to be passed through the atelet / ateom layers.

Earlier in development, the actor ID was namespaced under its
corresponding ActorTemplate.  This is no longer the case --- Actor IDs
are now unique within the substrate database, and we want to support
migration of actors between ActorTemplates (for upgrade scenarios).

This means that some of the the things atelet/ateom do no longer make
sense:
* The actor state directory no longer needs to be qualified with
  ActorTemplate information.
* The actor logs should not be qualified with the ActorTemplate
  information
* The ActorTemplate information no longer needs to be passed in

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.

The tests are flaky, if you rebase on main it will pickup the test fix.

We're going to have to lock in these paths at some point (to deal with atelet / ateom skew), but I don't think we're anywhere near that yet.

From AI review (discarding irrelevant bits):

tools/setup-gcp/dashboards/ate-snapshot-dashboard.json:17 and :86 do sum by (... actor_template_name ...) — these queries will collapse to a single empty-label series after deploy (broken per-template breakdown).

docs/observability.md:99 still documents actor_template_name as a label of atelet.snapshot.size.

LGTM overall.

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