Skip to content

TUI may show activity from another concurrent session in the same repo #175

@cbusillo

Description

@cbusillo

What issue are you seeing?

Suspected TUI/session isolation leak: the active Every Code CLI TUI appeared to show activity from another concurrently running session in the same launchplane repository/workspace.

This is not yet proven as a rendering-layer bug, but we have a concrete timestamped case where the user saw new TUI activity after the active session had reported completion, and subsequent verification showed that the new activity corresponded to a different Launchplane workstream/session merging PR openai#948, not the active preview-fix session.

Impact: this can make users believe the current agent/session is still acting, merging, or running workflows when the activity belongs to another session. That is especially risky around merge/deploy operations.

What steps can reproduce the bug?

Observed scenario:

  1. Run at least two Every Code CLI sessions against the same repo/workspace (/Users/cbusillo/Developer/launchplane).
  2. Session A was scoped to a VeriReel preview fix.
  3. Session B was separately working on Launchplane JSON file overlay work.
  4. Session A merged its final preview follow-up PR and reported done.
  5. The user then saw more activity in Session A's TUI and asked whether the TUI was delayed or whether there had been more activity.
  6. Session A verified the live GitHub state and found real new activity, but it belonged to Session B's workstream.

Machine-verifiable timeline from GitHub:

Commands used to verify the timeline from Session A:

gh pr view 950 --repo cbusillo/launchplane --json number,title,mergedAt,mergeCommit,url,headRefName
gh pr view 948 --repo cbusillo/launchplane --json number,title,mergedAt,mergeCommit,url,headRefName
gh run list --repo cbusillo/launchplane --branch main --json databaseId,name,status,conclusion,headSha,createdAt,updatedAt,url --limit 8
git -C /Users/cbusillo/Developer/launchplane log --oneline --decorate --max-count=8 origin/main

Relevant observed output:

PR #950 mergedAt: 2026-05-28T19:45:23Z, mergeCommit 3fb3212f...
PR #948 mergedAt: 2026-05-28T19:50:32Z, mergeCommit 0ba0970...
main runs at 2026-05-28T19:50:35Z were for headSha 0ba0970..., not PR #950's 3fb3212f...

What is the expected behavior?

A TUI session should only display activity/events belonging to that specific session unless it clearly labels cross-session or repo-global events as such.

For example, if another session merges a PR or starts GitHub Actions, Session A should either:

  • not show that activity, or
  • show it in a separate explicitly labeled cross-session/global activity area with session/worktree/agent identity.

What do you see instead?

The user saw new activity in Session A's TUI after Session A reported its scoped task complete. Verification showed there really was new repository activity, but it was from a different session/workstream (openai#948), not Session A's preview-fix work (openai#950).

We cannot yet distinguish whether the cause is:

  • event bus messages not being scoped by session id,
  • a repo/workspace-level watcher feeding all sessions,
  • delayed rendering of old actions combined with new repo events,
  • shared auto-review/GitHub status notifications landing in the wrong TUI,
  • or the TUI presenting repo-global activity without clear attribution.

Additional information

Environment:

  • code --version: code 0.6.106
  • platform: Darwin 25.5.0 arm64 arm
  • repo/workspace involved: /Users/cbusillo/Developer/launchplane
  • multiple Code sessions were open for the same Launchplane repo.

This report is intentionally phrased as suspected because we verified the GitHub-side activity and timing, but not the internal event routing source. The useful fix may be stronger session IDs on event messages, clearer attribution in the TUI, or filtering repo-global notifications out of per-session activity streams.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions