wake

Self-hosted GitLab CI shouldn’t take thirty minutes.

Coding agents multiply pull request volume, turning static monorepo pipelines into the bottleneck. Wake runs inside your own GitLab Runners and internal LLM gateway to skip unaffected builds deterministically and fix slow tests automatically.

Execution
Your GitLab Runners
Model gateway
Internal LiteLLM or Claude
Monorepo graphs
Python, Node, Rust, Go, Nix
Merge safety
Full suite on default branch
Wall-clock time
30s
Jobs executed
3 / 9
Runner compute
38.3s
Job
0s45s90s135s180s
Measured on self-hosted GitLab CE (root/cursed-monorepo). Toggle Before to compare. Open full trace

Deterministic selection. Autonomous remediation.

Engineering teams do not trust probabilistic test skipping—one missed regression ends adoption. Wake keeps job selection strictly deterministic from your package and Nix dependency graphs, and uses tool-calling agents where judgment pays off: diagnosing slow tests, cache thrashing, and pipeline drift.

wake xray
Zero-instrumentation profiler

Locate where every minute actually goes

Parses GitLab Runner trace section timestamps, JUnit XML reports, downstream child pipelines, and Nix build logs. Calculates the true critical path and flags late linters, missing DAG dependencies, weak cache keys, and low Nix binary-cache hit rates. Exports a single self-contained HTML flamegraph with zero external scripts.

wake xray \
  --gitlab-url https://git.internal \
  --project platform/monorepo \
  --html report.html
wake plan
Dynamic child pipelines

Run only the packages a merge request can affect

Scans Python, TypeScript, Rust, Go, and Nix flake or callPackage dependency graphs. Generates a native GitLab trigger:include:artifact child pipeline per push: linters promote to parallel stage 0, unaffected backend jobs are skipped, and a single non-spammy audit comment is posted on the MR. Full suites remain mandatory on default branches and tags.

wake plan \
  --ci-file .wake-pipeline.yml \
  --post-comment \
  --out wake-generated-ci.yml
wake agent
Sandboxed CI engineer

Fix slow tests and broken caches with mechanical proof

Runs a multi-turn tool-calling loop against your internal LiteLLM gateway or direct Claude API inside an isolated sandbox copy of the repo. Measures a real baseline, edits fixtures or CI config, re-runs the suite to verify speedup, enforces an anti-cheating gate (zero deleted or skipped tests), and opens a merge request with the verified benchmark.

wake agent \
  --llm-base-url http://litellm.internal/v1 \
  --verify-cmd "pytest packages/api/tests" \
  --open-mr

Measured on self-hosted GitLab runners.

Every number below was recorded live on a self-hosted GitLab CE instance running Docker executors (concurrent = 4) against a polyglot monorepo with slow integration tests, a cold Nix stage, and a late-stage linter.

Run Jobs run Wall-clock Runner compute Measured outcome
Baseline cold pipeline (static YAML) 9 / 9 2m 59s 4m 32s Failed at minute 2:49 on code formatting
Baseline warm cache (static YAML) 9 / 9 1m 23s 2m 40s Every UI change rebuilt backend and Nix jobs
Wake fast-fail stage promotion 1 / 9 21s 21s 4.0x faster failure feedback
Wake dynamic child pipeline (UI merge request) 3 / 9 30s 38.3s 7.1x less compute, 6 jobs skipped
Wake autonomous agent (8 turns, verified MR) 6 / 6 tests 19.66s to 0.15s Isolated sandbox 127.7x faster test suite

Built for environments where source code cannot leave the VPC.

Cloud GitHub Actions runners cannot legally touch defense, robotics, aerospace, automotive, or regulated enterprise repositories. Wake ships as a single self-hosted container image.

  • Code egress Zero. Runs inside your existing GitLab Runner network.
  • LLM routing Points at your internal LiteLLM, vLLM, or private Claude endpoint.
  • Migration cost Keep your runners and existing jobs; wrap via native GitLab child pipelines.
  • Soundness gate Agent MRs fail mechanical verification if test count drops or skips are added.

Run a 15-minute X-Ray audit on your slowest pipeline

Send us a note and we will walk through running Wake’s offline container against one of your internal GitLab pipelines—no code leaves your machine, and you keep the HTML flamegraph and speedup estimate.

docker run --rm -v "$PWD:/out" -e GITLAB_TOKEN \
  ghcr.io/strange-metal/wake:latest \
  wake xray --gitlab-url https://git.your-vpc.internal \
  --project group/monorepo --html /out/xray.html
Activate Team ($499/mo) or Request Audit Email chris@wakeci.dev

Technical FAQ & Engineering Guides.

Direct answers on how Wake runs inside self-hosted GitLab Runner networks, how deterministic graph pruning avoids missed regressions, and how Nix binary caches are profiled.

How does Wake speed up self-hosted GitLab CI monorepo pipelines without code leaving our VPC?

Wake ships as a single self-hosted Docker container (ghcr.io/strange-metal/wake:latest) that runs directly inside your existing GitLab Runners. It resolves your workspace dependency graph deterministically to emit native GitLab trigger:include:artifact child pipelines that skip unaffected jobs on merge requests, promote linters to parallel stage 0, and balance parallel test shards with zero external network egress.

How is Wake different from GitLab rules:changes or probabilistic ML test selection?

Static rules:changes globs miss transitive package and Nix flake dependencies, while probabilistic ML test selection risks silent regressions. Wake computes exact transitive reverse dependencies from pyproject.toml, package.json, Cargo.toml, go.mod, flake.nix, and callPackage definitions on merge requests, and enforces the full test suite on default branches, release tags, and root lockfile edits.

How does Wake support Nix flakes and binary caches on self-hosted GitLab Runners?

Wake parses root and sub-directory flake.nix files, local path: inputs, default.nix, and callPackage references to build a deterministic Nix dependency graph. During wake xray profiling, it also parses Nix build logs alongside GitLab Runner section timestamps to calculate your true binary-cache hit rate (WAKE-010) and isolate runner prep overhead from compilation time.

Can Wake use our internal LiteLLM or vLLM gateway instead of public cloud LLM APIs?

Yes. wake agent supports any OpenAI-compatible internal gateway (such as LiteLLM or vLLM) via --llm-base-url as well as direct Anthropic Claude endpoints. No prompts, code, or logs ever pass through Strange Metal, Inc. servers.

How does Wake stop an autonomous CI agent from cheating by skipping or deleting tests?

Every wake agent run executes inside an isolated git sandbox and passes a hard mechanical soundness gate before opening a merge request. Wake independently re-runs the verification command, checks the AST, and rejects any edit that deletes test functions, adds skip or xfail markers, or reduces the passed test count.