# Seaeye docs (full text) > Seaeye runs GitHub Actions jobs on froog's own machines: change `runs-on: ubuntu-latest` to `runs-on: seaeye` and each job gets a fresh VM with Docker, billed per second of job time ($0.0006 per vCPU-minute). Warm caches, debug VMs, per-job CPU, memory and test insights, log search and monitors; or `soulsand run` from any CI. This file is generated from https://docs.seaeye.sh/ (the index is https://docs.seaeye.sh/llms.txt). ## Seaeye: CI on froog [Seaeye](https://seaeye.sh/) runs your CI on fresh virtual machines on bare metal that froog runs itself, billed per second of job time. It works two ways: | Way | Setup | Use it when | | --- | --- | --- | | [GitHub Actions runners](https://docs.seaeye.sh/runners/) | Connect GitHub, change `runs-on` | Your CI is GitHub Actions | | [The CLI from any CI](https://docs.seaeye.sh/cli/) | An API key and `soulsand run` | GitLab CI, CircleCI, Buildkite, or one step of a GitHub job | ```sh jobs: test: runs-on: seaeye # was: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npm ci && npm test ``` New here? [Get started](https://docs.seaeye.sh/get-started/) installs the CLI, signs you in and runs a first job. Then: - [Runners](https://docs.seaeye.sh/runners/): the labels and their prices, options such as warm caches and debug VMs, limits, and the commands to follow a job. - [Cache and image](https://docs.seaeye.sh/cache/): `actions/cache` beside the VMs, and what's installed. - [Insights](https://docs.seaeye.sh/insights/): CPU and memory per job, test results and flaky tests, log search, monitors and size advice. - [Moving your workflows](https://docs.seaeye.sh/migrate/): `seaeye migrate` rewrites `runs-on` for you. - [The CLI from any CI](https://docs.seaeye.sh/cli/): `soulsand run` from GitLab CI, CircleCI or Buildkite. - [GitHub](https://docs.seaeye.sh/github/): the froog GitHub App, the repositories it sees and the tokens it hands out. Seaeye is made by [froog](https://froog.tech/), which also makes [Soulsand](https://soulsand.ai/) sandboxes, Tokenmail inboxes and [Revere](https://revere.sh/) monitors. Each is a separate product with its own account, CLI and API. How account things work (sign-in methods, organizations, the audit log, webhooks) is in [froog's docs](https://docs.froog.tech/); on Seaeye they belong to your Seaeye account. ## Seaeye: Get started One Seaeye account works for Seaeye's dashboard at [dash.seaeye.sh](https://dash.seaeye.sh/), the `seaeye` CLI and its API. Signing in the first time makes it. It's Seaeye's own: froog's other products have accounts of their own. ### Install the CLI ```sh $ curl -fsSL https://seaeye.sh/install | sh ``` On macOS and Linux (and WSL). The installer checks the CLI's SHA-256 and puts it in `~/.local/bin`. On Windows 10 or later, in PowerShell: `irm https://seaeye.sh/install.ps1 | iex`. ### Sign in ```sh $ seaeye login # approve this computer in the browser ``` Sign in with Google, GitHub or a 6-digit code by email; each is a way into the same account. On a machine without a browser, pipe in an API key instead: `echo "$SEAEYE_API_KEY" | seaeye login`, or set `SEAEYE_API_KEY`. ### Run a first job ```sh $ seaeye github connect # install the froog GitHub App, pick repositories $ seaeye wallet pay 20 # job time comes from the prepaid wallet $ seaeye migrate --write && git commit -am "CI on Seaeye" && git push $ seaeye runs # the job, as it queues, runs and finishes ``` [Connecting GitHub](https://docs.seaeye.sh/github/) installs the app on the repositories you pick. [`seaeye migrate`](https://docs.seaeye.sh/migrate/) changes `runs-on: ubuntu-latest` to `runs-on: seaeye` (or change it by hand). Jobs cost $0.0006 per vCPU per minute, per second, from your [wallet](https://docs.soulsand.ai/pricing/#wallet); each start needs an hour of its job time there. The same steps are on the dashboard: GitHub, Funds and Seaeye at [dash.seaeye.sh](https://dash.seaeye.sh/). ### API keys Scripts, other CI systems and agents use an API key. Create one on the dashboard's [API keys](https://dash.seaeye.sh/#keys) page or with the CLI; it's shown once. ```sh $ seaeye api-key create ci-stats --actions account.read --ttl 90d # read runs, jobs and logs $ seaeye api-key create github-ci --preset ci --ttl 90d # for soulsand run in another CI ``` Reading Seaeye's runs, jobs and logs needs `account.read`; settings and monitors need `account.admin`. A key limited to some sandboxes, labels or environments can't read them (`403 api_key_limited`). More on [keys and scopes](https://docs.froog.tech/api-keys/). ### The API Seaeye's API is `https://api.seaeye.sh/v1`, with Seaeye keys. Send the key as a bearer token; JSON in and out. ```sh $ curl -s https://api.seaeye.sh/v1/seaeye/runs -H "Authorization: Bearer $FROOG_API_KEY" $ curl -s https://api.seaeye.sh/v1/seaeye/jobs/seaeye_…/logs -H "Authorization: Bearer $FROOG_API_KEY" ``` Errors are `{"error": {"code", "message", "request_id"}}`. Rate limits, retries and every endpoint: [froog's API reference](https://docs.froog.tech/api/) and [openapi.json](https://froog.tech/openapi.json). ## Seaeye: GitHub Actions runners Each job gets a fresh VM with Docker, deleted when the job ends. [Connect GitHub](https://docs.seaeye.sh/github/), then change `runs-on`: ```sh jobs: test: runs-on: seaeye # was: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npm ci && npm test ``` ### Labels and prices | Label | Sandbox | Per minute | | --- | --- | --- | | `seaeye-small` / `seaeye-2vcpu` | 2 vCPU, 4 GB | $0.0012 | | `seaeye` / `seaeye-4vcpu` | 4 vCPU, 8 GB | $0.0024 | | `seaeye-large` / `seaeye-8vcpu` | 8 vCPU, 16 GB | $0.0048 | | `seaeye-xlarge` / `seaeye-16vcpu` | 16 vCPU, 32 GB | $0.0096 | Billing is $0.0006 per vCPU per minute of job time, per second, from your [wallet](https://docs.soulsand.ai/pricing/#wallet). Boot, runner setup and cache saves aren't billed. A kept `debug` VM is billed at the same rate. ### Options Options go after the size with `/`: ```sh runs-on: seaeye-large/from=ci-base/cache=deps/debug # from=NAME start from a saved snapshot # cache=NAME warm disk kept between jobs (snapshot cache-NAME) # debug keep the VM 30 minutes after a failed job, for seaeye ssh ``` **`cache=NAME`.** The job starts from snapshot `cache-NAME` if it exists. A successful push, schedule or manual run on the default branch saves its disk back. Pull requests read but never write it; fork PRs don't read it. Use `clean: false` on `actions/checkout` to keep build outputs. Before saving, froog scrubs credentials (docker, git, gh, npm, pypi, netrc, cloud CLIs, kube, cargo, gem, SSH keys), shell histories, the runner's `_temp` and logs, the checkout token and `/tmp`. An executable `~/.froog/cache-scrub` runs first for anything else. If scrubbing fails, nothing is saved. Don't use `cache=` on jobs with deployment secrets. A cache counts as a [saved snapshot](https://docs.soulsand.ai/snapshots/); `seaeye caches --rm NAME` resets it. A label with an unknown size or option is refused. Each job's log shows its VM and the `seaeye ssh` command. A runner takes one job; CI VMs are deleted after 6 hours 15 minutes at most. ### Limits and safety - **Limits.** CI runners don't use your setup slots. Up to 3 at once before your first payment, 10 after, and they count against [start limits](https://docs.froog.tech/limits/). Each start needs an hour of its job time in the wallet and your [spending cap](https://docs.soulsand.ai/pricing/#spend-cap) not reached. Otherwise the job waits and retries every 15 seconds (`seaeye runs` shows why); froog emails daily while jobs wait for money. After 24 hours it fails. - **Refused jobs** (unknown label, public repository, missing `from=` snapshot) cancel their workflow run if the GitHub App has Actions: Read and write. - **Retries.** A VM that fails to start, or a runner that exits early, gets one more try; then the job fails with the reason (`seaeye job`). - **Public repositories** are off by default, since anyone's PR would run on your bill. `seaeye public on --users "me,a-teammate"` allows runs by those users (no `--users`: anyone; then require approval for outside collaborators in GitHub). `seaeye public off` undoes it. In public repos a runner only takes the job it was started for. - **Secrets.** CI VMs get none of your environment: no variables, secret files, GitHub token or keys. Use GitHub Actions secrets. The runner-registration token stays on froog's side. ### Following your jobs ```sh $ seaeye runs # setup, 7-day stats, last jobs $ seaeye runs --repo acme/api --state failed # --state all|active|failed, --limit $ seaeye job seaeye_… # state, reason, wait, run time $ seaeye logs seaeye_… # the job's log $ seaeye metrics seaeye_… # CPU, memory, step times $ seaeye tests seaeye_… # test results (--all: passed too) $ seaeye ssh seaeye_… # shell on the job's VM $ seaeye search 'level:error timeout' # search all job logs $ seaeye stats --days 14 # runs, failures, p50/p90, cost, flaky tests $ seaeye rightsize # jobs that fit another size better $ seaeye caches # cache=NAME disks; --rm NAME resets one ``` **Dashboard:** [dash.seaeye.sh](https://dash.seaeye.sh/) lists workflow runs with filters and search; a run shows its jobs, annotations, cost and usage; a job shows its log by step, CPU, memory and tests. Log search, Monitors, Caches and Settings have their own pages. **API:** `GET /seaeye/runs`, `GET /seaeye/jobs/{id}` (plus `/logs`, `/metrics`, `/tests`), `GET /seaeye/analytics`, `GET /seaeye/logs/search`, `/seaeye/monitors`, `PUT /seaeye/settings`, on `https://api.seaeye.sh/v1`; full list in [the API reference](https://docs.froog.tech/api/). Reading needs `account.read`, settings and monitors `account.admin`. Job states: `queued`, `starting`, `running`, `completed` (with `conclusion`), `refused`, `failed`. Jobs are kept 30 days. [`seaeye.job.*` webhooks](https://docs.froog.tech/webhooks/) are available. ## Seaeye: actions/cache, and what's installed ### actions/cache `actions/cache` and the setup actions that use it (`setup-node`, `setup-python`, `setup-go`, `setup-java`, `rust-cache` and others) save to froog's cache service beside the VMs, with no workflow change. Branch scoping matches GitHub's: a PR can't change what `main` restores. Fork PRs, [zero data retention](https://docs.froog.tech/data/) accounts and workflows that set `NODE_OPTIONS` use GitHub's cache. 10 GB per account, least recently used evicted, unused entries removed after 7 days. Other actions (`upload-artifact`) still use GitHub. For a whole warm disk instead (dependencies, build outputs, Docker layers), use a [`cache=NAME` label](https://docs.seaeye.sh/runners/#warm-cache). ### What's installed What `ubuntu-latest` workflows expect: Docker with Buildx and Compose, Node 24 (pnpm, yarn, bun), Python with uv, Go, Rust, Java 21 with Maven, Ruby, PHP, .NET 8 and 10, AWS CLI, kubectl, helm, gh, Chrome, shellcheck, PostgreSQL and MySQL clients. `setup-python` (3.10-3.13), `setup-node` (20, 22, 24) and `setup-go` (last three) are preinstalled in `/opt/hostedtoolcache`. `cat /etc/froog-image` lists versions. A `cache=` disk keeps its old image until reset. ## Seaeye: Insights: metrics, tests and the right size Kept 30 days per job, on the dashboard, from the CLI and in the API: - **CPU and memory**, sampled every 30 seconds, with OOM kills and step times. - **Tests** from JUnit XML the job writes in its workspace (up to 900 KB): `pytest --junitxml=report.xml`, `jest --reporters=jest-junit`, `vitest --reporter=junit --outputFile=report.xml`, `gotestsum --junitfile report.xml`, `cargo nextest` with `[profile.ci.junit]`, Maven and Gradle by default. A test that fails and passes on one commit is **flaky**. - **Log search** over every finished job (last 4 MiB each): words, `"phrases"`, `-exclude`, and `repo:` `branch:` `workflow:` `job:` `conclusion:` `step:` `level:error|warning`. `--oldest` finds where a failure began. Tests and logs aren't kept under [zero data retention](https://docs.froog.tech/data/). - **Size advice** after three runs: one size up if it hit 90% memory or 80% CPU, one down if it stayed under 45% CPU and 40% memory. `seaeye rightsize` prints the label to use. ```sh $ seaeye metrics seaeye_… # CPU, memory, step times $ seaeye tests seaeye_… --all # every test, passed too $ seaeye search 'repo:acme/api level:error timeout' --oldest $ seaeye stats --days 14 # runs, failures, p50/p90, cost, flaky tests $ seaeye rightsize ``` ### Monitors Monitors alert by email and the `seaeye.monitor.triggered` [webhook](https://docs.froog.tech/webhooks/) when matching jobs fail (optionally N in a row, or matching a log pattern) or run long. Cooldown 60 minutes by default; up to 50 per account. ```sh $ seaeye monitors add "main breaks" --repo acme/api --branch main $ seaeye monitors add slow --duration 20m $ seaeye monitors add oom --log-pattern OutOfMemory --consecutive 2 $ seaeye monitors · monitors rm cim_… ``` Looking for uptime monitors of websites and APIs? That's [Revere](https://docs.revere.sh/). ## Seaeye: Moving your workflows `seaeye migrate` rewrites `runs-on` in `.github/workflows`: `ubuntu-latest`/`-24.04`/`-22.04` become `seaeye`, Blacksmith and Depot labels the froog size with the same vCPUs. Windows, macOS, Arm and expression labels are left alone. ```sh $ seaeye migrate # show the changes $ seaeye migrate --write --cache deps # --size small|large|xlarge $ git commit -am "CI on froog" && git push ``` Run local changes on CI's warm disk: `soulsand run --from cache-NAME -- make test`. ## Seaeye: The CLI from any CI `soulsand run` (the `soulsand` CLI, from `soulsand.ai/install`) creates a sandbox, pushes the checkout, runs the command, deletes the sandbox and exits with the command's code. Store a `ci` preset key as a secret: ```sh $ soulsand api-key create github-ci --preset ci --ttl 90d $ gh secret set SOULSAND_API_KEY # paste the soulsand_… key ``` ```sh # .github/workflows/froog-tests.yml name: Tests on froog on: [push, pull_request] jobs: test: runs-on: ubuntu-latest timeout-minutes: 30 env: SOULSAND_API_KEY: ${{ secrets.SOULSAND_API_KEY }} steps: - uses: actions/checkout@v4 - run: curl -fsSL https://soulsand.ai/install | sh - run: soulsand run --size large -- make test # or --from ci-base, -e KEY=VALUE ``` Keep a toolchain in a snapshot (`soulsand snapshot box --name ci-base`) and use `--from ci-base`. The same two lines work in GitLab CI, CircleCI or Buildkite. Sandboxes made this way are Soulsand sandboxes, on your Soulsand account (a Soulsand key, not a Seaeye one): see [sandboxes](https://docs.soulsand.ai/sandboxes/) and [snapshots](https://docs.soulsand.ai/snapshots/) in froog's docs. ## Seaeye: GitHub connection froog uses a GitHub App, and you pick the repositories it sees. In those, Seaeye starts a runner for each job with `runs-on: seaeye` ([runners](https://docs.seaeye.sh/runners/)). ```sh $ seaeye github connect # install the app, pick repositories $ seaeye github # linked accounts, what the token reaches $ seaeye github repos # repositories the app sees $ seaeye github disconnect 4242 # unlink an installation ``` Open the connect link in a browser signed in to Seaeye's dashboard ([dash.seaeye.sh](https://dash.seaeye.sh/)) with the same account as the CLI. froog checks you manage the installation (your account, or an org you own). Uninstalling the app on GitHub unlinks it. API: `GET /github`, `POST /github/connect`, `GET /github/repos`, `PUT /github/token-repos`, `DELETE /github/installations/{id}`. Reading needs `account.read`, changes `account.admin`. No installation: `404 github_not_connected`.