Skip to content

Trusted Brev Launchable E2E is blocked by host SSH endpoint generation #8924

Closed

Description

@jyaunches

Investigation Summary

  • The trusted Exact staging Brev Launchable job builds the staging image and creates a healthy Brev workspace with Brev CLI v0.6.334.
  • The first two attempts of workflow run 31585922181 exhausted the 10-minute host SSH deadline before image or runtime verification.
  • A third attempt reached host SSH through fallback behavior, then failed runtime identity. All three attempts also failed workspace cleanup verification.
  • Two environments created from separate Launchables that use the same GCP family booted the expected concrete image. Their normal Brev SSH routes worked, but their -host routes timed out.
  • Brev CLI v0.6.330 and a patched v0.6.334 source build both restored host SSH on those environments. No published release contains both that behavior and the Launchable image forwarding fix.

Description

The trusted staging-brev-launchable lane cannot complete its qualification contract with Brev CLI v0.6.334.

The lane must:

  1. Build or reuse an image for the exact NemoClaw commit.
  2. Publish that image as the head of nemoclaw-brev-staging-cpu.
  3. Create a workspace from the standing Launchable.
  4. Connect to the workspace host.
  5. Verify the concrete boot image and baked runtime receipt.
  6. Run the baked full E2E suite without copying, installing, or rebuilding source.
  7. Delete the workspace and verify its absence.

The image-family selection now works. Both independently created comparison environments booted the expected concrete family image.

The remaining external blocker is host endpoint generation during brev refresh:

  • v0.6.330 keeps each -host alias on the Brev gateway hostname and its allocated high port. The workflow SSH probe and brev exec --host succeed.
  • v0.6.334 replaces the gateway hostname with the provider public IP but retains the allocated high port. TCP connections time out before SSH authentication.
  • A local patch that preserves the existing HostSSH* route while enriching only the normal workspace route makes the exact workflow probe and brev exec --host succeed on both comparison environments.

Brev CLI PR #424 introduced the endpoint rewrite in v0.6.331. Brev CLI issue #436 tracks related brev exec --host target resolution and global refresh behavior, but it does not identify this endpoint corruption.

NemoClaw cannot return to v0.6.330. That release predates Brev CLI PR #433, which forwards the Launchable base image to workspace creation.

Expected behavior after the external fix

When Brev publishes a release that contains both fixes, NemoClaw should update the pinned version and checksum in .github/workflows/e2e.yaml and dispatch jobs=staging-brev-launchable from trusted main.

The lane should then pass host admission deterministically and run the existing downstream checks. A green result requires:

  • The boot image URI equals the producer handoff URI.
  • The provision receipt and checkout identify the exact candidate commit.
  • The checkout has no changes or runtime overrides.
  • The baked full E2E prints NEMOCLAW_FULL_E2E_PASSED.
  • Cleanup records the workspace as ABSENT.

The Brev CLI fix does not waive those checks. If a downstream check still fails, that failure becomes a separate image, runtime, test, or cleanup defect.

Reproduction Steps

  1. Dispatch the trusted E2E workflow from main with jobs=staging-brev-launchable.
  2. Wait for the producer image and Brev workspace to report success and RUNNING, COMPLETED, and READY.
  3. Observe Waiting for host SSH access in the Exact staging Brev Launchable job.
  4. Observe repeated host SSH transport timeouts or fallback-dependent host routing.
  5. Compare the generated -host alias after brev refresh with v0.6.330 and v0.6.334.
  6. Run the lane's exact read-only SSH probe against the same workspace.

Environment

  • Workflow runner: GitHub-hosted Ubuntu
  • NemoClaw commit: ac6adacd5a343243d470520a66f76b4ff595ad4a
  • Brev CLI: v0.6.334, checksum-pinned by the workflow
  • Brev instance type: n2d-standard-4
  • Image family: projects/brevdevprod/global/images/family/nemoclaw-brev-staging-cpu
  • Launchable build mode: VM

Debug Output

nemoclaw debug is not applicable because the lane fails before it starts the baked NemoClaw full E2E. The bounded workflow probes provide the relevant evidence.

  • Attempt 1 job: host SSH timed out after 10 minutes; cleanup verification failed.
  • Attempt 2 job: host SSH timed out after 10 minutes; cleanup verification failed.
  • Attempt 3 job: host SSH eventually succeeded through fallback behavior; runtime identity and cleanup verification failed.

Local A/B validation against two existing comparison environments produced these results:

v0.6.330 refresh -> Brev gateway hostname + allocated port -> exact host SSH probe succeeds
v0.6.334 refresh -> provider public IP + allocated port -> TCP connection times out
patched v0.6.334 source -> Brev gateway hostname + allocated port -> exact host SSH probe succeeds
patched v0.6.334 source -> brev exec --host reads the expected boot image and provision receipt

Checklist

  • I confirmed this bug is reproducible.
  • I searched existing NemoClaw issues and found no duplicate.

Activity

  1. added
    needs: triage
    on Aug 12, 2026
  2. jyaunches commented on Aug 12, 2026

    @jyaunches
    ContributorAuthor

    External fix: brevdev/brev-cli#444. The PR preserves the existing host SSH route during normal workspace SSH enrichment. After Brev publishes the fix, NemoClaw must update the checksum-pinned CLI release and rerun jobs=staging-brev-launchable through full E2E and verified cleanup.

  3. added theissue type on Aug 12, 2026
  4. added
    area: ci
    area: e2e
    platform: brev
    and removed
    needs: triage
    on Aug 13, 2026
  5. jyaunches commented on Aug 15, 2026

    @jyaunches
    ContributorAuthor

    Temporary maintainer decision

    This maintainer decision accepts the temporary release policy implemented by PR #9228.

    • Owner and duration: NemoClaw maintainers own the temporary policy while Trusted Brev Launchable E2E is blocked by host SSH endpoint generation #8924 remains open.
    • Required release evidence: each candidate still needs a successful Publish staging Brev Launchable image job, its candidate-bound launchable-image.json, and a successful Release qualification check. GitHub keeps the job logs and artifact under the repository's normal Actions retention policy.
    • Accepted risk: a tag may proceed without automated or manual proof of the staging Launchable web deployment, environment access, exact booted image, baked runtime, inference, or workspace cleanup. A missing, partial, or failed manual result needs no per-release waiver and must not be reported as an automated E2E pass.
    • Remaining release gate: image-publication failure still blocks release qualification unless a repository administrator uses the existing documented job-waiver mechanism.
    • Reactivation trigger: after Brev publishes a CLI release containing both Launchable image forwarding and the upstream host-route fix tracked by Trusted Brev Launchable E2E is blocked by host SSH endpoint generation #8924, NemoClaw will checksum-pin that release and restore the automated deployment lane. A trusted main run must then pass deployment, access, exact image and runtime identity, hosted and sandbox inference, and verified workspace cleanup before Trusted Brev Launchable E2E is blocked by host SSH endpoint generation #8924 closes.

    This decision is temporary; it does not waive the downstream checks when the automated lane returns.

  6. added a commit that references this issue on Aug 19, 2026
    5b78b77
  7. added
    area: networking
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: ciarea: e2earea: networkingplatform: brev

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions