Skip to content

Initial commit of the Substrate refactor#17

Merged
rakyll merged 18 commits into
mainfrom
substrate-scaffolding
May 22, 2026
Merged

Initial commit of the Substrate refactor#17
rakyll merged 18 commits into
mainfrom
substrate-scaffolding

Conversation

@rakyll

@rakyll rakyll commented May 22, 2026

Copy link
Copy Markdown
Member
  • Added internal/controller2/: as a copy of the existing controller.
  • Added a new deployment manifest which will replace the previous one, internal/manifests/ax-deployment2.yaml.
  • Added HarnessService to proto as a placeholder.
  • Added internal/SUBSTRATE_REFACTOR_CLEANUPS.md for some cleanups after this refactor is done.
  • Added SubstrateHarness that can create/resume axharness as an actor with conversation ID.
  • Remove unnecessary ate build tags because Substrate is now public.

Updates #3.

@rakyll rakyll changed the title New Substrate deployment modal New Substrate deployment model May 22, 2026
@rakyll rakyll marked this pull request as ready for review May 22, 2026 01:48
@rakyll rakyll requested review from anj-s, paramgo and wjjclaud May 22, 2026 01:48
@rakyll

rakyll commented May 22, 2026

Copy link
Copy Markdown
Member Author

@anj-s, see internal/controller2 for the refactoring. We need it for the Substrate refractor too.

@rakyll rakyll changed the title New Substrate deployment model Initial commit of the Substrate refactor May 22, 2026
@rakyll rakyll force-pushed the substrate-scaffolding branch from 0a00a59 to fc41076 Compare May 22, 2026 02:21
Comment thread internal/controller2/controller.go Outdated
Comment thread internal/controller2/controller.go Outdated
}
defer exec.Close(ctx)

if err := exec.Queue(ctx, req.Inputs...); err != nil {

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.

Should queue be something that the controller owns Vs the execution interface which will be implemented by the user? I can see Run being the function that we want harness owners to implement but the queue, close, pause and resume are something will want to override from AX's side.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It sounds like a follow up conversation for the Harness interface. We need to implement one concrete harness to figure out the right interface in my opinon.

Comment thread internal/controller2/controller.go
@rakyll

rakyll commented May 22, 2026

Copy link
Copy Markdown
Member Author

PTAL

@rakyll rakyll merged commit cceceed into main May 22, 2026
7 checks passed
@rakyll rakyll deleted the substrate-scaffolding branch May 22, 2026 16:31
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