Skip to content

Gateway guard E2E uses an invalid legacy keepalive fixture #9364

Description

@ericksoa

Investigation Summary

  • The managed gateway restart and recovery phases pass before the legacy-compatibility fixture runs.
  • The fixture clones the managed image and replaces its reviewed entrypoint with sleep infinity.
  • Production correctly rejects that command as an unreviewed restart-safe supervisor contract.
  • The failure occurs before the fixture reaches its recovery assertions.
  • No existing issue matches this invalid-fixture failure.

Description

The gateway guard recovery E2E target reuses the managed image to simulate an old OpenShell keepalive sandbox. It forces sleep infinity, but the managed image contract requires the reviewed /usr/local/bin/nemoclaw-start supervisor.

Expected behavior: legacy compatibility coverage uses a representative accepted legacy contract, while managed-image coverage retains the production supervisor allowlist.

Actual behavior: the fixture is rejected with OpenShell sandbox supervisor command is not a reviewed restart-safe contract.

Reproduction Steps

  1. Run the gateway guard recovery target with stock managed onboarding.
  2. Allow the managed restart and recovery phases to complete.
  3. Let the target create its legacy keepalive fixture.
  4. Observe rejection before the legacy recovery assertions run.

Environment

  • Workflow: unfiltered E2E run 32068537791
  • Runner: GitHub-hosted Ubuntu
  • Runtime: OpenShell Docker driver with managed OpenClaw
  • Candidate commit: eb560abae63f89183406b3cc273ecb8bf12ccfd2

Failure Evidence

  • Gateway guard recovery job
  • Fixture owners: test/e2e/live/gateway-guard-recovery.test.ts and gateway-guard-legacy-keepalive-fixture.ts.

Acceptance Criteria

  • Managed-image recovery continues to require the reviewed managed supervisor command.
  • Legacy compatibility coverage constructs a representative accepted old-runtime fixture or runs as a separate legacy contract.
  • An arbitrary supervisor such as sleep infinity remains rejected.
  • Managed recovery and legacy compatibility assertions both execute and pass in the complete unfiltered E2E run.

Scope Boundary

Do not weaken the production supervisor allowlist in docker-gpu-patch-clone.ts.

Relationship

Prerequisite for #9140. Related epic: #7744. Historical context, not duplicates: #6635 and #8583.

Activity

  1. added
    integration: openclaw
    area: e2e
    area: sandbox
    area: security
    needs: triage
    on Aug 17, 2026
  2. added theissue type on Aug 17, 2026
  3. removed
    needs: triage
    on Aug 17, 2026
  4. added a commit that references this issue on Aug 18, 2026
    12e5bee
  5. added 2 commits that reference this issue on Aug 18, 2026
    f59fc5a
    6a1f4cd
  6. ericksoa commented on Aug 18, 2026

    @ericksoa
    MemberAuthor

    The complete unfiltered cutover run reproduces the gateway-guard fixture failure after #9398:

    Reopening until the reviewed fixture reaches guard-chain recovery in the full branch run. Open follow-up PR #9449 may be relevant but has not yet been proven against this exact failure.

  7. added a commit that references this issue on Aug 19, 2026
    164cb28
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

    area: e2earea: sandboxarea: securityintegration: openclaw

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions