Skip to content

🤖 fix: link workspace task cards#3613

Merged
ThomasK33 merged 1 commit into
mainfrom
workspace-tasks-bm6m
Jun 23, 2026
Merged

🤖 fix: link workspace task cards#3613
ThomasK33 merged 1 commit into
mainfrom
workspace-tasks-bm6m

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Summary

Workspace task tool cards now render workspace-turn tasks as workspace instead of unknown, and the workspace badge/task ID opens the created workspace when its metadata is available.

Background

Workspace-turn task IDs are handles (wst_...), not actual workspace IDs. The task tool already returns the created workspaceId, but the UI only looked up metadata by task ID, so workspace tasks appeared as unknown and were not directly navigable.

Implementation

  • Derive the task kind label from args.kind so workspace tasks render as workspace.
  • Track returned workspaceId values in task, task_await, and task_list rows.
  • Resolve workspace-turn handles to real workspace metadata via explicit workspaceId first, then direct metadata lookup, then persisted mux.taskHandleId tags.
  • Make workspace badges and task IDs open the resolved workspace.

Validation

  • bun test src/browser/features/Tools/TaskToolCall.test.tsx
  • make typecheck
  • MUX_ESLINT_CONCURRENCY=1 make lint
  • MUX_ESLINT_CONCURRENCY=1 make static-check

Risks

Low-to-medium UI risk. The change is limited to task tool rendering/navigation, but that component handles multiple task sources (subagents, workspace turns, task_await, task_list), so regressions would most likely appear as incorrect task badges or lost workspace navigation affordances.


Generated with mux • Model: openai:gpt-5.5 • Thinking: xhigh • Cost: $13.04

Show workspace-task cards as workspace instead of unknown and route their badges/task IDs to the created workspace when metadata is available.\n\n---\n\n_Generated with `mux` • Model: `openai:gpt-5.5` • Thinking: `xhigh` • Cost: `1265353MUX_COSTS_USD`_\n\n<!-- mux-attribution: model=openai:gpt-5.5 thinking=xhigh costs=13.04 -->
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 0fe22a6e35

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

@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 23, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jun 23, 2026
@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 23, 2026
@ThomasK33 ThomasK33 removed this pull request from the merge queue due to a manual request Jun 23, 2026
@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 23, 2026
Merged via the queue into main with commit 4b20a46 Jun 23, 2026
24 checks passed
@ThomasK33 ThomasK33 deleted the workspace-tasks-bm6m branch June 23, 2026 17:00
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