Skip to content

Show program step journals and faults in the run view - #6262

Draft
schickling-assistant wants to merge 7 commits into
schickling/2026-11-10-program-engine-visibilityfrom
schickling/2026-11-10-program-engine-run-view
Draft

schickling-assistant wants to merge 7 commits into
schickling/2026-11-10-program-engine-visibilityfrom
schickling/2026-11-10-program-engine-run-view

Conversation

@schickling-assistant

@schickling-assistant schickling-assistant commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The run view (client v0 mission detail, used by web, TUI and iOS) shows nothing of a program step's inner steps or its program fault (design §8).

Goal

run_details[].steps[].program carries the step's current attempt journal (each key's latest status, start/end, ms, typed error, child), the innermost open key, truncated, last_entry_at, stalled_after_ms and the open program/host / program/stalled fault; the run's blocker names that fault when no scheduler fault does.

Decisions

Verification

On the build host, on an integration of this branch with #6297:

  • cargo test -p fractal --test integration client_v0_contract::mission_detail_projects_a_program_steps_journal_and_its_fault: 1 passed. It checks schema conformance, typed decoding through the generated Rust client, the entries/open key/fault, and the run blocker.
  • cargo run -p fractal-client-codegen (regenerated clients committed) and -- --check: passed.
  • python3 scripts/check-sqlite-large-values: passed.
    Hosted CI at the exact head is the proof.

Complexity

About 250 changed lines.

Concerns

fractal-ui-model StepMetadata / web StepRow do not render the new field yet.

Friction & bottlenecks

Build host memory limit.

Follow-ups

Render program in the TUI/web step rows.

References

docs/st3/program-engine.md §8; stacked on #6261.

The client v0 mission detail carries run_details[].steps[].program (each key's latest
status, timing, failure and child, the innermost open key, the open program fault), and a
run's blocker names an open program/host or program/stalled fault.
…gine-visibility' into schickling/2026-11-10-program-engine-run-view
…gine-visibility' into schickling/2026-11-10-program-engine-run-view
…gine-visibility' into schickling/2026-11-10-program-engine-run-view
…gine-visibility' into schickling/2026-11-10-program-engine-run-view
…gine-visibility' into schickling/2026-11-10-program-engine-run-view

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants