The console
Each environment has a web console. Open console on the environment page signs you in with your Cairnflow Cloud account. Owners, admins and members get full rights; viewers can read but not act. You can also sign in on the console’s own page with an Admin API key.
The console uses the same HTTP API you can call yourself: anything it shows, you can read with the query API or the HTTP API.
Overview
Section titled “Overview”Invocations by service and state, the ones that need attention (failed, paused), the busiest handlers, and completed and failed invocations over the last 24 hours. Hourly summaries are written about once a minute, so a new environment shows history after a short while.
Invocations
Section titled “Invocations”The list shows invocations newest first, across the whole environment. Filter by service,
handler, key, tag (k=v), idempotency key, parent invocation, creation time, roots only, or an ID
prefix.
Select several invocations, or every invocation matching the filter, to run a bulk action: cancel, purge, resume or restart. Each invocation gets exactly the single-invocation action, in pages of up to 1,000; one failure does not stop the rest, and the errors can be downloaded as CSV.
One invocation
Section titled “One invocation”The header shows the status, service, handler, key, deployment, creation and end time, tags, and the schedule that started it, if any.
Why it is in this state
Section titled “Why it is in this state”A plain-language answer to “why is this not done?”, for example:
- sleeping until a given time;
- waiting for a call to another handler, a promise, a step, or another invocation;
- waiting in the queue of a virtual object, with its position and the invocation holding the lock;
- paused after running out of attempts, with the last failure;
- failed, with the code, message and stack trace;
- the last failed attempt and when the next attempt is due.
| Tab | Shows |
|---|---|
| Journal | Every entry in order: commands and their results, paired. Open an entry to see its decoded body (cut at 64 KiB). Entries still waiting for a result are highlighted |
| Log | ctx.log lines and errors reported through turn.onError. Live while the invocation runs (including lines not yet durable), filterable by level |
| Trace | A timeline per attempt (failed attempts in red, the retry wait between them) and the spans of ctx.trace.span as a waterfall, with token totals. Handlers declared with trace: "runtime" get a span per turn and per ctx.run |
| Streams | Durable streams (ctx.stream(name, { durable: true })), live while the invocation runs. Temporary streams, such as the ui stream of a chat, are not shown |
| Tree | Calls from and to other invocations, up to the root |
| State | The state of the virtual object or workflow, and its promises |
| Artifacts | Files stored with ctx.artifact, with preview and download |
Actions
Section titled “Actions”| Action | What it does | Needs |
|---|---|---|
| Resume | Runs a paused invocation again | Admin |
| Cancel (cooperative) | Sends a cancel signal: the handler’s own cleanup runs and the invocation ends with its own failure. Needs your service to be running | Invoke |
| Cancel now | Ends the invocation as failed (code 572) without waiting for your service. Side effects of a turn already in flight still happen | Admin |
| Restart from step… | Starts a new invocation that reuses the journal before the chosen step (results of steps there are kept) and runs again from that step. Also available on each journal entry as Restart from here | Admin |
| Replay check | Runs the existing journal against a deployment without committing anything, to see whether new code would take the same path | Admin |
| Migrate… | Moves an unfinished invocation to another deployment; a replay check must match first unless you force it | Admin |
| Send signal… | Delivers a named signal (what ctx.signal(name) waits for). Sending the same name again does nothing |
Invoke |
| Purge | Deletes the journal, status and idempotency key of an ended invocation (for a workflow run, also the workflow’s state and promises). It is archived first. Cannot be undone | Admin |
Destructive actions ask you to type a confirmation. The console reports success only after the server has answered.
Services, workflows, objects
Section titled “Services, workflows, objects”- Services: every service and handler of the current deployments, with statistics.
- Workflows: one run per workflow ID; pick a run or type an ID to open it.
- Objects & state: the keys of each virtual object, with their state and the invocations each one holds.
Deployments
Section titled “Deployments”Every deployment, its transport, the services it is current for, and how many unfinished invocations are pinned to it. Deploy safely registers a new version without moving traffic, compares handlers, replay-checks unfinished invocations, moves services, drains and removes the old version. See Deployments.
Schedules
Section titled “Schedules”Create, edit, pause, resume, run now and delete server-side schedules: cron (five fields, with an IANA time zone) or every N seconds. See Schedules.
A SQL editor over the environment’s sys_* tables, with sample queries and the table list on the
side. Run with Ctrl/Cmd + Enter, switch between a table and a chart (a time column and numbers, or
a text column and a number), and Download CSV. See Query with SQL.
Per hour, for a chosen time range: invocations, durable steps, SDK turns, completed and failed,
compute units, billing units, run time, and input and output tokens per model (from spans that
carry token counts, which cairnMiddleware records). Costs are shown only when token prices are
set for the cell.
Slow runs and archive
Section titled “Slow runs and archive”- Slow runs: runs that took longer than the slow threshold, newest first, with where the time went (your code, the SDK, durable waits, engine wait, quota wait). Kept in each node’s memory only.
- Archive: purged invocations read back from the archive (final status, output and journal), by day.
Audit log
Section titled “Audit log”Who did what to the environment through its API and console: deployments, invocations, keys, sign-ins, refused requests. Filter by time range (up to 31 days), actor and action. The organization’s own audit log (members, invitations, environments, keys) is in the Cloud web app.
Not available on Cloud
Section titled “Not available on Cloud”Cell-wide pages (Cluster, Flow control, Settings) need operator access to the cell and are not available to environments.