Skip to content

Follow-ups from runner push protocol migration (#688) #739

Backlog

Description

@mayawang

Tracking the remaining non-blocking review items from #688 (2ede873). The atenet-router-only routing change (actorhttp.go) already landed in #700.

Remaining items (main @ c3e77d3)

  • Reject task pushes on active setup actors (internal/metadata/server.go:370, handleTaskPush): Return 409 Conflict when s.pushedSetup != nil (port 80 is reachable on 127.0.0.1 inside the sandbox during setup.commands). Also guard sameObject (internal/metadata/server.go:421) so empty metadata.name / metadata.uid cannot match as equal.
  • Verify cold-resume error path (internal/controller/task.go:372, Resume): Check whether a task command startup failure on the first cold resume (workspaceReady == false) should return an error instead of recording WorkspaceReady=False/SetupFailed and returning nil.
  • Mark temporary runner endpoints internal/unstable (docs/runner.md:30-31, pkg/apis/v1alpha1/types.go:385-390): Note in both docs and Go doc comments that POST /runner/v1alpha1/task and POST /runner/v1alpha1/setup are temporary internal bridge endpoints ahead of Per-actor environment variables agent-substrate/substrate#3876, so external runners do not treat them as a stable public contract.
  • Consolidate local cluster build scripts (hack/build-local-cluster.sh and hack/test-local-install.sh): Deduplicate or have test-local-install.sh call build-local-cluster.sh so the two scripts do not drift (per review feedback on all: push tasks to runners and remove the runner pull protocol #688).
  • Restore removed launcher E2E coverage (test/e2e/launcher_test.go): Once task completion reporting (Canonical /ax/STATUS file (JSON) for a task to report COMPLETED, FAILED, or REQUIRES_ACTION #690 / hack/hero-demo: live steps hang because tasks never reach Completed since #688 #722) lands, restore TestE2E_PureImageLauncher and TestE2E_PrewarmAndCustomImageSharedWorkspace (and the stand-in launcher image / hack/setup-e2e-kind.sh build).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions