Repository navigation
Stop button on worker rows; clickable thread ids in replies (#1531) - #1536
Conversation
…1531) - Team worker rows get a Stop icon button while working. It calls the same runs.stop IPC (runner.stopRun) behind the composer Stop and the thread_stop MCP tool. - Known same-project thread ids in assistant replies render as links that open the thread. Resolution happens at render time through ThreadLinkContext, so cached markdown parses stay valid. Unknown UUIDs and fenced code are left alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e7db4e12e9
ℹ️ 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".
| onStopThread={(threadId) => { | ||
| void api.runs.stop({ threadId }).catch(() => {}); | ||
| }} |
There was a problem hiding this comment.
Memoize the worker-stop handler
This inline callback gets a new identity whenever App renders, so every 700 ms stream update defeats AgentsPanel's memo boundary and re-renders the entire inspector even when its data is unchanged. The surrounding code explicitly keeps all pane props stable to avoid this stream-time regression; define this handler with useCallback and pass the stable reference instead.
Useful? React with 👍 / 👎.
Part of #1531.
runs.stopaction, the same one behind thethread_stopMCP tool, so there is no new backend path.Tests are in
test/teamView.test.tsxandtest/markdown.test.tsx.🤖 Generated with Claude Code