Skip to content

feat(site/src): show watched background processes in wake-up UI - #270

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/chat-process-wakeups-3-site
Nov 13, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/chat-process-wakeups-3-site

Conversation

@ibetitsmike

Copy link
Copy Markdown
Owner

Part of #248

This adds the UI for the process wake-ups from #263 and #269.

  • The wait_for_events tool card lists the watched background processes next to the child chats and pull requests. Each row shows the command in monospace, with the process ID as its tooltip, plus (lines matching <pattern>) when the call set process_output_pattern. The card heading counts every target type, for example "Waiting for 2 background processes and a pull request".
  • The wake-ups status pill describes a process_exit event as background process <first 8 characters of the ID>: <command>, or without the command when the event has none. Before this change it showed the raw process_exit type (the P2 deferred from feat: wake a chat when a watched background process exits #263).
  • A result whose processes field has the wrong shape falls back to the generic tool card, the same as children already does. A missing field means no processes.
  • The pill can't show the output pattern because ChatWakeupEvent in the SDK doesn't carry it. No API change here.
  • Stories: WaitForEventsProcesses and WaitForEventsProcessesAndPullRequest, plus two process events in the pill's MockChatWakeupEvents fixture.

Xum opened this PR on behalf of @ibetitsmike.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum posted this on behalf of @ibetitsmike.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T09:22:08.879679Z f62e780 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: f62e780da9

ℹ️ 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".

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".

@ibetitsmike
ibetitsmike merged commit 0d8bea4 into main Nov 13, 2026
10 checks passed
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merge evidence for head f62e780da9:

  • fork-ci run 43400323036 succeeded on this head, and all check runs succeeded.

  • Codex reviewed f62e780da9 and found no major issues (comment 6849077663). No review threads are unresolved.

  • W15 ran the host checks: pnpm check, tsc and 309 targeted Vitest tests. frontend-deep-review found nothing blocking, and its one should-fix (a fixture for a pill event without a command) is fixed.

  • Fork ops ran UAT on :3100 with the PR build, and U1 to U4 passed with 26 of 26 evidence files matching their checksums:

    • the tool card lists watched processes and their output pattern;
    • the pill reads "background process : ";
    • several processes render as separate rows;
    • child-agent waits still render.

    The one console 403, on /api/v2/deployment/config, also occurs on main.

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