Skip to content

Add ResumeActor and TLS to make the substrate harness work e2e.#49

Merged
wjjclaud merged 1 commit into
mainfrom
substrate-harness-fix
Jun 4, 2026
Merged

Add ResumeActor and TLS to make the substrate harness work e2e.#49
wjjclaud merged 1 commit into
mainfrom
substrate-harness-fix

Conversation

@wjjclaud
Copy link
Copy Markdown
Collaborator

@wjjclaud wjjclaud commented Jun 4, 2026

Summary

This PR contains a few fixes in the substrate harness path.

  • Add ResumeActor to the ATE control client (internal/experimental/k8s/ate/client.go).
  • Make the substrate harness actually reach and run actors
    (internal/harness/substrate.go):
    • Use TLS for the control-plane client. This is required for connection.
    • Resume the actor in Start (after create) so it is scheduled onto a
      worker and has a routable IP before dialing the HarnessService.
    • Treat CreateActor AlreadyExists as success so follow-up turns reuse
      the (suspended) actor — fixes multi-turn (AlreadyExists on the 2nd input).
  • Update internal/manifests/README.md to reflect the actual test flow (fallback
    sanity check + substrate-path notes).

Tested

Test E2E works with the hello world example harness. Follow the README to run E2E.

@wjjclaud wjjclaud marked this pull request as draft June 4, 2026 01:59
@wjjclaud wjjclaud requested a review from rakyll June 4, 2026 02:22
@wjjclaud wjjclaud marked this pull request as ready for review June 4, 2026 02:22
@wjjclaud wjjclaud merged commit 5fa8506 into main Jun 4, 2026
7 checks passed
@wjjclaud wjjclaud deleted the substrate-harness-fix branch June 4, 2026 17:48
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