Skip to content

Show code execution previews in assistant and notebook activity - #1108

Merged
koutst merged 2 commits into
mainfrom
codex/code-execution-activity-ui
Sep 15, 2026
Merged

koutst merged 2 commits into
mainfrom
codex/code-execution-activity-ui

Conversation

@koutst

@koutst koutst commented Sep 15, 2026

Copy link
Copy Markdown
Member

Assistant and notebook activity now display an expandable panel for the public code_execution fields added by ResearchHub/researchhub-backend#4119. Users can inspect code or shell commands, readable output, exit codes, output counts, and truncation notices while the backend's status label and outcome summary remain visible.

Previews render as literal text in bounded, scrollable blocks. Panels start collapsed, support keyboard interaction, and preserve expansion when results arrive. Missing or empty details keep the existing plain activity row.

Validation:

  • Type checking, ESLint, Prettier, and diff checks passed after rebasing onto current main.
  • Eight browser checks using PR-shaped fixtures covered disclosure behavior, literal HTML/Markdown, truncation, narrow layouts, shell failures, partial/legacy responses, and live updates; keyboard expansion was also verified.
  • Started the frontend with backend PR #4119 locally; frontend and database-backed API requests returned HTTP 200, and the AI worker connected successfully.

@koutst
koutst requested a review from a team as a code owner September 15, 2026 18:22
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Ready Ready Preview Sep 15, 2026 6:27pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-15T18:25:16.459225Z b42d0f6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

Copy link
Copy Markdown

@koutst
koutst merged commit 9aa53ab into main Sep 15, 2026
4 of 5 checks passed
@koutst
koutst deleted the codex/code-execution-activity-ui branch September 15, 2026 18:30
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.

1 participant