Skip to content

ci(release): self-contained Tailscale bare-metal 50-lane staging & certification runner for maintainer -dev / -rc pre-releases #87

Done

Description

@tyronechrisharris

Summary

Provision a self-contained bare-metal Ubuntu Server 24.04 LTS 50-lane staging and regression host on a dedicated, physically isolated ISP circuit connected via Tailscale so maintainers with Write (branch-management) access can produce scale-tested -dev and -rc pre-releases while keeping main (OSCAR on osh-core / osh-addons) and production v* release tags Admin-gated.

Motivation

  • 30+ Day PARQUET_PRIMARY Scale Realism: Ephemeral cloud GitHub Actions runners (ubuntu-latest) start with zero archived Parquet generations and cannot exercise 4,500+-file DuckDB memory bounds, cold-session admission, or multi-week VehicleIncidentAggregator / ArchiveCatalog workloads. Restoring a 30+ day PARQUET_PRIMARY archive baseline onto a dedicated bare-metal staging host ensures candidate branches are certified against realistic multi-week archive volume (~1.9M+ occupancies, 4,500+ Zstandard Parquet generations, 40k+ overlays) before review on main.
  • Network Blast-Radius Isolation: Placing the bare-metal host on a separate ISP circuit with zero LAN routing to internal office or laboratory subnets — accessible exclusively via locked-down Tailscale ACLs and outbound GitHub Actions HTTPS (443) — isolates candidate pre-release execution.
  • Self-Service Pre-Releases for Write Maintainers: Maintainers with branch creation and management permissions can trigger serialized -dev / -rc builds (dev/*, rc/*, or workflow_dispatch gated by a protected GitHub Actions Environment) that deploy to the isolated host, run the full 50-lane ORNL/oscar-regression certification suite, and publish pre-release artifacts (vX.Y.Z-dev.<sha>) with attached CSV/Markdown certification evidence — without requiring Admin bypass or manual workstation intervention.

Architectural & Security Requirements

  1. Non-Loopback / Tailscale Interface Addressing:
    • Bind and address OSCAR, the 50-lane RPM/camera emulator stack (NSDDSiteSim, Camera-emulator -c copy H.264 RTSP streams, and local Samba oscar-uff share), and ORNL/oscar-regression via the host's Tailscale IP / MagicDNS hostname (never 127.0.0.1 / localhost, honoring ORNL/oscar-regression's non-loopback full profile safety gate).
    • Mint TLS certificates including the Tailscale IP and MagicDNS SAN (sudo bash oscar.sh tls) and reconcile oscar-50-lane-config.csv endpoints to the self-contained host after initial archive restoration.
  2. Co-Located Hardware Sizing:
    • Size the bare-metal host at >= 8 physical cores (16 threads), >= 32 GiB RAM (64 GiB recommended), and local NVMe storage to co-locate the 50-lane OSCAR + PostGIS 16 + NGINX + MediaMTX + OCR stack, the :8444 ephemeral Hands-On Training Sandbox during training-sandbox, 50 RPM + 53 RTSP emulators, and headless Chrome/Playwright without artificial latency contention.
  3. Local Playwright Execution & Serialized Suite Lease:
    • Build release archives on standard ubuntu-latest GitHub-hosted runners, then serialize deployment + local ORNL/oscar-regression execution (concurrency: { group: oscar-50-lane-dev-cert, cancel-in-progress: false } backed by RemoteSuiteLease) directly on the bare-metal host (never running 50-lane HLS/MQTT Playwright assertions over WAN latency, and never exposing the runner to untrusted external fork pull_request events).
  4. Instant Golden-Archive Snapshot Rollback (ZFS / LVM):
    • Back /var/lib/docker and /srv/oscar-storage with ZFS or LVM thin snapshots so pre-/post-job hooks can roll back failed experimental dev runs in O(1) time without corrupting the 30+ day golden archive baseline.
  5. Optional Self-Contained Federation Companion (oscar-peer):
    • Run a lightweight 1-lane companion Compose instance (:9443) on the same host so FEDERATION_WORKFLOW=required (Bearer Federation Service Token mint/revoke, /national-view/ multi-node rollup, and cross-node VehiclePassComparisonDialog correlation) is certified self-contained.

Activity

  1. added
    enhancement
    scale-invariant
    branch-collaboration
    on Nov 25, 2026
  2. tyronechrisharris commented on Nov 27, 2026

    @tyronechrisharris
    CollaboratorAuthor

    Provisioned and verified for OSCAR v3.12.0 (merged in #88 and ORNL/oscar-regression#34): independent bare-metal Ubuntu Server 24.04 LTS 50-lane staging & certification node running co-located NSDDSiteSim, Camera-emulator, and oscar-nii-smb-share, DOCKER-USER LAN egress isolation, sparse 260 GiB ZFS storage with ephemeral @pre-test snapshots, auto-pausing oscar-self-adjudicator.service (Lane01..49), and local oscar-self-test CLI.

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

    branch-collaborationenhancementscale-invariant

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions