Skip to content

Add Brev boot/onboard parity, security, and fast-path end-to-end gates #6409

Closed

Description

@jyaunches

Parent epic: #6401

Problem

Current validation checks source contracts and builds the UI, but it does not prove that a finished GCE image boots, that canonical onboarding succeeds from its prebuilt artifacts, or that the result has lifecycle/security parity with a standard installation.

Goal

Create an image-level release gate that exercises the actual user journey and compares its state and operations with canonical NemoClaw behavior.

Test matrix

At minimum:

  • OpenClaw with the default Brev hosted provider
  • Hermes with a supported provider
  • Deep Code terminal flow
  • compatible prebuilt artifact reuse
  • deliberate artifact mismatch and canonical fallback/failure
  • browser/UI reconnect during onboarding
  • service or VM restart during/recovering from onboarding
  • re-onboard an existing sandbox without data loss
  • policy tier/preset verification
  • provider secret-boundary verification
  • management-plane authorization and destructive-operation checks
  • update/rebuild/stale-image detection
  • multi-sandbox coexistence or explicit supported limitation

Performance measurements

Capture independently:

  • VM ready time
  • OpenShell gateway ready time
  • UI ready time
  • onboarding start to sandbox Ready
  • agent/dashboard ready time
  • prebuilt-artifact hit/miss
  • fallback-build duration

Define an initial fast-path SLO and retain stage timings as CI artifacts for regression analysis.

Acceptance criteria

  • CI boots the exact staging image that may be promoted.
  • It completes onboarding through the same public interface used by the Brev UI.
  • It verifies canonical registry, policy, provider, readiness, lifecycle, and secret-boundary invariants.
  • It proves the prebuilt fast path was used rather than merely observing a fast run.
  • Results and diagnostics are attached to the image provenance and originating LKG build.
  • Production promotion is blocked on this gate.

Gateway ownership failure-injection matrix

Add release-gating coverage for #6576:

  • assert exactly one gateway listener and one declared service owner after image boot;
  • run canonical onboarding, re-onboarding, provider/model change, compatible artifact reuse, incompatible artifact fallback, and rebuild without implicit owner change;
  • restart the VM and gateway supervisor and verify sandbox recovery with no restart-count growth;
  • inject a competing listener, stale PID/state, mismatched service identity, and interruption during onboarding;
  • prove every ambiguous case fails before provider, policy, sandbox, or registry mutation;
  • retain service status, listener identity, restart counts, and redacted machine events as CI artifacts; and
  • include a bounded soak that proves the supervisor is not crash-looping.

Activity

  1. added
    enhancement
    platform: brev
    brev_nemoclaw_image
    area: e2e
    area: onboarding
    area: security
    area: performance
    on Jul 7, 2026
  2. added
    integration: dcode
    on Jul 7, 2026
  3. self-assigned this
    on Jul 15, 2026
  4. cjagwani commented on Jul 15, 2026

    @cjagwani
    Collaborator

    @jyaunches Based on our clarification and the release-path audit, I split the first sequencing slice into #6943: exact candidate SHA → staging image → real Launchable → smoke E2E → exact-SHA verdict before tagging. It keeps the existing lkg production automation and the full parity matrix separate; please confirm the ownership, trigger, and supported-interface decisions in #6943 before implementation begins.

  5. jyaunches commented on Sep 9, 2026

    @jyaunches
    ContributorAuthor

    Closed as completed and superseded by the exact-staging Brev Launchable qualification delivered through #7270 and consolidated by #7490/#7632. The current release-candidate contract builds the candidate image, verifies immutable image and runtime identity, runs preinstalled full E2E with inference, retains redacted evidence, verifies cleanup, and requires a successful staging Launchable job; individual run or coverage failures should use focused trackers rather than this July umbrella.

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

Metadata

Metadata

Assignees

Labels

area: e2earea: onboardingarea: performancearea: securitybrev_nemoclaw_imageenhancementintegration: dcodeplatform: brev

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions