Repository navigation
Conversation
…teSpec Replace Profile.ate_actor_template with Profile.ate, an ATETemplateSpec holding the existing Substrate ActorTemplate name and an optional atespace that defaults to the resource's own. The reconciler looks the template up and binds the actor to it in that atespace; validation requires ate.template and checks both names. TaskStatus keeps its ate_actor_template field.
The field names an existing Substrate ActorTemplate, so call it that. Manifests now use spec.profile.ate.actorTemplate.
Reverts f16f5b0; manifests use spec.profile.ate.template again.
The message references an existing Substrate ActorTemplate rather than specifying one, so name it as a ref.
Replace ATETemplateRef with a generic ObjectRef {name, atespace} in
common.proto. Manifests now reference an existing Substrate ActorTemplate
as spec.profile.ate.name with an optional spec.profile.ate.atespace.
Profile.ate was too terse once the field became a generic ObjectRef: a
reader of the manifest could not tell what Substrate object the ref
pointed at. Rename it to ate_template so the key says what it is.
The manifest key follows the usual protojson camelCase, so an existing
Substrate ActorTemplate is now referenced as:
spec:
profile:
ateTemplate:
name: base-tmpl
atespace: shared # optional; defaults to the resource's atespace
Go callers use Profile.GetAteTemplate(). Validation and ax-server errors
report spec.profile.ateTemplate.name, spec.profile.ateTemplate.atespace,
and spec.profile.ateTemplate for the conflict with image/resources.
docs/manifests.md and the YAML round-trip fixture use the new key.
siyuanfoundation
added a commit
to siyuanfoundation/ax
that referenced
this pull request
Nov 18, 2026
Based on google#593. Fixes google#600 Introduce ObjectRef for Profile.ate_template and replace TaskStatus.ate_actor_template (string) with ObjectRef ate_template so task status carries both the ActorTemplate name and its atespace. Co-authored-by: Jaana Dogan <[email protected]> Signed-off-by: siyuanfoundation <[email protected]>
siyuanfoundation
added a commit
to siyuanfoundation/ax
that referenced
this pull request
Nov 18, 2026
Based on google#593. Fixes google#600 Introduce ObjectRef for Profile.ate_template and replace TaskStatus.ate_actor_template (string) with ObjectRef ate_template so task status carries both the ActorTemplate name and its atespace. Co-authored-by: Jaana Dogan <[email protected]> Signed-off-by: siyuanfoundation <[email protected]>
siyuanfoundation
added a commit
that referenced
this pull request
Nov 18, 2026
…642) Based on #593. Fixes #600 Introduce ObjectRef for Profile.ate_template and replace TaskStatus.ate_actor_template (string) with ObjectRef ate_template so task status carries both the ActorTemplate name and its atespace. Signed-off-by: siyuanfoundation <[email protected]> Co-authored-by: Jaana Dogan <[email protected]>
Collaborator
|
changes merged in #642 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manifest shape is now
One assumption to flag. You wrote ate_template, but every key the YAML codec emits is lowerCamelCase, so the manifest key is ateTemplate. A literal snake_case ate_template would need a json_name override in the proto and would be the only snake_case key in the API. I went with the consistent form. If you do want ate_template verbatim, say so and I'll add the override.
What changed