Repository navigation
feat(site): render workflow tool calls - #246
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
@codex review |
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
I checked these on head c9b28f9: all check runs passed (fork-ci 43243286382, including site lint:types and the AgentsPage vitest run), the branch is 0 commits behind main, 0 review threads are unresolved, and the Codex receipt on this head found no major issues. The test audit passed: all 6 negative controls turned red, then the tests passed 7/7. UAT-246 passed 5/5 on :3100 behind Declined nit: aria-controls on Show more (aria-expanded is already set). |
Chats that call
run_workfloworawait_workflownow show a workflow card instead of the generic tool fallback. This is the first of three stacked UI PRs for thefork-workflowsexperiment; the next two add a Workflows side panel and a Stop control.The card header shows the run status badge and step progress ("2 of 3 steps reported"). The body shows the run ID, the run error, a step list where each step links to its child chat (with a Reused badge for resumed steps), the result, logs, script path, script and arguments. Long text previews the first lines and expands behind Show more into a scrollable block. Tool errors (for example a compile error from
run_workflow) render as the tool error. A result that does not parse as a run falls back to the generic renderer, and unknown statuses from a newer server render as a neutral badge.The shared pieces (status badge, step list, long text, result parser) live in
components/ForkWorkflows/because the Workflows panel in the next PR reuses them. The renderer is registered only in the fork-ownedforkToolRenderers.tsxandforkToolIcons.ts, behind the experiment.