Repository navigation
Show program step journals and faults in the run view - #6262
Draft
schickling-assistant wants to merge 7 commits into
Draft
schickling-assistant wants to merge 7 commits into
schickling-assistant wants to merge 7 commits into
Conversation
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
This was referenced Nov 10, 2026
…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
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.
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[].programcarries 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_msand the openprogram/host/program/stalledfault; the run'sblockernames that fault when no scheduler fault does.Decisions
programsthe enrichedStore::mission_runview already carries (stacked on Show program step journals in missions show and waiting-on #6261), so it appears only on the runs a detail enriches, like histories.MissionStepProgram/MissionStepProgramEntry; Rust and Swift templates model them.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
programin the TUI/web step rows.References
docs/st3/program-engine.md §8; stacked on #6261.