Repository navigation
docs: ephemeral runs (EN/ES) - #198
Draft
sre-helmcode wants to merge 3 commits into
Draft
sre-helmcode wants to merge 3 commits into
sre-helmcode wants to merge 3 commits into
Conversation
New "Ephemeral runs" / "Ejecuciones efimeras" page, nested under Agent runs: what it is and when to use it instead of a workspace, the agents in the container, the portal, `nan run --ephemeral`, `POST /v1/runs` with executor/size/github_repo/model and the `runs:ephemeral` token scope, ephemeral automations (executor, size, fresh checkout) and private repositories through a GITHUB_TOKEN with Agent (read access), sizes and prices per started minute, free S-minutes per plan with the worked example, the monthly spend cap and concurrency, network rules (HTTP/HTTPS only), security and errors. No EU-only claim, no vendor names. Short cross-links from Agent runs and Automations. Orders from 20 on move by one so the child sits right after its parent; the automations guard now allows only the link to the new page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l labels, payment method and EUR - Spend cap: only chargeable money counts (open runs' and the new run's worst case minus the free minutes left, never below zero); a EUR 0 cap allows only runs the free minutes fully cover (cloud-api #379). - Live counter on a running ephemeral run, and this month's S-minutes, free S-minutes left and chargeable euros on the Runs page and in Settings -> Ephemeral runs. - Exact labels: "Ephemeral container", "Monthly spend cap (EUR)", "Concurrent ephemeral runs" (kept in English, bold, in ES). - Owner decisions: a payment method is always required (402 payment_method_required, "Add a payment method"), free minutes only with a membership (none = 0), EUR only (402 currency_migration_required, switch in Settings -> Billing), ephemeral automations without a workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Started minutes / Minutes billed by billing state, the automation editor's measured (not charged yet) / billed per container minute, the cost note's free S-minutes converted to the chosen size, and Switch billing to EUR in Settings -> Ephemeral runs and the New run form (EN, English labels in ES). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New docs page Ephemeral runs (
/docs/ephemeral-runs) / Ejecuciones efímeras (/es/docs/ephemeral-runs), nested under Agent runs in the sidebar:nan run --ephemeral --repo owner/name --model ... --size s,nan ephemeral usage|settings), API (POST /v1/runswithexecutor,size,github_repo,model;workspace/cwd/git_isolationrefused; run objectexecutor,size,cost), credentials (session, token withruns:ephemeral, neversk-).executor: ephemeral,size,checkout: fresh,github_repo,model. Private repos: only via an automation withGITHUB_TOKENassigned as Agent (read access) (ad-hoc runs never receive secrets, so they clone public repos only).egress_limit). Security notes (keys never enter the container). Error table and FAQ.Cross-links: one sentence each in Agent runs and Automations (EN + ES). Doc
orderfrom 20 on shifts by one so the child sits right after its parent (required by the nav tests). The automations guard test that banned the word "ephemeral" now allows only the link to the new page.Review fixes (round 1)
402 payment_method_required, Add a payment method); free minutes only with a membership (no membership = 0); EUR only (402 currency_migration_required, switch in Settings → Billing); ephemeral automations need no workspace (without one, only ephemeral automations).Review fixes (round 2: final cloud-ui #177 copy)
measured per container minute (not charged yet)/billed per container minute.80 free S-minutes left this month = 40 minutes of M.).Sources
cloud-api
origin/main:internal/runs/ephemeral.go,validate.go,api.go,store_ephemeral.go,internal/handlers/ephemeral.go,runs.go,internal/pat/scopes.go,internal/automations/validate.go,cloudflare/ephemeral-runner/README.md; devopsAGENT-EPHEMERAL-EXECUTORS.md§5.5, §6.To re-check before merge: portal labels (Where it runs, Size, Settings → Ephemeral runs) follow spec §5.5 since the cloud-ui work is in progress; CLI flags and
nan ephemeral usage|settingsfollow the brief/spec since the nan-cli release is pending. The API reference (src/data/openapi.json) does not yet describe the ephemeral fields.Tests
src/tests/layouts/ephemeralRunsDocs.test.ts(spec first): nav nesting, prices, free minutes and S-minute example math, cap/concurrency defaults and reservation math, network rules, CLI/API/scope, automations + private repos, JSON example validity, no vendor names / EU claim / em-dashes, in-page and cross-page anchors resolve, EN/ES structural parity, cross-links present.npx vitest run: 88 files, 2548 tests passed (unit + render).npm run build: OK.🤖 Generated with Claude Code