morca · API · views

orca.views.steps

What the step cards show (orca.ui.step_cards): each step's card, with what its attempts in the pipeline's latest runs did, and on a run's page each attempt's.

Functions

step_cards_of

def step_cards_of(mut db: State, pipeline: String, defs: List[StepDef], links: CodeLinks, recent: Bool) -> List[StepCard]

Each step's card (orca.ui.step_cards); with recent, what its attempts in the pipeline's latest STEP_RUNS runs did: how many failed, the p50 and most its succeeded ones took, and its peak memory's.

attempt_cards

def attempt_cards(mut db: State, run: Int) -> List[AttemptCard]

What each of a run's attempts adds to its step's card.

Aliases

comptime STEP_RUNS = 20

How many of a pipeline's latest runs a step's card summarizes.