Inspect a run¶
Two surfaces for looking at a workflow run: the SimKit Web UI (read-only visual, for digging into operation trees, state transitions, resource usage, errors) and the SimKit CLI (text, for live following or scripting).
Prerequisites¶
- An existing workflow run (started with
simkit run startor by any other surface). You'll need the run id.
SimKit Web UI: the read-only visual path¶
Open simkit in your browser, navigate to the project containing the
run, find the workflow under Workflows, expand its runs subtree.
Click the run.
You'll see:
- The full operation tree (every operation in the workflow
definition, plus nested workflow operations expanded).
- Each operation's run state (SCHEDULED, RUNNING, SUCCEEDED,
FAILED, etc.).
- The state-history graph (when each transition happened).
- Resource usage per operation and per method run.
- Any errors, with operation-and-method-level drill-down.
This is the right surface for ad-hoc analysis: clicking around, comparing runs, checking why something failed.
SimKit CLI: live follow¶
For watching a run progress in real time:
Prints state transitions as they happen. Useful when you've just kicked off a run and want to know when it's done without polling the browser.
For a one-off snapshot of the current state:
(Without the track subcommand — this just reads the current
status and exits.)
Resource usage¶
Per-run resource usage report:
Returns CPU time, memory, wall-clock totals — useful for cost
analysis and verifying a method's resourceEstimation is
accurate.
Non-interactive validation of the run:
Shows whether the workflow type's nonInteractiveValidationRuleSet
was skipped, is pending or running, succeeded or failed, together
with the rule results — see
read-a-validation-result.
Operation-level inspection¶
The CLI doesn't have a "show every operation in this run" command
beyond track and the bulk run-info. For per-operation drill-down,
use the SimKit Web UI.
Find a run you don't have the id for¶
Shows the workflow's history including its runs (each with a run id). The workflow id is what's stamped on the SimKit Web UI's workflow page.
To list workflows in a project:
Cancel a stuck run¶
Cancellation is cascading — the workflow run goes to CANCELING,
then CANCELED once all in-flight operations and method runs
acknowledge. May take seconds for clean shutdown of long-running
methods.
Pause / resume¶
Useful for in-flight intervention. Breakpoints declared in the workflow definition trigger pauses automatically.
Cross-references¶
- Concepts: run lifecycle — the state machines that show up in inspection output.
- Debug a failed run — focused on the diagnostic flow, not just inspection.
- Reference: SimKit CLI — full options for
every
runsubcommand.