Skip to content

fix(app): link background subagents to their sessions - #47455

Merged
Brendonovich merged 2 commits into
v2from
background-session-links
Sep 9, 2026
Merged

Brendonovich merged 2 commits into
v2from
background-session-links

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Make background subagent rows in Session details real links to their child sessions.
  • Make finished, failed, and cancelled subagent timeline notices link to the same child sessions.
  • Reuse the existing session navigation so the parent tab is retained and Escape returns to it.
  • Preserve native keyboard, modified-click, and middle-click behavior while leaving shell rows and notices noninteractive.

Fixes #47265

Validation

  • App and Session UI typechecks; app E2E typecheck.
  • App unit tests: 823 passed, 1 skipped.
  • Session UI timeline unit tests: 60 passed.
  • Focused browser regressions: 21 passed with no retries, covering Session details and completed timeline links, pointer and keyboard navigation, Ctrl/Cmd-click, middle-click, narrow layouts, child sessions absent from the session-list cache, parent return, and notice truncation in desktop/mobile LTR and RTL layouts.
  • Visual comparison: all six notice layouts were pixel-identical before/after (0 changed pixels), so the change is interaction-only.
  • Production entry benchmark: 9/9 passed on each ref across three serial samples per scenario. Cold-session medians were 458.3 → 457.9 ms first-correct and 539.9 → 543.3 ms stable. These small samples are diagnostic, not a statistically established performance change.

Requested by: @Brendonovich (Brendan via Slack)

@opencode-agent
opencode-agent Bot force-pushed the background-session-links branch from 604d881 to ee2ca0c Compare September 8, 2026 10:49
@Brendonovich
Brendonovich merged commit f1ce69d into v2 Sep 9, 2026
10 checks passed
@Brendonovich
Brendonovich deleted the background-session-links branch September 9, 2026 01:39
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant