Autonomous Dual-Sandbox PR Verification

Test pull requests in live dual sandboxes before you merge.

Unit tests don't boot your app. TraceMain spins up ephemeral sandboxes for your PR and baseline branches, deploys an AI Explorer to probe live endpoints, and diffs behavioral telemetry before code hits production.

✔ In your GitHub Actions✔ 1-Click Stack Detection✔ Zero production access
dual-sandbox.log
HIGH RISK

# 1. Ephemeral Sandboxes Dispatched

➜ Intercepted PR #241 (feat/checkout)

➜ Baseline: main (8a4d1)

➜ PR Branch: pr#241 (f193c)

Baseline (main)

GET /api/checkout

Status: 200 OKLatency: 42msErrors: 0%

PR Branch (pr#241)

GET /api/checkout

Status: 500 ERROR388ms (+823%)100% 5xx

# 2. Explorer Root Cause Discovery

🔍 Explorer: Probed payload { orderId: 881 }

TypeError: Cannot read property 'taxRate' of undefined

TraceMain Risk CheckFAILED (Blocked)

A live look at the 6-stage verification engine.

Every pull request triggers an automated, dual-sandbox lifecycle. TraceMain validates configuration, spins up the environments, and runs behavioral tests side-by-side.

app.tracemain.com/dashboard/repos/checkout-service/runs/pr-241
● Live Run Complete

Pipeline Execution Graph (6 Stages)

✓
1. Config Validationpipeline

.tracemain.yml validated successfully

1.2s
✓
2. PR Sandbox Bootpr

Container ready on port 3000 (health check 200)

42s
✓
3. Baseline Sandbox Bootbaseline

main branch ready on port 3000 (health check 200)

38s
✓
4. Test Suite Executionpipeline

32 existing unit/integration tests executed

24s
✓
5. Metrics Diffpipeline

Probed 8 endpoints — latency delta & 5xx detected

18s
✓
6. Risk Reportpipeline

Markdown report & GitHub Check Run posted

4.1s
Side-by-Side Metrics DiffDelta Detected
P95 Latency+346ms (+823%)
Baseline: 42msPR: 388ms
Error Rate (5xx)+100% on /checkout
Baseline: 0% errorsPR: 100% errors

Executive Risk Assessment:

High Risk: The changes in checkout.ts introduce an unhandled null exception during tax calculation, causing complete failure on POST /api/checkout.

GitHub App Action:Check ❌ Failed

2x

Dual Sandboxes

PR and baseline branches run side-by-side

6

Verification Stages

From config checks to behavioral diffs

1-Click

Stack Detection

Automatic package.json & setup PR creation

100%

Developer In Control

Advisory risk reports, zero automated merges

How TraceMain verifies PRs end-to-end.

No complex staging setups. No manual QA bottlenecks. From PR dispatch to GitHub status check in under two minutes.

01Zero-Friction

1-Click Stack Detection & Setup PR

Connect your GitHub repository. TraceMain automatically inspects package.json to detect your build command, start script, listening port, and health check, then opens a setup PR with .tracemain.yml and the GitHub Actions runner workflow.

02True Isolation

Dual Sandboxes Spin Up on PR Open

When a developer opens or updates a pull request, TraceMain triggers isolated ephemeral environments on GitHub Actions in parallel: one for the new PR commit and one for the clean baseline branch (e.g. main).

03Autonomous Probing

AI Explorer Probes Active Endpoints

Our Explorer & Planner agent analyzes the code diff, crawls available routes, crafts structured payloads, actively issues HTTP requests, and executes your existing test suites inside the live sandboxes.

04Runtime Verification

Side-by-Side Diff & GitHub Risk Check

TraceMain compares runtime latency, error rate deltas, and response schemas side-by-side. It immediately comments a comprehensive Markdown Risk Report on the PR and sets the GitHub Check Run status (Passed / High Risk / Failed).

Engineered for high-confidence deployments.

Traditional CI only knows if tests passed. TraceMain knows if your application actually works when it boots and receives traffic.

Dual Ephemeral Sandboxes on GitHub Actions

Sandboxes run directly inside your existing GitHub repository runners via secure workflow_dispatch. No proprietary VM clusters to pay for, no code leaves your organization, and instances are destroyed immediately after verification.

HMAC Signature Verification
Per-Run Auth Tokens
Zero Cloud Ingress Needed

Autonomous AI Explorer Agent

The Explorer reviews PR diffs, determines impacted routes, issues live HTTP queries, and tests edge-case payloads without requiring manually crafted mock files.

Tools: http_request + run_existing_tests

True Behavioral Diffing

Because both baseline and PR run under identical container constraints simultaneously, environmental latency noise and flaky tests are neutralized.

P95, 5xx Spikes, Payload Schema Delta

Zero Configuration: 1-Click Setup PR

Connect a repo and TraceMain immediately inspects your package.json. It detects frameworks like Next.js, Express, NestJS, and Vite, populates your start/build commands, and creates a pull request to activate TraceMain in seconds.

Next.jsExpressNestJSVite / ReactFastifyCustom Docker

Safety by design. You stay in control.

Built from the ground up for security-conscious engineering teams who demand complete visibility into autonomous verification.

Nothing merges without a human.

TraceMain delivers actionable behavioral evidence and risk assessments. It never auto-merges or bypasses your team's code review.

Executed inside your GitHub Actions.

Sandboxes run on your organization's GitHub runners. Your proprietary source code and secrets never route to external third-party compute.

Complete auditability.

Every HTTP request made by the Explorer agent, latency delta, and test log is recorded and inspectable in the live dashboard.

Join the TraceMain Early Access Waitlist

We are onboarding engineering teams in weekly cohorts. Reserve your spot to verify pull requests in dual sandboxes.

Join 428+ developers in line for access

No credit card required. We respect your privacy and will never send spam.

Frequently Asked Questions

Everything you need to know about TraceMain dual sandboxes and autonomous verification.

How does TraceMain run my application's code?

TraceMain triggers GitHub Actions workflows directly inside your repository using workflow_dispatch. It creates two ephemeral runners in parallel: one for your PR branch and one for your baseline branch (e.g. main). Your code runs within your own GitHub Actions environment.

Does TraceMain require access to our production environment?

No. TraceMain operates entirely pre-merge. It tests your pull requests in isolated, ephemeral sandbox runners before code is merged. No production credentials, production database access, or production VPC peering are ever required.

How does the AI Explorer decide what to test?

The Explorer agent inspects your pull request's AST and git diff to identify changed API routes, handlers, and dependencies. It formulates an exploration plan, constructs HTTP requests with edge-case payloads, and probes endpoints via the http_request tool while executing your existing test suite.

How does TraceMain differ from our existing CI test suite?

Standard CI runs unit tests in static isolation without booting your full application or sending real network traffic. TraceMain boots both the PR and baseline branches simultaneously, detects runtime 5xx crashes, measures P95 latency shifts, and validates API response contracts side-by-side.

How does 1-Click Stack Detection work?

TraceMain automatically scans your repository's package.json to detect your framework (Next.js, Express, NestJS, Vite, Fastify, etc.), start command, and port. It generates a .tracemain.yml configuration and opens a Setup PR on your repository with one click.

What GitHub App permissions does TraceMain need?

TraceMain requires read access to code and pull requests, permission to write PR comments and Check Runs, and permission to trigger workflows. It only requires contents:write when you explicitly click 'Create Setup PR' to configure a repository.